Quantcast
Channel: Counter/Timer topics
Viewing all articles
Browse latest Browse all 1271

thread

$
0
0

Hi All,

 

I would like to know how will i be able to tackle a seemingly simple issue.
I would want a timer to start immediately, when i type something from my keyboard(or a scanner). All the characters that i type within 1second should be stored, say to a control. And then after 1second the VI should stop its execution.

I think the perfect workaround could be to run the timer in a separate thread, if somethings get typed and using the 'Time has elapsed' property of Elapsed time  to stop the execution of VI. But i dont know how to work with thread. Please help !

Note: I get the keypresses using Acquire Input Data.vi


Viewing all articles
Browse latest Browse all 1271

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>