« Close

Datasheets and User Guides

App Notes

Software & Driver - BitStateRead: IOType=10 [U3 Datasheet]

Table BitStateRead Command Response

BitStateRead, 2 Command Bytes: 
0 IOType = 10
1 Bits 0-4: IONumber
1 Response Byte: 
0 Bit 0: State

This IOType reads the state of a single bit of digital I/O. Only lines configured as digital (not analog) return valid readings.

  • IO Number: 0-7=FIO, 8-15=EIO, or 16-19=CIO.
  • State: 1=High, 0=Low.

LabJackPython example session

Automatically extracted from u3.py. Debugging turned on to show the bytes sent and received.