nimi-python
nimi-python copied to clipboard
Python bindings for NI Modular Instrument drivers.
`GetLastCalDateAndTime` in nidmm and `GetLastExtCalLastDateAndTime` and `GetLastSelfCalLastDateAndTime` in nidcpower have their "out" parameter labeled "month" when they, in fact, return a hightime.datetime object representing the date and time to a...
NI-SCOPE runtime support a function `niScope_CalFetchCount`. No other driver runtimes appear to have this feature. The function is not accessible via the `niscope` Python module.
### Description of issue Running the following code on CentOS 7.6 results in an unexpected traceback: ``` import niswitch import nidmm with nidmm.Session("PXI1Slot2", reset_device=True, options={ 'simulate': True, 'driver_setup': { 'Model':...
Following the example at https://nimi-python.readthedocs.io/en/master/nidmm.html#installation I receive the following stack trace: ``` Traceback (most recent call last): File "nidmm-example.py", line 3, in session.configureMeasurementDigits(nidmm.Function.DC_VOLTS, 10, 5.5) AttributeError: 'Session' object has no...
(Copied from #1473) Having the tests be in the same file as the source code is not something I'd expect when installing a Python module. - It pollutes the API...
- [x] This contribution adheres to [CONTRIBUTING.md](https://github.com/ni/nimi-python/blob/master/CONTRIBUTING.md). ~- [ ] I've updated [CHANGELOG.md](https://github.com/ni/nimi-python/blob/master/CHANGELOG.md) if applicable.~ ~- [ ] I've added tests applicable for this pull request~ ### What does this...
Several instruments allow the user to store "misc/user defined info" on the hardware during calibration. There are functions for reading this back: * niDCPower_GetCalUserDefinedInfo * niDMM_GetCalUserDefinedInfo * niFgen_GetCalUserDefinedInfo * niScope_CalFetchMiscInfo...
### Description of issue `nidmm.Session.get_cal_date_and_time` and `get_last_cal_temp` are inconsistent with the rest of `nimi-python`. Instead of one method that takes in an enum, we should have two methods for each:...
### Description of issue We are getting inconsistent result reported by codecov into the PRs. For example, #1251 shows a coverage _decrease_ of 1.44% even though the only thing this...
- [x] This contribution adheres to [CONTRIBUTING.md](https://github.com/ni/nimi-python/blob/master/CONTRIBUTING.md). ~- [ ] I've updated [CHANGELOG.md](https://github.com/ni/nimi-python/blob/master/CHANGELOG.md) if applicable.~ ~- [ ] I've added tests applicable for this pull request~ ### What does this...