User`s guide

Signal Tracing
If you want the same data fo r the same signals on the host PC while the data
is displayed on the target PC , you need to define a second scope object with
type
host. Then you need to synchronize the acquisitions of the two scope
objects by setting TriggerMode for the second scope to
'Scope'.
Scope of Type File
For a scope of type file, the scope acquires data and writes it to the file
named in the FileName parameter i n b locks of size WriteSize.Thescope
acquires the first
N samples into the memory buffer. This memory buffer is
of length Number of Samples. The memory buffer writes data to the file
in WriteSize chunks. If the AutoRestart check box is selected, the scope
then starts over again, overwriting the memory buffer. The additional data
is appended to the end of the existing file. If the AutoRestart box is not
selected, the scope collects data only up to the number of samples, and then
stops. The number of samples
N to log after triggering an event is equal to the
value you entered in the Number of Samples parameter. If you stop, then
start the scope again, the data in the file is o verwritten with the new data.
SelectthetypeofeventintheBlockParameters: Scope (xPC Target) dialog
boxbysettingTrigger Mode to
Signal Triggering, Software Trigge ring ,
or
Scope Triggering.
Signal Tracing with Simulink External Mode
You can use Simulink external mode to establish a communication channel
between your Simulink block diagram and your target application. The block
diagram become s a graphical user interface to your target a pplication and
Simulink scopes can acquire signal data fro m the target application. For each
Simulink scope, the xPC Target software adds an xPC Target scope of type
host to the system to upload signals. Y ou can control which signals to uplo ad
through the External Signal & Triggering dialog box (see “Signal Selection” in
the Real-Time Workshop
®
User’s Guide.
Note Do not use Simulink external mode while xPC Target Explorer is
running. Use only one interface or the other.
3-51