LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I have one VI that run three While same time but my computer no work good each when run the program?

Solved!
Go to solution

My VI work with three While loops in same time, but I use the 100 % of Memory stoped the computer?

0 Kudos
Message 1 of 3
(2,278 Views)
It's hard to understand what you are saying. If you have a while loop, you should have a Wait(ms) inside. Refer to the While Loops>Adding a Wait function topic in the on-line help
0 Kudos
Message 2 of 3
(2,272 Views)
Solution
Accepted by Kaliman

Hi Kaliman,

 

Whenever you work with a While Loop in LabVIEW you need to add some timing to the loop, otherwise the CPU usage will climb up to 100%.

 

You have two wait functions: Wait until next ms multiple or wait. The LabVIEW help gives really good detail on the usage of each one of them. In the following image a Wait Until next ms multiple example is shown.

 

Message Edited by smikel on 03-18-2009 03:53 PM
Salvador Mikel
National Instruments
Ingeniería de Aplicaciones
www.ni.com/soporte
Message 3 of 3
(2,231 Views)