LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI hypertrend taking huge CPU usage

Hi:

We have three vis each containing one NI hypertrend. These hypertrends are dedicated to different measurements like one for pressures, one for temperatures and one for flows. We are updating these vis every second as measurements are acquired every second.

 

The problem is when I run these vis, the CPU usage bounces between 90% and 100% until they are running. The other support request that I have put regarding RS232 programming, I said the vi containing RS232 programming is taking lots of CPU time like when I start the vi, CPU usage goes from 15% to 55% and remains there. Then when I fire up NI hypertrend vis, the CPU usage goes between 90% and 100% as I mentioned above.

As a result, the project slows down. The machine we are using for the project is dual core 2.5 GHz laptop with 3 GB RAM.
I am wondering if there is a way I can optimize the hypertrend vi to reduce the CPU usage.

0 Kudos
Message 1 of 2
(2,366 Views)

Unfortunately there is no way to optimize the HyperTrend front panel control. HyperTrend has quite a bit of overhead associated with it and does consume noticable resources. 

 

You can use the standard graphing and charting included in LabVIEW to view your data which will be much easier on your processor consumption. This will just require reading your data back into LabVIEW and displaying it on your graph/chart.

 

-Nick-

Nick C | Software Project Manager - LabVIEW Real-Time | National Instruments
0 Kudos
Message 2 of 2
(2,345 Views)