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

Datasheets and User Guides

App Notes

Software & Driver

 
Friday April 3rd, 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.

5.2.5.7 - BitStateRead: IOType=10 [U6 Datasheet]

Table 5.2.5.7-1. 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. Note that CIO0-2 & MIO0-2 are shared, so to write/read MIO0-2 use channel numbers 16-18.  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.