From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

I needs to display, on a mimic, the CPU load of the real time controller under Veristand.

Solved!
Go to solution

But a didn't find a system channel (or equivalent) with this data.

I have a controller with 8 CPU cores (RMC8355) , so I need to have the 8 CPU loads.

 

Someone have a solution ?

 

Thank

0 Kudos
Message 1 of 4
(5,733 Views)

Hi,

If you install the "System State Publisher" on your RT Target, the target will publish the CPU loads for each core.

You can gather all these informations reading the published shared variables either by opening the "distributed system manager" NI tool or using labview code:

 

example for the eighth core of the target wich IP is 191.230.14.156

ni.var.psp://191.230.14.156/NI_SystemState/CPULoad/CPU7/Total

 

 

MonitorCPULoad.png

 

You could moreover put that code into a custom device and link CPU Load values to output channels.

 

 

 

 

0 Kudos
Message 2 of 4
(5,728 Views)
Solution
Accepted by FFC

The System Monitor custom device available on the add-ons page will allow you to get this information and more as channels in your system definition.

 

Jarrod S.
National Instruments
Message 3 of 4
(5,721 Views)

thanx! 

I didn't know this VCD was existing!

I'll fall asleep less idiot tonight!

 

0 Kudos
Message 4 of 4
(5,714 Views)