Shakes <[EMAIL PROTECTED]> wrote in news:50650000000800000094B70000- [EMAIL PROTECTED]:
> I created a simple vi to switch a boolean LED on or off. The vi has > just a boolean control and indicator. On running the VI the CPU > utilization in task manager shows 100 %. How can this happen??? > It is because the OS is so kind to give you all of the available CPU resources to run your loop. To give the OS a better chance to switch from LabVIEW to another task/program put a "Wait Until Next ms Multiple" function or a "Wait (ms)" function inside the loop. If you wire a constant with 0 to the input of the wait your VI will get all of the resources available, but the OS has a better chance to switch to other applications (Without this wait it is a bigger chance that the PC seems to hang). Even better, wire a constant of 200 to the Wait function. As a user interface this should give a suitable response. -- Rolf
