09-03-2010 05:21 AM
Hi,
I am trying to solve this Qns on pg 231, but i am stuck. I run continuously for this Vi, and if the height and weight is unhealthy range. it will keep prompting out the message. I would like to know how would i stop it from keep popping out. Is it needed to add a STOP button or a While loop?
Attached is my Vi.
09-03-2010 06:20 AM
Can you post what exactly you want to do?.... It will help us to help you better...
09-03-2010 06:50 AM
Attached is the qns being asked.
09-03-2010 06:57 AM
Is this a homework assignment?
One thing I'll mention is that running a VI continuously (using the continuous run button) is not the correct way to run a VI.
Shane
09-03-2010 06:58 AM
I see the problem.
Yre you sure all of your operators in your calculation are doing what you want (I'm pretty sure they're not)? Please refer to the help function for the structure being used.
Shane.
09-03-2010 07:05 AM
I think you initial reply was correct Intaris.
You should not be using run continuously, because then, once you hit the 'unhealthy' state, there will be constant pop-ups of errors and you won't have the time to change the values anymore.
You should really look into event structures to handle a change in the height or weight values, rather then using loop continuously....
09-03-2010 07:15 AM
Thanks a million~!