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

Graph Widget

The Graph widget shows signal values over time within an acquisition period.

Connecting a Graph widget

To add signals to the graph widget, use the Data Point Picker of the Data parameter.

The Data parameter, in green, is used to select signals to be acquired and drawn into the graphs.

The Trig signal parameter, in purple, is used to select a trigger signal. Without a trigger, the acquisition is continuous, repeating at each end of acquisition period.

Please note that the trigger signal can operate without the need for selection in the Data parameter, although it can be selected there if drawing it is necessary.

RT-LAB limitation: A given graph widget can only show signals within the same sub-system (SM, SS) and children's. Auto-filtering of the available data points is done accordingly.

Data and Trig Signal must be connected before running the simulation.

Once started, neither the signals data and the signal trigger can be modified.

Simulation and Acquisition

At the beginning of the simulation, the graph widget initializes every selected signals. This initialization takes about 5 seconds while other widgets display values right away:

 

A loader icon is shown when the acquisition is initializing or if the trigger condition was not reached.

Period (X) of acquisition and Scale

The Period (X) determine the length of the acquisition and the memory allocation.

This parameter can be changed while the simulation run, but cannot be extended more than 5 seconds above the initial period.

The Scale mode (X) can be set to display absolute time, starting when the simulation begins, or relative to display the acquisition period for each.

On the vertical Axis, the Autoscale will rescale the graph to the maximun and minimun values of the current acquisition.

When the Autoscale is off, the Maximun and Minimun sets the Y axis.

Trigger and acquisition start

By default, no Trig signal is connected and the acquisition is then continuous.

Selecting a trig signal allows to start the acquisition only when the trigger condition is met.

If the trigger condition is not met, the graph widget acquisition do not start and a loading state is displayed.

Multiple graph widgets can start on different event, as each have their own datalogger.

RT-LAB limitation: A given graph widget can only trig on signal within the same sub-system (SM, SS) and children's than the acquired signal(s). Auto-filtering of the available data point is done accordingly.

Trigger Configuration

The Condition sets the comparison done between the Trig signal value and the reference Level. The acquisition start when the conditions is reached.
The X position sets where the Acquisition start is shown in the graph. Pre-trig data will be acquired accordingly.

Conditions

Rising edge: trigger signal passes through the reference level with a low-to-high transition.

Falling edge: trigger signal passes through the reference level with a high-to-low transition.

Above level: trigger signal is greater than the reference level.

Below level: trigger signal is lower than the reference level.

Tips for graph widget:

  • If you are not sure if the simulation started, add and connect a Numeric Display to your data point of interest.

  • If you are not sure if the Graph acquisition started, be sure to try without any trigger connected. Continuous acquisition doesn’t need any trigger.

  • Activating Show on Graph to visually see the trigger condition on the graph can help with troubleshooting.

    • It also helps to add the trigger signal connected to a Numeric Display.

  • In the absence of a loader and with an empty graph, enabling Autoscale (Y) can assist in visualizing all the acquired data.

Widget Style

The legend can be hide. When shown, clicking on the a name will hide its trace from the graph.

Background and Border Colors, Label (X) and Label (Y) can be modified.

Limitations

  • Graph widgets are only supported on Windows and OPAL-RTLinux 3 simulators.

  • Each Graph has its own datalogger, therefore they are not fully synchronized between one another even if they have the same trigger. Timestamps of different graphs should not be compared or relied upon.

  • Graph widgets have a minimum size of 200 px vertically. Under this height, the widget displays its default shape without any trace.

  • RT-LAB limitation: A given graph must have all signals within the same sub-system and children's.

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