NIDAQDriver#
- class NIDAQDriver(device_id: str)[source]#
Bases:
DAQDriverBaseNI-DAQmx DAQ driver.
Attributes
Frozen snapshot of configured AI channels, keyed by alias. |
|
Frozen snapshot of configured AO channels, keyed by alias. |
|
Frozen snapshot of all configured AI/AO/DI/DO channels (excludes relays). |
|
Frozen snapshot of configured DI channels, keyed by alias. |
|
Frozen snapshot of configured DO channels, keyed by alias. |
|
Frozen snapshot of configured relay channels, keyed by alias. |
|
Methods
Close every DAQmx task this driver owns. |
|
Close the relay (connect the circuit). |
|
Deprecated: use |
|
Configure an analog current input channel on the NI device. |
|
Configure hardware timing for the specified channels. |
|
Configure a thermocouple input channel on the NI device; DAQmx reads |
|
Configure an analog voltage input channel on the NI device. |
|
Deprecated: use |
|
Configure an analog current output channel on the NI device. |
|
Configure an analog voltage output channel on the NI device. |
|
Parse |
|
Parse |
|
Parse |
|
Parse |
|
Build a |
|
Block until |
|
Actual hardware sample rate achieved after |
|
NI-DAQmx has no explicit connect — verifies the device is present in |
|
Open the relay (disconnect the circuit). |
|
Read from analog input channels. |
|
Sample a single DI line. |
|
Sample a DI port as one N-bit integer; bit |
|
Start the DAQ device for data acquisition. |
|
Stop the DAQ device. |
|
Write |
|
Write to digital output channels. |
|
Drive a DO port as one N-bit integer; bit |