- BitStateRead: IOType=10 [U3 Datasheet] | LabJack
« Close

Datasheets and User Guides

App Notes

Software & Driver

Monday April 6th, 2020
Support: LabJack engineers available through email and chat.
Shipping: We are processing and shipping all orders.
Stock: 55/56 products in stock. More details.
Supply Chain: Some disruptions. More details. - 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. The direction setting of the IO will not be changed. When the digital IO is set to output the actual state of the line is read. 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.