NIDAQ Digital Output Channel¶
Available on macOS
Digital output channel on a NIDAQ Device.
Supports up to 32 lines on a single port. Each line has an associated parameter (e.g. line0) that specifies the variable from which to read the state of the line (0 or 1). Assigning a value to the variable causes the line’s state to be changed immediately.
Also supports multi-bit word output via the word and word_lines parameters.
Digital port number (
0 for P0,
1 for P1, etc.)
Number of lines in the port. Typical values are 4, 8, 16, and 32.
Variable from which to read multi-bit output words. Assigning a value to the variable causes the state of the lines specified in word_lines to be changed immediately.
Lines used to output the individual bits of multi-bit words. The first line receives the least significant bit, the last line the most significant.
Lines used for word output cannot also be controlled independently. Attempting to assign a value to the parameter associated with a line number included here will generate a warning.
Allowed at top level: