RT SMP CPU Utilities VIs

Owning Palette: Real-Time VIs

Requires: Real-Time Module. This topic might not match its corresponding palette in LabVIEW depending on your operating system, licensed product(s), and target.

Use the VIs on the RT SMP CPU Utilities palette to configure the set of CPUs available for automatic load balancing.

The VIs on this palette can return general LabVIEW error codes.

Palette ObjectDescription
RT Get CPU LoadsMonitors the distribution of load on the CPUs in the system. For each CPU in the system, this VI returns the total load as a percentage of capacity. This VI also returns the percentage of CPU time devoted to each priority level, the percentage of idle CPU time, and the percentage of CPU time devoted to Timed Structures and interrupt service routines (ISRs).
RT Get Number of CPUsReads the number of CPUs in the system.
RT Set CPU PoolSpecifies the set of CPUs included in the System pool or the Timed Structures pool for automatic load balancing.
RT Set CPU Pool AssignmentsAssigns CPUs to pools for automatic load balancing. This VI assigns CPUs to one of four possible states: System pool only, Timed Structures pool only, both pools, or no pool (reserved). This VI outputs the bit masks that specify the CPUs assigned to each pool.
RT Set CPU Pool SizesSets the number of CPUs in the CPU pools available for automatic load balancing. You can use this VI to define the System pool and the Timed Structures pool by specifying the number of CPUs you want each pool to contain.

WAS THIS ARTICLE HELPFUL?

Not Helpful