ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

express timer is not functioning in state "running"

hi,

   I have a unfinished VI but I am trying to test cases step by step..

 

 in the case " running", the express timer is supposed to work, but why it simply skipped the case " running" and moves to " initialize"?

 

      thanks

0 Kudos
Message 1 of 4
(2,785 Views)

because in running you go to rain and then stop and then initialize... 

Use the debug you will see.

You should never put a Event structure to more than one place in your code.

You should use a Producer consumer structure.

 

Benoit

0 Kudos
Message 2 of 4
(2,779 Views)

Thanks..

but it should finish the state "running" first and then go to the state "rain', right??

 

 

0 Kudos
Message 3 of 4
(2,747 Views)

I think you should design your application on paper to define your step... I have no idea what is your system.

Benoit

0 Kudos
Message 4 of 4
(2,726 Views)