User`s guide

3 Signals and Parameters
3 Start running your target application. Type
+tg
or
tg.start
or
start(tg)
The t arget PC displ ays 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 propertie s of
the scope object
sc2,type
sc2
The MATLAB window displays a list of the scope object properties. N otice
that the scope properties
Time an d Data are not accessible w ith a sco pe
of type
target.
xPC Scope Object
Application = xpcosc
ScopeId = 2
Status = Interrupted
Type = File
NumSamples = 250
NumPrePostSamples = 0
Decimation = 1
TriggerMode = FreeRun
3-46