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

Statechart - exiting from timed actions

$
0
0

Hi,

 

 

I'm new at Labview and the statechart module. I used to work with Simulink so I'm in adaptation mode!
I'm building a statechart to control a machine that has several devices. I want implement a emergency state.
Some of the states actions have subVI inside with timed tasks inside. I want be able to go to the emergency state even if one of that timed tasks are running and it is not yet finished.


The problem is that I cannot go to the emergency state before the time ends. I also tried to put the execution of the subVI inside the entry action, but the behaviour was the same.

Can anyone help me to solve this?

 

You can see an example of my application in the attach.
I'm trying to create a superstate inside each main state for each device that i need to control. So connect the emergency transition directly to each transition is not solution.


Viewing all articles
Browse latest Browse all 69090

Trending Articles



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