Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

RT Get CPU Loads.VI returns error -2233 with RT startup executable

Solved!
Go to solution

I've used RT Get CPU Loads.VI with success in development mode on several cRIO targets, but when running as a startup application on a cRIO-9045, I receive:

 

error -2233  Unable to retrieve CPU load information. Verify that CPU load monitoring is enabled on the target.

 

I'm not sure why the behavior is different with a startup application from development mode.  I've tried placing a delay of up to 120+ seconds before making the call to be sure all OS services are loaded, but this doesn't solve it.

 

I appreciate any replies, but before answering that this VI is deprecated please see my other question here:

 

https://forums.ni.com/t5/Real-Time-Measurement-and/Alternative-to-RT-Get-CPU-Loads-VI/m-p/3910660

0 Kudos
Message 1 of 3
(2,621 Views)
Solution
Accepted by simplemaan

Hi simplemaan,

 

What version of LabVIEW are you using?

It looks like this may be a Known Issue with some versions. If so the workaround is to Disable Embedded UI.

 

-Noah

Noah B.
Technical Support Engineering
National Instruments
0 Kudos
Message 2 of 3
(2,591 Views)

Thanks for pointing this out.  The embedded UI is enabled on the RT.

0 Kudos
Message 3 of 3
(2,567 Views)