User`s guide

Signal Logging
Signal Logging
In this section...
“Introduction” on page 3-57
“Signal Logging with xPC Target Explorer” on page 3- 57
“Signal Log ging in the MATLAB Interfa ce” on page 3 -6 0
“Signal Logging w ith a Web B rowser” on page 3-64
Introduction
Signal logging is the process for acquiring signal data during a real-time run,
stopping the target application, and then transferring the d ata to the host
PC for analysis. This is also known as real-time data streaming to the target
PC. You can plot and analyze the data, and later s ave it to a disk. xPC Target
signal logging sample s at the base sample time. If yo u have a model with
multiple sample rates, add xPC Target scopes to the model to ensure that
signals are sampled at their appropriate sample rates.
Note The xPC Target software does not support logging data with d ecimation.
Note xPC Target Explorer works with multidimensional signals in
column-major format.
Signal Logging with xPC Targ et Explorer
You plot the outputs and states of your target application to observe the
behavior of your model, or to determine the behavior when you vary the input
signals and model parameters.
This proc ed ure uses a mo del named
xpc_osc4.mdl as an example and
assumes you have created a targ et application and downloaded it to the target
PC. The
xpc_osc4.mdl is the sam e as the my_xpc_osc3.mdl tutorial model
with the x PC Target Scope block removed.
3-57