LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Hanging Program CVI

Hi,
 
I'm using a CVI 8.0 program  for test a product. It was working well, but now there is not appearing some indicators (LED) in the user interface. I compile again the project, but it didn't work, the problem continues. I verified the program with windows task manager, and the program.exe comsumes 97-99% of the CPU. Is that normal?, because I think it's a lot percentage. I think the program.exe is hanging up the computer.
 
I investigate and found that to avoid system hangs up in LabVIEW, must be added 1 ms delay inside each while cycle. Is there any similar condition for LabWindow/CVI 8.0? can someone gime some suggestion I'll be grateful.
0 Kudos
Message 1 of 2
(3,119 Views)
Hi Joe,

Any tight loops that you have in your code, you should be making calls to ProcessSystemEvents.  Refer to the
Improving Performance of LabWindows/CVI Applications KnowledgeBase for other tips.

Let me know if this helps!

Best Regards,
Jonathan N.
National Instruments
0 Kudos
Message 2 of 2
(3,117 Views)