Library
RT-EVENTS Signal Attributes
Block
Description
The RTE Signal Attributes block outputs the specified attribute of the input signal. The available attributes are width, size, number of events, the maximum number of events, initial state, final state, and status.
Mask
Parameters
Attribute | Attribute to output. Available values are width, size, number of events, the maximum number of events, initial state, final state or signal status. |
---|
Input
Input (RTE Boolean) | RTE Boolean signal to probe. |
---|
Output
Attribute (Double) | Selected probe attribute. |
---|
Characteristics
Direct Feedthrough | Yes |
---|---|
Sample Time | Inherited and fixed discrete. |
Work offline | Yes |
Dimensionalized | Yes |
Example
The rte_basic1.mdl model shows how to do simple operations on RTE signals. It also demonstrates how to use the RTE Signal Attributes block to display the number of events that occur on an RTE signal.