nidaqmx-python icon indicating copy to clipboard operation
nidaqmx-python copied to clipboard

A Python API for interacting with NI-DAQmx

Results 69 nidaqmx-python issues
Sort by recently updated
recently updated
newest added

If you use `stream_readers` to read into a preallocated NumPy array with `number_of_samples_per_channel=READ_ALL_AVAILABLE`, the stream reader validates the NumPy array shape against the available samples per channel, which is not...

![Shunt Cal and Offset Nulling Cal in LV Example](https://user-images.githubusercontent.com/22326359/188170224-9c5471d3-2e50-4371-b8ff-f251c32be055.png) Requesting support for the equivalent to the above portion of the LabVIEW shipping example **_Bridge - Continuous Input.vi_** be exposed in...

enhancement

Python 3 supports optional type annotations using the [typing](https://docs.python.org/3/library/typing.html) module. Benefits of specifying type annotations: - Clients can use external tools like [mypy](https://www.mypy-lang.org/) to perform static type-checking. - Editors such...

enhancement

This is an improvement suggestion. The `read_many_sample` methods of `stream_reader` classes have odd requirements for the data array. The array shape must be `(n_channels, n_samples)` and must be `C_CONTIGUOUS`. In...

enhancement

Hi! Running this code, I expect to write the signal to line 2, but instead I get a strange error message about mismatching number of channels (even though there is...

enhancement

DAQmx's C, LV, and C# APIs all return errors in a format specific to the language being used. Python should do the same to users know how to update their...

enhancement
api

We should call UTF-8 entry points which are available in DAQmx as of DAQmx 17.1.

enhancement
api

`bytes` strings seem to be the method focused on for parsing binary data in python. The `struct` and `array` modules help dissect `bytes` into smaller bits of useful information. I...

enhancement
api

Right now, there isn't a way to get timing information with reads. Other parts of the "waveform" part of the API - Waveform Writes - Setting timing according to dt...

enhancement
api

In discussing another NI API, the idea of indexing calls besides configuration came up. I then was considering where it'd even make sense within DAQmx. Reading is one case.

enhancement