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?