Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 68930

Producer consumer state machine communication

$
0
0

I'm programming a RT system with 3 drives which are accessed through the scan engine. 
To control the entire system I have a producer state machine ("Command Loop") and for the drives I've created another state machine  ("Motion Loop") which acts as consumer (see picture).
The Motion Loop gets it's Information passed via a RT shared variable fifo. But I would also like some control over the Motion loop when it's idle. 
I've thought about using the event structure but am not sure if thats the best method.

 

I know LV offers several methods for me to communicate between loops, but is there a recommended method for my case?

 Unbenannt.PNG

 


Viewing all articles
Browse latest Browse all 68930

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>