LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I want to set a variable for a specific time and be able to read from it all the time.

Hi

 

I want to set a variable to be true for a specific time. I've tried to use a While-loop together with "elapsed time" but my program is waiting for the loop to be finish before reading from the variable. Anyone who have a clue how to solve this?

 

Regards

Viktor

0 Kudos
Message 1 of 3
(2,771 Views)

Post the sample code please

0 Kudos
Message 2 of 3
(2,770 Views)

Here it is. Right now, when i press te "Go" it runs for the specific time i've set and when its done the variable "Run" is set true. When i call this VI from another VI it waits for the loop to be finished before it will read the variable.

 

Regards

Viktor

0 Kudos
Message 3 of 3
(2,760 Views)