LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Project update from Labview 6.02 to 7.0 caused cpu usage 100%. Anybody experienced this and how you fixed it? Thanks.

> I don't remember the details, but the Alt key is tightly tied to
> numerous behaviors on Windows. Either LV has started the menu walking
> behavior and the events are pouring in, or I seem to remember some other
> Alt key modified actions defined by Windows, sort of like Alt-tab, but
> affecting the apps, not the windows. Anyway, the Alt 6 or whatever the
> combo was, was fixed several releases ago. The Alt key thing I don't
> have details.
>
> Greg McKaskle


There is another posting on this site titled
Processor goes to 100% that covers the ALT KEY issue also.
7.0 does have the problem and it is tied in with the menu interaction.

Randall
0 Kudos
Message 11 of 12
(413 Views)
I just wanted to share with you about the progress on this issue.

I tried Sean's approach, the .dll did press the alt key but also closed my application, therefore, and it was not practical.

I further drilled down and found out a subvi that caused the CPU 100%. Further isolating each part of the code in the subvi, I finally found out that it was a numeric control that caused the problem. If the control had a value of Inf (infinity) and I configured the control with representation of DBL, the CPU went 100%. I could configure the control with SGL or EXT representation, the CPU problem went away. Or I eliminated the control from getting the Inf value and kept the DBL representation, the CPU problem went a
way also.

However, after I built the application and ran the executable, the CPU 100% came back again, I had to use the alt key to let it go normal.

Hope this will help NI troubleshoot the problems.

Thanks,

Yurong
0 Kudos
Message 12 of 12
(413 Views)