EventManager
Description
creates an event manager component that manages target computer events. You can add this
component to an instrument panel hEvtManager
= slrealtime.ui.tool.EventManager(hFigure
)uifigure
figure.
The event manager component manages a collection of event observers and corresponding
callback functions that are used by the instrument panel and provides the features of
Simulink Real-Time app components. When an instrument panel switches target computers, the
managed observers are removed from the previous Speedgoat® target computer and added to the new target computer. For a list of target
computer events, create a target object, tg
, then in the MATLAB Command
Window type:
events(tg)
For information about control properties, see slrealtime.ui Properties. It is important to set the TargetSource property for this control if you plan on using your app with target computers other than the default target computer.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2024a
See Also
ConnectButton
| ImportFileLogButton
| LatchButton
| LoadButton
| InstrumentManager
| Menu
| MomentaryButton
| ParameterSetButton
| ParameterTable
| ParameterTuner
| RebootButton
| RecordButton
| SignalTable
| SimulationTimeEditField
| StartStopButton
| StatusBar
| StopTimeEditField
| SystemLog
| TETMonitor
| TargetSelector
| UpdateButton
| slrealtime.ui Properties