LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Having strange action with case structure on a timed loop.

Solved!
Go to solution
If you click on the "options" dropdown, you can revoke the solution from there.
0 Kudos
Message 11 of 12
(537 Views)

ASAT wrote:

As long as the subVI completes before the programmed interval time, everything stays synchronized.



I just thought of something that might help you with this.  Instead of calling the subVIs within the same loop, you can use a parallel loop that launches your subVIs.  Your timer loop (the one we just worked on) can tell the other loop to launch your subVI in parallel.  It probably sounds intimidating, but it's really not that bad once you get the hang of it.  If you're feeling ambitious, you might want to have a look at the queued state machine architecture.  It's the bread and butter of many, many complex LabVIEW applications and it would be well worth your while looking into, in my opinion. (Believe me, there are plenty of opinions to go around on this subject)

 

Here's a really, really, really detailed tutorial on queued state machines

 

 

Good luck!

Message 12 of 12
(533 Views)