Read Static PFI (U32)

Immediately reads all PFI channels configured for static acquisition. The least significant bit of read data corresponds to the lowest physical PFI channel number.

You can configure a channel for static acquisition using the Assign Static Channelsnode. Channels not configured for static acquisition return a zero. Channels that do not exist on the hardware also return a zero.

Values obtained from static read operations are affected by the data interpretation parameter of the Configure Data Interpretationnode.

Inputs/Outputs

datatype_icon

session in

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

datatype_icon

error in

Error conditions that occur before this node runs.

The node responds to this input according to standard error behavior.

Standard Error Behavior

Default value: No error

datatype_icon

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.

datatype_icon

read data

The returned bit value of data read from PFI channels configured for static acquisition.

The least significant bit of read data corresponds to the lowest physical channel number. For example, bit 0 corresponds to PFI0, and bit 31 corresponds to PFI31, if that channel exists on the hardware.

If read data returns a value of 0x000F, channels PFI0 to PFI3 are logic one and the remaining channels are logic zero or are not configured for static acquisition.

If read data returns a value of 0xFFF0, channels PFI4 to PFI15 are logic one and the remaining channels are logic zero or are not configured for static acquisition.

datatype_icon

error out

Error information.

The node produces this output according to standard error behavior.

Standard Error Behavior