niHSDIO Write Static PFI (U32) VI
- Updated2023-02-21
- 4 minute(s) read
Writes data to PFI channels configured for static generation. You can configure a channel for static generation using the niHSDIO Assign Static Channels VI.
![]() |
Note NI-HSDIO returns an error if an event is already routed to a PFI channel and you try to reserve that same channel for static use with this VI. |
![]() |
instrument handle identifies your instrument session. instrument handle is obtained from the niHSDIO Init Acquisition Session VI, the niHSDIO Init Generation Session VI, or the niHSDIO Init Ext Cal VI. |
||||||
![]() |
write data (0x0000) specifies the bit value of data to drive on PFI 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 PFI channel number. For example, a write data value of 0xFF00 sets PFI0 through PFI7 to logic 0 and sets PFI8 through PFI 15 to logic 1. 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 (no masking:-1) specifies the bit-value of the PFI channels to leave unchanged. 1 means to change the PFI channel to whatever is reflected by write data. 0 means do not alter the PFI channel, regardless of write data. The least significant bit of channel mask corresponds to the lowest physical PFI channel number. For example, a write data value of 0xFFFF and channel mask of 0x00FF means set only PFI0 through PFI7 to logic 1; all other PFI channels remain unchanged. |
||||||
![]() |
error in (no error) describes error conditions that occur before this node runs. This input provides standard error in functionality.
|
||||||
![]() |
instrument handle out passes a reference to your instrument session to the next VI. instrument handle is obtained from the niHSDIO Init Acquisition Session VI or the niHSDIO Init Generation Session VI. |
||||||
![]() |
error out contains error information. This output provides standard error out functionality.
|