5.2.5.15 - Timer#: IOType=42,44 [U3 Datasheet] | LabJack
 
« Close

Datasheets and User Guides

App Notes

Software & Driver

 
Thursday April 9th, 2020
Support: LabJack engineers available through email and chat.
Shipping: We are processing and shipping all orders.
Stock: 54/56 products in stock. More details.
Supply Chain: Some disruptions. More details.

5.2.5.15 - Timer#: IOType=42,44 [U3 Datasheet]

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.