input, Direction=d0. For all 20 standard digital I/O as output, Direction=d1048575. To configure FIO0-FIO2 as output, EIO0-
EIO2 as output, CIO0 as output, and all other I/O as input (b000000010000011100000111), Direction=d67335.
LabJackPython example session
Automatically extracted from u3.py. Debugging turned on to show the bytes sent and received.
5.2.5.13 - DAC# (8-bit): IOType=34,35
DAC# (8-bit), 2 Command Bytes:
0
IOType = 34, 35
1
Value
0 Response Bytes:
This IOType controls a single analog output.
Value
: 0=Minimum, 255=Maximum.
LabJackPython example session
Automatically extracted from u3.py. Debugging turned on to show the bytes sent and received.
5.2.5.14 - DAC# (16-bit): IOType=38,39
DAC# (16-bit), 3 Command Bytes:
0
IOType = 38, 39
1
Value LSB
2
Value MSB
0 Response Bytes:
This IOType controls a single analog output.
Value
: 0=Minimum, 65535=Maximum.
LabJackPython example session
Automatically extracted from u3.py. Debugging turned on to show the bytes sent and received.
5.2.5.15 - Timer#: IOType=42,44
Timer#, 4 Command Bytes:
0
IOType = 42, 44
1
Bit 0: UpdateReset
2
Value LSB
3
Value MSB
4 Response Bytes:
0
Timer LSB
1
Timer
2
Timer
3
Timer MSB
This IOType provides the ability to update/reset a given timer, and read the timer value.
Value
: These values are only updated if the UpdateReset bit is 1. The meaning of this parameter varies with the timer mode.
Timer
: Returns the value from the timer module. This is the value before reset (if reset was done).
LabJackPython example session
Automatically extracted from u3.py. Debugging turned on to show the bytes sent and received.
5.2.5.16 - Timer#Config: IOType=43,45
Timer#Config, 4 Command Bytes:
0
IOType = 43, 45
1
TimerMode
2
Value LSB
3
Value MSB
0 Response Bytes:
This IOType configures a particular timer.
TimerMode
: See Section 2.9 for more information about the available modes.
Value
: The meaning of this parameter varies with the timer mode.
LabJackPython example session
Automatically extracted from u3.py. Debugging turned on to show the bytes sent and received.
50