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

When `DAQmxReadAnalogF64` with `DAQmx_Val_GroupByChannel` returns fewer samples than requested, it squashes the valid samples together at the beginning of the buffer. The way that `nidaqmx.Task.read` handles short reads doesn't take...

For normal AI channels, leaving samples_to_read unset reduces the dimensions of the resulting list: - Single channel task: - task.read() -> scalar - task.read(1) -> 1D list by sample -...

In the DAQmx LV and C APIs, the raw read/write functions support all channel types including DIO and counters. However, the nidaqmx-python raw read/write methods (`task.in_stream.read` and `task.out_stream.write`) query AI/AO-specific...

Properties on `DI/DOChannel`s with multiple lines and `Grouping.CHAN_FOR_ALL_LINES` cannot be accessed, because `channel.name` contains the wrong name. On an (_emulated_ and real) PCIe-6612 the following code snippet ```python with nidaqmx.Task()...

If the input buffer size is assigned a value greater than the size of int32, then the value is truncated and assigned to the buffer size. I tried to assign...

Many of this package's docstrings incorrectly conflate `Optional[T]` with default arguments. `typing.Optional[T]` means "either a `T` or a `None`", which is orthogonal to whether the parameter has a default argument...

_Note: this is a **VERY** uncommon use-case. We can probably ignore this for a bit, and nobody would notice. We didn't for a long time!_ DAQmx supports having multiple Counter...

The current signature: ```python def add_ai_rosette_strain_gage_chan( self, physical_channel, rosette_type, gage_orientation, rosette_meas_types, name_to_assign_to_channel="", min_val=-0.001, max_val=0.001, strain_config=StrainGageBridgeType.QUARTER_BRIDGE_I, voltage_excit_source=ExcitationSource.INTERNAL, voltage_excit_val=2.5, gage_factor=2.0, nominal_gage_resistance=350.0, poisson_ratio=0.3, lead_wire_resistance=0.0): ``` The docstring says: ```python rosette_meas_types (List[int]): Specifies information...

It would be nice if the docs for methods/properties that use `datetime`, `hightime`, and NumPy types had hyperlinks. We can enable this with the [intersphinx](https://www.sphinx-doc.org/en/master/usage/extensions/intersphinx.html) plugin. See https://github.com/ni/measurementlink-python/pull/430 for an...

enhancement

- [x] This contribution adheres to [CONTRIBUTING.md](https://github.com/ni/nidaqmx-python/blob/master/CONTRIBUTING.md). Attempt to address the issue brought up in https://github.com/ni/nidaqmx-python/issues/143 Made a wrapper in task.py that takes in the callback_function that doesn't have task_handle...