LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Priority button in a state machine

You find in the attachment the Vi + its typedef 

So i want doing the following process :

1--  i clic on start measurment button, the state machine executes seq1 to seq4 normally . i want when i press on stop measurment button the state machine interrupt the execution of the sequences and executes the "stop device state" and returns to the "wait for event state" 

2-- i want to calculate the execution time of every state of my state machine 

Plz heeelp 

0 Kudos
Message 21 of 23
(262 Views)

I just did what you said ( in the attachment bellow)  : BUT the problem that when i press on stop measurment button it executes the state "stop device" and returns to executes what reamiains from sequences . wheareas i want once i clic on stop measurment button i interrupt the execution of sequences and returns to a state of wait for event user . Could you help me plz 

0 Kudos
Message 22 of 23
(261 Views)

You are again attaching in LabVIEW 2021. If you "save for previous", you get a folder with all dependencies (main, typef, etc.) that you can zip up and attach.

0 Kudos
Message 23 of 23
(239 Views)