Read VI
- Updated2023-02-21
- 2 minute(s) read
Read VI
Owning Palette: Digital Input/Output 1 Sample VIs
Requires: myRIO Toolkit, roboRIO Toolkit, or NI ELVIS RIO Control Toolkit
Reads the logic levels of one or more digital I/O channels.
![]() |
DIO Ref In specifies the reference to the digital I/O channels from which to read logic levels. Use the Open VI to open a reference to the digital I/O channels. Do not modify the DIO Ref In values. |
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. |
![]() |
DIO Ref Out returns the reference to the digital I/O channels from which this VI reads logic levels. |
![]() |
Values returns the logic levels that this VI reads from the digital I/O channels. Values returns TRUE if the logic level is a high voltage and returns FALSE if the logic level is a low voltage. The direction of a channel changes to input before this VI reads the logic level. The order of the elements in Values corresponds to the order in which the Open VI opens the digital I/O channels. |
![]() |
error out contains error information. This output provides standard error out functionality. |