Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

CPU usage monitoring with DSM when cRIO is in FPGA mode

Hello,

I used to program cRIO application in Scan Engine mode, monitoring CPU usage with DSM is straightforward. I like to keep eyes on the CPU and memory usage during development.

 

Recently, I started to use more FPGA for my applications, mostly of them are in hybrid mode (scan engine + FPGA on cRIO-9047). I upgraded from LV2016 to LV 2018 recently too. I noticed that, I can monitor the CPU via DSM when I am in debugging mode. But after I compiled and deployed the codes on cRIO, I can't monitor the CPU in DSM anymore, all shows static value or '0'. 

 

I tried to get the CPU usage from the LabVIEW functions, the same thing happened. The CPU usage was obtained and updating on the HMI during debugging. However, after I deployed the cRIO code, the CPU usage became 0 and wasn't updating. 

 

Please help.

 

Thanks,

 

TexasRock

 

 

0 Kudos
Message 1 of 5
(3,110 Views)

Hi TexasRock,

 

Were you getting the same behavior before upgrading to LabVIEW 2018?

 

Are you deploying an RT exe?

 

-sarahmo

0 Kudos
Message 2 of 5
(3,081 Views)

Have you installed System State Publisher?

CPU and Memory Usage Not Visible in NI Distributed System Manager

Certified LabVIEW Developer
There are only two ways to tell somebody thanks: Kudos and Marked Solutions

GCentral
Message 3 of 5
(3,074 Views)

Hi Emboar,

 

I had the System State Publisher installed. I can view CPU & Memory when I ran under Scan Engine mode.

This happened when I programmed with FPGA, compiled the RT target and deployed.

I barely used FPGA before upgrading to LV2018. not sure if it is introduced by LV2018.

Thanks,

 

TR

0 Kudos
Message 4 of 5
(3,067 Views)

Sorry, i don't know whether the problem is LV 2018 specific.

You didn't see the behavior on LV 2016? Umm....

 

 

Certified LabVIEW Developer
There are only two ways to tell somebody thanks: Kudos and Marked Solutions

GCentral
0 Kudos
Message 5 of 5
(3,046 Views)