« Close

Datasheets and User Guides

App Notes

Software & Driver

 

5.2.5.6 - BitStateWrite: IOType=11

Table 5.2.5.6-1.

BitStateWrite, 2 Command Bytes: 
0 IOType = 11
1 Bits 0-4: IO Number
  Bit 7: State
0 Response Bytes: 

This IOType writes the state of a single bit of digital I/O. The direction of the specified line is forced to output.

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

u3 - bitstatewrite code example

LabJackPython example session

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