I'm trying to use the Statechart Module with the FPGA Module, and after analyzing my problem, it looks like i'd want to run the statechart on the FPGA in asynchronous mode. That is, the FPGA has several operational states (one aquisition loop, 2 concurrent control loop regions - each with substates), and I'd like the FPGA vi to transition between the states based on front panel triggers from my Host vi.
So I figured I could run the statechart in asynch mode on the FPGA, and send it external triggers and data from the Host vi in reaction to my front panel input. The thing is, I can't run the statechart in asynchronous mode on the FPGA.
Each of the substates on the FPGA should run indefinitely, until instructed to change from the host vi - eg. control states, measurement states, idle states
So what's another, recommended way to go about accomplishing this?
Solved! Go to Solution.
Ok, that seems like a better strategy than what I ended up trying.. I ended up describing each of my states by multiple or groups of triggers, and sending the relevant trigger at all times, and only transitioning when the triggers changed. And then I would run the static action from the trigger for that state. But its starting to get complicated using this method, so I'll give yours a shot.