NIDAQ Digital Output Channel¶
Description¶
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.
Signature¶
iochannel/nidaq_digital_output
Required Parameters¶
Optional Parameters¶
word¶
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.
word_lines¶
Examples: | 1,2,3 , 4:7 , 1,4:6,7 |
---|
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.