LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

D5.2 Robert H.bishop

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.

 

 

0 Kudos
Message 1 of 7
(3,312 Views)

Can you post what exactly you want to do?.... It will help us to help you better...

 

Smiley Wink

-----

The best solution is the one you find it by yourself
0 Kudos
Message 2 of 7
(3,296 Views)

Attached is the qns being asked.

0 Kudos
Message 3 of 7
(3,285 Views)

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

0 Kudos
Message 4 of 7
(3,274 Views)

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.

0 Kudos
Message 5 of 7
(3,270 Views)

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....

0 Kudos
Message 6 of 7
(3,264 Views)

Thanks a million~!

0 Kudos
Message 7 of 7
(3,247 Views)