nimi-python
nimi-python copied to clipboard
Python bindings for NI Modular Instrument drivers.
Whenever there is a method/property that supports repeated capabilities we add the following text to the documentation: >This property can use repeated capabilities. If set or get directly on the...
### Description of issue Add system test to ensure driver runtime version tested against, matches the version listed in documentation. _Driver Version Tested Against_ is listed in [README](https://github.com/ni/nimi-python/blob/master/README.rst) and on...
### Description of issue `driver_version` is queried in `print_diagnostic_information` by looking at the value of `HKLM\SOFTWARE\National Instruments\\CurrentVersion` regkey. This regkey is not part of runtime installer, but rather part of...
### Description of issue We need the ability to mark functions as "deprecated" in metadata so that the codegenerator does the appropriate thing: * DeprecationWarning * remove from ReadTheDocs or...
### Description of issue Tests in question: https://github.com/ni/nimi-python/blob/065267a827bb0c8256a5122d33be28f8987a0265/src/niswitch/system_tests/test_system_niswitch.py#L64 https://github.com/ni/nimi-python/blob/065267a827bb0c8256a5122d33be28f8987a0265/src/niswitch/system_tests/test_system_niswitch.py#L110 The error log: ``` =================================== ERRORS ==================================== _____________ ERROR at setup of test_continuous_software_scanning _____________ @pytest.fixture(scope='function') def session_2532(): with daqmx_sim_db_lock: > simulated_session...
The code generator currently does not support generating a `private` method that is also a `python-only` method. When a method's `'codegen_method'` is set to `'python-only'`, it is automatically assumed to...
### Description of issue Due to internal bug# 227842, PXIe-5433 cannot be used in tests for `create_advanced_arb_sequence` in nifgen; we fall back to using persistent simulation session of PXIe-5421, which...
### Description of issue nidcpower unit test `test_error_message()` fails if NI IO Trace is open. ### System report `python -c "import nidcpower; nidcpower.print_diagnostic_information()"` output OS: Name: Windows Version: 10.0.17763 Bits:...
### Description of issue The index list documentation for the "indices" parameter (e.g. in get_channel_names) in both nidigital and nidcpower is generic. It [should be updated](https://github.com/ni/nimi-python/pull/1578#discussion_r619299965) so that it's more...
### Description of issue nifgen and niswitch Python bindings contain `get_channel_name(index)` method whose input is a single 1-based channel index. Being 1-based contradicts with the `GetChannelNameFromString()`, which is 0-based, present...