niHSDIO Write Static (U32)
Writes to channels configured for static generation. You can configure a channel for static generation using the niHSDIO Assign Static Channels VI.
instrument handle identifies your instrument session. instrument handle was obtained from the niHSDIO Init Acquisition Session VI or the niHSDIO Init Generation Session VI. | |||||||
write data is the bit-value of data to drive on channels configured for static generation. 1 corresponds to logic high level, 0 corresponds to logic low level.
The least significant bit of write data corresponds to the lowest physical channel number. For example, a write data value of 0xFF00 sets the lower 8 channels to 0, while setting the upper 8 channels to logic high level. Data values in write data corresponding to channels not configured for static generation are ignored. Static channels explicitly disabled with the niHSDIO Tristate Channels VI remain disabled, but the channel data value changes internally. Re-enabling a channel with niHSDIO Tristate Channels VI causes the channel to drive any value that you have written to it, even while the channel was disabled. |
|||||||
channel mask specifies the bit-value of channels to leave unchanged. 1 means to change the channel to whatever is reflected by write data. 0 means do not alter the channel, regardless of write data.
The least significant bit of channel mask corresponds to the lowest physical channel number. For example, a write data value of 0xFFFF and channel mask of 0x0080 means set only channel 7 to 1; all other channels remain unchanged. |
|||||||
error in describes error conditions that occur before this VI or function runs.
| |||||||
instrument handle out passes a reference to your instrument session to the next VI. instrument handle was obtained from the niHSDIO Init Acquisition Session VI or the niHSDIO Init Generation Session VI. | |||||||
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces.
|