Unable to Run Loops Simultaneously in a Certain Sequence in LabVIEW

Updated Jul 10, 2018

Reported In


  • LabVIEW

Issue Details

I have several loops that I want to run simultaneously, but in a determinate sequence (so for instance if I have two parts of code, I want code 1 to execute first, then code 2, then code 1 and so on).

I have tried to use local variables or channel wires, but this does not enforce the sequence that I want to have.

I have also tried using direct wiring but this doens't allow both loops to run simultaneously.
How can I do this?


You can try using the state machine architecture as is shown in the images below:
With this architecture you can ensure that pieces of code execute in a determinate sequence and you can pass variables between this sequences through shift registers. 


Not Helpful