LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Statechart - exiting from timed actions

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.

0 Kudos
Message 1 of 1
(2,322 Views)