User`s guide
3 Signals and Parameters
3-30
3 Start running your target application. Type
+tg or tg.start or start(tg)
The target PC displays the following message:
System: execution started (sample time: 0.0000250)
4 Create a scope to be displayed on the target PC. For example, to create a
scope with an identifier of
2 and a scope object name of sc2, type
sc2=tg.addscope('file', 2) or sc2=addscope(tg, 'file', 2)
5 List the properties of the scope object. For example, to list the properties of
the scope object
sc2, type
sc2
The MATLAB window displays a list of the scope object properties. Notice
that the scope properties
StartTime, Time, and Data are not accessible with
a scope of type
target.
xPC Scope Object
Application = xpcosc
ScopeId = 2
Status = Interrupted
Type = File
NumSamples = 250
NumPrePostSamples = 0
Decimation = 1
TriggerMode = FreeRun
TriggerScope = 2
TriggerSample = 0
TriggerSignal = -1
TriggerLevel = 0.000000
TriggerSlope = Either
Signals = no Signals defined
StartTime = -1.000000
FileName = unset