I have a Windows application where I'd like to record the time that a particular FIOx input went from a '1' to a '0'.
What I'd like to do is periodically wake up a thread after a relatively long time sleeping, and then find out not only *IF* Labjack has seen a high-to-low transition on a particular input, but HOW LONG it has been since the transition into its current low state.
Yes, I could just poll the FIOx input like crazy, but that won't work. I'd instead like to know if there is a way for Labjack to do this. Is seems there are many things that autonomously report on the duration between edges, but I don't see a HW gated timer function (active low) where I can latch and read the current value of the timer to reckon when the transition occurred.
Is there any trick for doing something like this??
Thanks!

Use timer to measure current state elapsed time?
Started by
chuckb
, Feb 13 2013 02:10 PM
1 reply to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users