Documentation Home Page RT-LAB Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.

Static Digital Out


The Static Digital Out functionality of the OPAL-RT Board driver provides the simulation with the possibility of outputting "on/off" logic through the digital output channels of the OP5354 or OP5360-2 modules installed in the simulator.

Digital output is referred to as static when the data sent from the simulation is directly related to the physical values outputted by the simulator: a logical "true" or "on" (seen as a value of 1 in the Simulink console) translates to a high voltage, whereas "false" or "off" (seen as a value of 0 in the Simulink console)represents a low voltage.


Once the bitstream configuration file has been parsed, the location of the digital output modules becomes visible to the user. The channels of the modules are grouped into bunches of 8. By clicking on each group of 8, the user has access to the configurable options of the group.

Bitstreams generated with an RT-XSG version of 3.1.2 or later offer the possibility of using the selectable digital input-output feature (SDIO).

The SDIO feature gives the user the option to switch between the type of functionality (either static, PWM or Event Generator) for a group of channels.

The user knows if the bitstream offers the feature as soon as its configuration is loaded in the General section of the Opal-RTBoard configuration page.

Verifying that a bitstream is SDIO-capable is done in the channel group configuration section. If the feature is available then a drop-down list is present. If it is not, the functionality is displayed as a non-editable field (i.e. grayed out).

Channel Group Configuration


Checking this box will enable the transmission of static digital data for the channels in the group once the simulation has started, provided that the type of functionality is set to Static (see item below for more detail).

Clicking on Enable also adds the group of 8 channels as a connectable vector in the Configuration panel of RT-LAB.
In order to output data, connections must be made between points in the model (in the form of OpOutput blocks) and the static digital output connectable points.

To create a connection, the user has to drag-and-drop the connectable items onto an appropriate OpOutput block in the Configuration panel of the RT-LAB project.
Connections with LabView panels are also possible.

A connection can be made either on the entire vector or on each individual item of the vector (i.e. individual static digital output channel).

Digital Type

In case the bitstream is SDIO-capable, this field will take the form of a drop-down list. This list provides the user with the choices for the type of functionality to be applied for the current group of 8 digital output channels.
To send static digital outputs, the option Static must be chosen.

Otherwise, if the bitstream is not SDIO-capable, this field is seen as non-editable. This means that the 8 channels in the current group can only operate with the functionality described in the grayed-out field. For sending static digital outputs, please verify that the field displays Static.

Signals Configuration

Channels in static digital output groups do not have any parameters to configure.

Characteristics and Limitations

For the connector pin assignments, the user should refer to the carrier documentation.

The current version of the static digital output functionality of the OPAL-RT Board driver has the following limitations:

  • Limitations are added as they are found

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