- Counter#: IOType=54,55 [U3 Datasheet] | LabJack
« Close

Datasheets and User Guides

App Notes

Software & Driver

Tuesday, March 31st, 2020
Support: LabJack engineers available through email and chat.
Shipping: We are processing and shipping all orders.
Stock: 55/56 products in stock. More details.
Supply Chain: Some disruptions. More details. - Counter#: IOType=54,55 [U3 Datasheet]

Table Counter Command Response

Counter#, 2 Command Bytes: 
0 IOType = 54, 55
1 Bit 0: Reset
4 Response Bytes: 
0 Counter LSB
1 Counter
2 Counter
3 Counter MSB

This IOType reads a hardware counter, and optionally can do a reset.

  • Reset: Setting this bit resets the counter to 0 after reading.
  • Counter: Returns the current count from the counter if enabled. This is the value before reset (if reset was done).

U3 - counter code examples

LabJackPython example session

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