01-15-2009 05:16 PM
Hi,
can somebody help?
how to start and stop a while loopprogrammatically, not just by clicking run button of the vi,
ex:- main vi has a while loop and it has a inner loop, main while loop runs until i stop, but the inner while loop should start and stop on a button press.
01-15-2009 05:45 PM
01-15-2009 06:25 PM
thank you so much,
I am trying to code the below picture
it should write 30 secs of data every 8 hrs and this should repeat for 14 days.
see attached vi, im using 2 elapsed time vis to control this but if i use the 30sec timer inside inner while lt stops after 30 seconds and does not start whennext 8hrs elapse
so, i wanted to try to contol the inner loop, please see the elapsed timer.vi , any help would be much appreciated
01-15-2009 06:37 PM
01-15-2009 07:19 PM
No you can't have one loop running continuously inside of another loop that is also running continuously. A structure can't complete its iteration until all structures inside of it have completed, which means the inner while loop has ended. This is a basic understanding of dataflow withing LabVIEW.
01-16-2009 04:39 AM