« Close

Datasheets and User Guides

App Notes

Software & Driver

 

5.2.5.8 - BitDirWrite: IOType=13

Table 5.2.5.8-1. BitDirWrite Command Response

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

This IOType writes the direction of a single bit of digital I/O.

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

u3 - bitdirwrite code example

LabJackPython example session

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