LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to make 2 state machines run dependently ?

You just go to File >> Save For Previous Version... but I will see if I can make an example based on your picture.

0 Kudos
Message 11 of 18
(1,358 Views)

oh, thanks, could you check this attachment again? This is 16 version now

Download All
0 Kudos
Message 12 of 18
(1,354 Views)

Here is an example where I send a notification to the bottom loop every 5 seconds. When we want to exit, we send "False" instead of "True".

0 Kudos
Message 13 of 18
(1,350 Views)
I am thinking this can be done in a single state machine and be a lot simpler. I might have to play with this a little when I am at my desk.


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 14 of 18
(1,335 Views)

i thought of making an example with user event (queues), but for this example there is no need for it.

hope this helps

 

some-states.png

 

regards


If Tetris has taught me anything, it's errors pile up and accomplishments disappear.
0 Kudos
Message 15 of 18
(1,315 Views)

thanks for your help!!! Thank you!!

0 Kudos
Message 16 of 18
(1,287 Views)

I know we've started to move the discussion away from parallel loops, but one other option in 2016 and newer is Channel Wires.

 

Aside from that I'm also in the Queues or nothing camp.  Similar experience as others where I think this solution just needs a notifier, or occurrence, or rendezvous, and usually end up replacing it with a queue. (or channel)

0 Kudos
Message 17 of 18
(1,257 Views)

Thank you sir, it's working now! 

0 Kudos
Message 18 of 18
(1,248 Views)