Documentation Home Page Power Electronics Add-On for NI VeriStand Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.

Processor Assignments

Processes Managed by the Power Electronics Add-On Engine

At runtime, both the Power Electronics Add-On Engine and the VeriStand Engine execute their own sets of processes on the Real Time CPU. The processes managed by the Power Electronics Add-On Engine are described in the figure and table below. For more information related to the processes managed by the VeriStand Engine, refer to the VeriStand Engine Help documentation on the National Instruments website.

Process

Description

Priority

Default Execution Rate

Power Electronics Add-On Inline Process

Highest level inline process in charge of initializing, launching asynchronous processes, shutdown and error handling of the custom device.

High
(Defined by the VeriStand Primary Control Loop)

(Defined by the VeriStand Primary Control Loop)

FPGA Communication Process 1

First asynchronous process establishing read and write communication between VeriStand Channels in Real Time, and their corresponding features on the FPGA. In the case of a hardware configuration with multiple FPGAs, this process communicates with all of them.

High

2 kHz

FPGA Communication Process 2

Second asynchronous process establishing read and write communication between VeriStand Channels in Real Time, and their corresponding features on the FPGA. In the case of a hardware configuration with multiple FPGAs, this process communicates with all of them.

High

2 kHz

Low Latency FPGA Communication Processes

Set of asynchronous processes for low latency read and write communication between VeriStand Channels and their corresponding features on the FPGA. In the case of a hardware configuration with multiple FPGAs, a process is dedicated to each FPGA.

High

10 kHz

Waveform Acquisition Process

Asynchronous process in charge of data communication between the FPGA target and VeriStand Waveforms on the Real Time CPU.

Low

100 Hz

Processor Assignments Dialog Window

The Processor Assignments Dialog Window is used to assign specific CPU processors to the Power Electronics Add-On processes. In the System Explorer window configuration tree, select the Power Electronics Add-On custom device, then click the Processor Assignments button under Advanced Performance section to display this dialog window.

Processor assignment is managed by the Power Electronics Add-On by default.  In most cases, manual processor assignment is not required and the Processor Assignment Mode must be set to Automatic. However, if the project contains one or more of the following, please contact OPAL-RT Support for assistance manually assigning CPU processors:

  • A custom hardware configuration consisting of two or more FPGAs

  • Additional VeriStand custom devices whose performance may conflict with the Power Electronics Add-On

  • A specific component (such as a CPU simulation model) that must execute at an increased speed, potentially at the expense of the performance of other processes

This dialog window includes the following components:

General Processor Assignment Settings

Processor Assignment Mode

Select one of the following modes: 

  • Automatic - Processors assignments are configured automatically, and all other dialog controls are disabled. This is the default state.

  • Manual - Processor assignments can be configured manually by the users. This model enables all dialog controls.

FPGA Communication Process 1

Processor

The index of the CPU processor on which FPGA Communication Process 1 executes. 

Loop Rate (us)

The loop rate of FPGA Communication Process 1, in microseconds.

FPGA Communication Process 2

Processor

The index of the CPU processor on which FPGA Communication Process 2 executes.

Loop Rate (us)

The loop rate of FPGA Communication Process 2, in microseconds.

Low Latency FPGA Communication Process

This table displays the available FPGA targets supporting Low Latency Communication. The following parameters are configurable for each FPGA target.

Processor 1

The index of the CPU processor on which the Low Latency FPGA Communication Process of the specified FPGA target executes.

For hardware configurations with two or more FPGAs, it is recommended to dedicate one CPU core per Low Latency FPGA Communication Process, and to avoid sharing it with any other process from this or another custom device.

Loop Rate (us)

The loop rate of Low Latency FPGA Communication Process of the specified FPGA target, in microseconds.

CPU Pool Assignment

Use this section to assign individual CPU cores to pools available for automatic load balancing. For additional information, refer to Specifying the Set of CPUs Available for Automatic Load Balancing in the NI LabVIEW Real-Time Module Help documentation.

CPU Pool Assignment

For each CPU available on the Real Time controller, select from one of the following states:

  • System - the CPU can be used to execute threads that do not correspond to Timed Structures

  • Timed Structures - the CPU can be used to execute Timed Structures configured for automatic processor assignment

  • System & Timed Structures - the CPU can be used to execute either of the above

  • Reserved - the CPU is dedicated solely to executing Timed Structures manually assigned to that CPU

This table is enabled only when the Manual CPU Pool Configuration checkbox is enabled. By default, the Power Electronics Add-On will assign all CPUs to the System & Timed Structures pools, except CPUs on which the Low Latency FPGA Communication Process executes.  These CPUs are assigned to the Reserved pool.

Please refer to the appropriate NI specification documentation to determine the number of available CPUs on your Real Time controller.

Manual CPU Pool Configuration

Enables the CPU Pool Assignment table. Disabling the checkbox will reset the CPU Pool Assignment table to default values. 

All CPU assignment fields use a zero-indexed convention, where the first CPU core is represented by the number 0.

OPAL-RT TECHNOLOGIES, Inc. | 1751, rue Richardson, bureau 1060 | Montréal, Québec Canada H3K 1G6 | opal-rt.com | +1 514-935-2323