- BitDirRead: IOType=12 [U6 Datasheet] | LabJack
« Close

Datasheets and User Guides

App Notes

Software & Driver - BitDirRead: IOType=12 [U6 Datasheet]

Table BitDirRead Command Response

BitDirRead, 2 Command Bytes: 
0 IOType = 12
1 Bits 0-4: IO Number
1 Response Byte: 
0 Bit 0: Direction

This IOType reads the direction 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.  This is the digital direction only, and does not provide any information as to whether the line is configured as digital or analog.

  • IO Number: 0-7=FIO, 8-15=EIO, or 16-19=CIO.
  • Direction: 1=Output, 0=Input.