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.

RTE Probe Events

Library

RT-EVENTS Signal Attributes

Block

Description

The RTE Probe Events block outputs event's attributes, including time, state, initial state, number of events and status. The outputs of this block are the information from RTE signals in the last calculation step.

The block allows displaying the state and time of any events that occur during a calculation step. The element indices specify which events will be output. This output is a vector with a dimension ranging from 1 to the maximum number of events contained in an RTE signal.

Mask

RTE Probe Events Mask

Parameters

Input data type

Specified if the input is an RTE Boolean or RTE Double signal.

Source of element indices

Determines if the indices of output events are specified on the mask (internal) or as input signals (external).

Element Indices

Vector of the events to output. Only available when the source of the element is internal.

Input

Inputs (RTE)

RTE-type signal to convert into doubles.

Element Indices (Double)

Vector of the events to output. Only available when the source of the element is external.

Output

Time Vector (Double)

The times of each event relative to the last calculation step. The values of the time vector range from 0 to the mode sample time.

State Vector(Double)

The states of each event.

Initial Condition (Double)

The initial condition of the RTE signal at the beginning of the last calculation step.

Number of events (Double)

The number of events that occurred. This corresponds to the number of elements of the time and state vectors which are not undefined.

Status (Double)

The status of the RTE signal. See RT-EVENTS Status

Characteristics

Direct Feedthrough

Yes

Sample Time

Inherited and fixed discrete.

Work offline

Yes

Dimensionalized

No

Example

The rte_basic1.mdl model shows how to do simple operations on RTE signals. It also demonstrates how to use the RTE Probe Events to display some event properties of an RTE signal.


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