LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

RealTime System Manager - incorrectly displaying CPU load when using subVIs

Hi,

I'm using LV8.5 and LV realtime 8.5 running on both a desktop and a PXI.

I originally had 7 timed loops in a single VI that run on my real-time system. I recently put 6 of those 7 timed loops into subVIs and functionally the system works just fine. However, I noticed that the Real-Time System Manager shows my CPU utilization at less than 5% when previously it was around 40%.

As far as I can see this is only because I've put my timed loops in subVIs. Is this behavior intended? How can I recover my real cpu utilization value without putting all my timed loops back on the main panel?

Thanks
-Alex-
0 Kudos
Message 1 of 3
(2,748 Views)

Hi Alex,

Thank you for contacting National Instruments.  From the information you have provided I see why you would be curious of these results.  However, I recreated this system on my end, and verified the system performance in the Real-Time System Manager.  I do not see any difference in the CPU usage of a VI with numerous loops, and one that has multiple SubVIs. 

Are there any other changes within the application?  What type of code do you have contained within these loops?  What PXI controller are you using when you deploy this application?

Regards,

Jason W.



Message Edited by Jason W. on 01-13-2008 08:26 PM
National Instruments
Applications Engineer
0 Kudos
Message 2 of 3
(2,718 Views)
 Hi Jason,

I had Shared Library Nodes in most of the timed loops and I was able to resolve my issue by selecting "run in any thread" vs. "run in UI" thread (makes sense on an RT system). I believe before 8.5 this option had a different name and maybe thats why I missed it.

Thanks for the support,
-Alex-
0 Kudos
Message 3 of 3
(2,706 Views)