LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Simple counter in seconds

Solved!
Go to solution

Hi,

 

In my code I have a while loop that may or may not take more than x secs to run. Once the while loop has been running for x secs I would to provide a series of commands. Therefore, I need some sort of counter. Will Tick Count help me with this? If so, how? If not, how can I create a counter for this simple task? Thank you.

 

Alfredo

Alfredo
0 Kudos
Message 1 of 2
(5,613 Views)
Solution
Accepted by topic author AlfredoT
Yes, Tick Count can be used for this, as well as other mechanisms. For example, you could use the Get Date/Time in Seconds function. Here's asome simple examples:
0 Kudos
Message 2 of 2
(5,606 Views)