User`s guide
Signal Tracing
3-31
Mode = Lazy
WriteSize = 512
AutoRestart = off
Note that there is no name initially assigned to FileName. After you start the
scope, xPC Target assigns a name for the file to acquire the signal data. This
name typically consists of the scope object name,
ScopeId, and the beginning
letters of the first signal added to the scope.
6 Add signals to the scope object. For example, to add Integrator1 and
Signal Generator, type
sc2.addsignal ([0,1]) or addsignal(sc2,[0,1])
The target PC displays the following messages.
Scope: 2, signal 0 added
Scope: 2, signal 1 added
After you add signals to a scope object, the scope of type file does not
acquire signals until you start the scope.
7 Start the scope. For example, to start the scope sc2, type
+sc2 or sc2.start or start(sc2)
The target PC displays the following message.
FileSys:File c:\sc2Integ.dat opened
The MATLAB window displays a list of the scope object properties. Notice
that
FileName is assigned a default filename to contain the signal data for
the scope of type
file. This name typically consists of the scope object name,
ScopeId, and the beginning letters of the first signal added to the scope.
Application = xpcosc
ScopeId = 2
Status = Pre-Acquiring
Type = File
NumSamples = 250
NumPrePostSamples = 0
Decimation = 1
TriggerMode = FreeRun