High-speed Counter in Stream Mode | LabJack
 

High-speed Counter in Stream Mode

5 posts / 0 new
Last post
Buwski
Buwski's picture
High-speed Counter in Stream Mode

Hi!

I'm trying to use T7 as an High Speed counter, in stream mode, in order to capture the number of rising edges for a frequency signal (50000-100000 Hz). I used the CIO2(DIO18) but the results are not correct: the read from DIO18_EF_READ_A is always 0 while for STREAM_DATA_CAPTURE_16 is always a constant value 49032.0. It doesn't matter the input (it's a square wave) because the result remains the same. I tried to use also to use the "write & read" mode, instead of stream mode, and it works(i get an increasing count as expected) in this way but i need an higher number of sample so i need stream mode.

Is the configuration correct? Did i not consider any possible factor?

File Attachment: 
LabJack Support
labjack support's picture
What firmware version does

What firmware version does your T7 have?

Buwski
Buwski's picture
The firmware version is 1

The firmware version is 1.0188

LabJack Support
labjack support's picture
I just ran a quick test and

I just ran a quick test and the counter seemed to work. Try updating to firmware 1.0199.

Buwski
Buwski's picture
Yes, it was an issue related

Yes, it was an issue related to firmware version, in fact after passing to 1.0199 version there is the correct functioning.