nidaqmx-python
nidaqmx-python copied to clipboard
A Python API for interacting with NI-DAQmx
The README.rst and trove classifiers claim support for PyPy, but there is no automated test coverage of this configuration. In https://github.com/ni/nidaqmx-python/pull/625 I tried updating the GitHub workflows to run unit...
[InStream.get_channels_buffer_size](https://github.com/ni/nidaqmx-python/blob/master/generated/nidaqmx/task/_in_stream.py#L979) and [OutStream.get_channels_buffer_size](https://github.com/ni/nidaqmx-python/blob/master/generated/nidaqmx/task/_out_stream.py#L574) read the `Task.channel_names` property to calculate the maximum buffer size for a fault condition status property such as `overcurrent_chans`. The problem is that these functions are calculating...
InStream.get_channels_buffer_size and OutStream.get_channels_buffer_size were intended to be internal helper methods, but they don't have a leading underscore so this makes them undocumented public APIs. We should rename them to add...
I am using an NI cDAQ-9184 with the NI 9411 module to read a quadrature encoder, but I can't seem to figure out how to get position readings from it....
- [x] This contribution adheres to [CONTRIBUTING.md](https://github.com/ni/nidaqmx-python/blob/master/CONTRIBUTING.md). ~~I've added tests applicable for this pull request~~ ### What does this Pull Request accomplish? Adds an example for Time-Based Synchronization ### Why...
When saving a custom scale, I receive a DaqError if the scale already exists in NI MAX even when using overwrite_existing_scale=True. The example below will run fine the first time...
When installing with Conda and using NI-DAQmx 2024 Q4, a number of dependancies are not installed. Minimum this causes issues when setting up devices. Missing at least, hightime, click, requests...
Hi, I am building an application including real-time *streaming* of data from the DAQ. I would need some information on the execution models of callbacks such as those provided to...
The [NI Driver ADE Support and Compatibility Policy](https://dev.azure.com/ni/DevCentral/_git/Policy?path=/product_and_technology/Driver-ADE-Support.md&_a=preview) (internal link, sorry), states that we support: > Major versions [supported on python.org](https://www.python.org/downloads/) that are not [EOL](https://devguide.python.org/devcycle/#end-of-life-branches). Per [Status of Python versions](https://devguide.python.org/versions/#versions)...
Hi Senior I'm experiencing 50405 occurred when reading. The task only created once when app launch. and then reading io status when ever I want. It runs many times perfectly....