User`s guide
4.5.6 DIOReadBit
Returns the bit state of digital input from the specified digital I/O port. The port is specified by port
number which ranges from 0 to the maximum number of ports provided by the device. For example,
PCL-722 has up to 18 ports digital output. The port number of the board is from 0 to 17.
Input:
Data type Parameter Description
DevHandle The handler id of the device specified by DevNum as
assigned by the LabVIEW program.
Port The port number of specified device
BitPos The specified bit position in the port.
error in A cluster containing error information, such as the
status, code, and source elements that is passed from
a previous linked VI.
Output:
Data type Parameter Description
DevHandle The handler id of the device specified by DevNum as
assigned by the LabVIEW program.
State Data value read from the specified bit position.
error out A cluster containing error information. If error in
indicated an error, the status, code, and source
elements of error out have the same values as the
corresponding elements of error in