05-30-2012 06:01 AM
I 'amattaching the program with thismessage in which while loop never stops, going on continuing until I stops it manualy using the off button What i have to do to get it off automatically afetr execution and reading the query and getting the result in Read in Front panel
05-30-2012 06:07 AM
05-30-2012 06:10 AM
You have to set a condition and check it whether it has met or not and wire the boolean to the stop/continue terminal of the while loop. Better go for the LabVIEW Basic materials for more details.
05-30-2012 09:06 AM
The loop does in fact stop and is also completely unnecessary. Don't do something as dumb as using the run continuous buttton.
Rude of you to start yet another thread on the same subject.
05-30-2012 11:34 PM
But the while loop I need to read the command .It's going on reading not stopping until I press the button so without while loop how can I read this command, I tried for loop all not at working so what to do
05-31-2012 01:12 AM
Your stop condition is "continue if true". This means that, unless you press the button, the while loop will stop after one iteration.
What device are you communicating with? Do you have documentation?