Instrument
Description
An slrealtime.Instrument
object streams signal data from a
real-time simulation running on a target computer to a development computer.
Creation
creates an empty instrument object for an existing real-time application
instrument_object
= slrealtime.Instrument('appName
')appName
.
Example: Create Instrument Object for Real-Time Application
creates an empty instrument object without an assigned real-time application. instrument_object
= slrealtime.Instrument()
Example: Create Instrument Object without Real-Time Application
Properties
Object Functions
addInstrumentedSignals | Find instrumented signals and add these to real-time instrument object |
addSignal | Add signal for streaming to be available in callback |
clearScalarAndLineData | Clear data from children of real-time instrument object |
connectCallback | Add callback that responds to new data |
connectLine | Connect signal for streaming to axes |
connectScalar | Add signal for streaming to scalar display |
delete | Delete real-time instrument object |
generateScript | Generate script that creates scalar and axes controls from signals, scalars, and lines in real-time instrument object |
getBufferedData | Gets data from the real-time application instrument buffer |
getCallbackDataForSignal | Get callback data for a signal in real-time instrument object |
removeCallback | Removed callback from real-time instrument object |
removeSignal | Remove signal from real-time instrument object |
validate | Validate signals in instrument object |
Examples
Version History
Introduced in R2020b