« Close

Datasheets and User Guides

App Notes

Software & Driver

 

5.2.5.15 - Timer#: IOType=42,44

Table 5.2.5.15-1. Timer Command Response

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).

U3 - timer code examples

LabJackPython example session

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