User`s guide

Signal Tracing
3-23
Configuring the Host Scope Viewer
You can customize your host scope viewer. This section assumes that you have
added a host scope to your target application, started the host scope viewer,
and added signals
Integrator1 and Signal Generator (see “Creating Scopes”
on page 3-12 and “Adding Signals to Scopes” on page 3-16). These viewer
settings are per scope.
In the xPC Target Host Scope Viewer, right-click anywhere in the axis area
of the viewer.
A context menu is displayed. This context menu contains options for the
following:
-
View Mode — Select Graphical for a graphical display of the data. Select
Numerical for a numeric representation of the data.
-
Legends — Select and deselect this option to toggle the display of the
signals legend in the top right of the viewer.
-
Grid — Select and deselect this option to toggle the display of grid lines in
the viewer.
-
Y-Axis — Enter the desired values. In the Enter Y maximum limit and
Enter Y minimum limit text boxes, enter the range for the y-axis in the
Scope window.
-
Export — Select the data to export. Select Export Variable Names to
export scope data names. In the
Data Variable Name and Time Variable
Name
text boxes, enter the names of the MATLAB variables to save data
from a trace. Click the
OK button. The default name for the data variable
is
application_name_scn_data, and the default name for the time
variable is
application_name_scn_time where n is the scope number.
Select
Export Scope Data to export scope data to MATLAB.