Write Static (U32)
- Updated2023-02-17
- 3 minute(s) read
Write Static (U32)
Writes to channels configured for static generation.
You can configure a channel for static generation using the Assign Static Channelsnode.
Inputs/Outputs

session in
Instrument session obtained from the Initialize Acquisition Sessionnode, the Initialize Generation Sessionnode, or the Initialize External Calibrationnode.

error in
Error conditions that occur before this node runs.
The node responds to this input according to standard error behavior.
Default value: No error

write data
The bit value of data you want 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 a logic low level and sets channels 8 to 15 to a logic high level.
Data values in write data corresponding to channels not configured for static generation are ignored.
Default value: 0
Disabling static channels with niHSDIO Tristate Channels
Static channels explicitly disabled with the niHSDIO Tristate Channelsnode remain disabled, but the channel data value changes internally. Re-enabling a channel with niHSDIO Tristate Channelsnode causes the channel to drive any value that you have written to it, even while the channel was disabled.

channel mask
The bit-value of channels to leave unchanged.
| 0 | Do not alter the channel, regardless of write data. |
| 1 | Change the channel to whatever is reflected by 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 0x00FF means set only channels 0-7 to 1; all other channels remain unchanged.

session out
Handle that identifies the session in all subsequent node calls.
The session out parameter is obtained from the Initialize Acquisition Sessionnode or the Initialize Generation Sessionnode.

error out
Error information.
The node produces this output according to standard error behavior.