You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The digital line read/write methods in DigitalSingleChannelReader, DigitalMultiChannelReader, DigitalSingleChannelWriter, and DigitalMultiChannelWriter only support single-sample reads/writes, not multi-sample reads/writes.
Note: The underlying C API functions, DAQmxReadDigitalLines and DAQmxWriteDigitalLines, support multi-channel, multi-sample, multi-line reads and writes, where the data is basically a 3D array of (channels, samples, lines) or (samples, channels, lines) depending on fill mode.
Workaround: use the simplified task.read() and task.write() methods.
When this is fixed, we should update the internal test_cached_samples.py test.
The text was updated successfully, but these errors were encountered:
The digital line read/write methods in
DigitalSingleChannelReader
,DigitalMultiChannelReader
,DigitalSingleChannelWriter
, andDigitalMultiChannelWriter
only support single-sample reads/writes, not multi-sample reads/writes.Note: The underlying C API functions,
DAQmxReadDigitalLines
andDAQmxWriteDigitalLines
, support multi-channel, multi-sample, multi-line reads and writes, where the data is basically a 3D array of (channels, samples, lines) or (samples, channels, lines) depending on fill mode.Workaround: use the simplified
task.read()
andtask.write()
methods.When this is fixed, we should update the internal
test_cached_samples.py
test.The text was updated successfully, but these errors were encountered: