Details on CORE_TIMER, SYSTEM_TIMER_20HZ | LabJack
 

Details on CORE_TIMER, SYSTEM_TIMER_20HZ

4 posts / 0 new
Last post
JPA
jefferyanderson's picture
Details on CORE_TIMER, SYSTEM_TIMER_20HZ

I have a couple of questions on these two clock-related parameters that I can't find the details on.

1. When I add CORE_TIMER to my stream and plot it, I get a sawtooth pattern and a quick check seems to indicate that I'm getting back a python list of 16-bit integers (which I think is the issue...) - how do I get the 32-bit representation?

2. What does SYSTEM_TIMER_20HZ represent? What are the units of time, and what is it since?

 

Thanks in advance.

 

LabJack Support
labjack support's picture
1. Steam returns 16-bit data.

1. Steam returns 16-bit data. When reading a channel that will produce 32-bit data the upper 16 bits is stored in the STREAM_DATA_CAPTURE_16. By adding that register to your stream channel list you can get the upper 16 bits. 

Check out the "Streamable Registers" section here for more information: https://labjack.com/support/datasheets/t-series/communication/stream-mod...

LabJack Support
labjack support's picture
2.  SYSTEM_TIMER_20HZ  is a

2.  SYSTEM_TIMER_20HZ  is a free running timer that ticks at 20 Hz. Each tick represent 50 ms. The value represents number of 50 ms ticks since the last restart.

JPA
jefferyanderson's picture
Thanks - excellent help, as

Thanks - excellent help, as always. Much appreciated.