LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Probably a bad way to implement a timer...

Solved!
Go to solution
Solution
Accepted by topic author jfalesi

A simple flat polling code is probably all you need to go from state to state as needed. Don't over-complicate things.

 

(You could use an event structure with programmatic timeout, but it's more code. Not shown)

Message 11 of 13
(404 Views)

@altenbach wrote:

A simple flat polling code is probably all you need to go from state to state as needed. Don't over-complicate things.

 

(You could use an event structure with programmatic timeout, but it's more code. Not shown)


I am going to keep your code running all day as a reminder of how dumb I am... A continuous blow to the ego Smiley LOL

0 Kudos
Message 12 of 13
(395 Views)

Just slightly related, but if you deal with timing, you might find this approach interesting (note: the VIPM has an older version for some reason!):

https://forums.ni.com/t5/Community-Documents/NEW-Timer-Session/ta-p/3529186

0 Kudos
Message 13 of 13
(380 Views)