From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

FGV timer usage

Solved!
Go to solution

Thanks..

 

the while loop for a state machine will work, right?? I do not need to add another loop, right?

 

also where should I put the reset FGV? outside the state machine? or the previous case within the same state machine?

 

 

0 Kudos
Message 11 of 14
(460 Views)

@idjuven1 wrote:

also where should I put the reset FGV? outside the state machine? or the previous case within the same state machine?


You do it in your state machine wherever you need the timer to be reset.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 12 of 14
(457 Views)

Thanks but if you put the "read time" in the same case where you "reset" the timer, the "read time" FGV does not respond..

0 Kudos
Message 13 of 14
(454 Views)

Right. You want to reset once and then continually read. fF you reset every time you read, you will always be measuring (TimeNow-TimeNow) as your elapsed time (=0).

Regards,
0 Kudos
Message 14 of 14
(445 Views)