nimi-python
nimi-python copied to clipboard
Python bindings for NI Modular Instrument drivers.
### Description of issue Currently, the generator generates all the Attribute classes in `_attributes.py.mako` for all drivers even if some of them are not used. We should make the generator...
### Description of issue A user can use `get_channel_names()` as follows: my_session.channels[[0,1,2]].get_channel_names("0-2"). This is equivalent to no sense. It's equivalent in functionality to `my_session.get_channel_names("0-2")` but the `channels[]` part is ignored....
### Description of issue Currently, calling `session.channels["2"].get_channel_name()` or `session.channels["2"].get_channel_names()` would result in `AttributeError: '_SessionBase' object has no attribute 'get_channel_name'`. Ideally, we could improve on it and raise a custom exception...
There is an existing bug with the codegen logic where return parameter which is marked as unused in Python API (i.e. by specifying 'use_in_python_api': False in python/functions/functions.hapigen) still gets codegen-ed...
### Description of issue From developer's point of view, it will be great that on the documentation for an enumerated attribute such as (nidcpower) auto_zero should have link to its...
### Description of issue The example will always time out because the delay is not multiplied by the number of steps. ``` timeout = hightime.timedelta(seconds=(delay_in_seconds + 1.0)) ``` should be:...
### Description of issue The description we use in PyPI is a copy of the `nimi-python` repository. So when a customer searches for "NI-DCPower Python" and land there (the right...
It would be helpful to have support for the NI-HSDIO instruments in Python
We have better coverage (in percentage) than what triggers our build failures. We should bump it to better match the state of master so that small decrements don't go unnoticed.
Once CAR 675174 is fixed, we need to remove the workaround added in #582