Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

problem in while loop

dear all,

              i am trying to implement a vi in which i used counteri set the value in timer like hour minute and seconds and then i press on switch it runs for the time duration. then it automatically shut off the system. now in this i am run vi property use for making system on and abort vi to make it off. this vi get the data  from serial port and i used while loop for counting which i cal after setting flag and then reset it. now my problem is that when i starts conuter then it starts counting and after it reach to zero than it goes into the infinit eloop . i tried to debug it then i saw it always into the lower while loop and got stuck dere. bcoz i set the default value of flag is zero and it always try to check the flag vallue when it is zero

0 Kudos
Message 1 of 1
(3,748 Views)