User`s guide

Signal Logging to a Disk Drive
3-41
7 Do one of the following:
- Click
Apply to apply the changes to your model and leave the dialog box
open.
- Click
OK to apply the changes to your model and close the Scope
parameters
dialog box.
When you modify anything in the
Scope parameters dialog box, you must
click the
Apply or OK button for the changes to take effect. Also, you must
rebuild your real-time application before connecting and starting a real-time
application.
If you do not rebuild, an error dialog box will open. If you do not click
Apply,
your executable will run, but it will use the old settings.
Entering Signal and Triggering Properties
Data is saved to a disk drive by first saving the data to the MATLAB workspace
through a Simulink Scope block. Signal and triggering properties need to be set
when running a real-time application.
After you create a Simulink model and add a Scope block, you can enter the
signal and triggering properties for data logging to a disk drive. This procedure
uses the Simulink model
rtwin_model.mdl as an example, and assumes you
have already loaded that model:
1 In the Simulink window, and from the Tools menu, click External Mode
Control Panel
.
The
External Mode Control Panel dialog box opens.
2 Click the Signal & Triggering button.
The
External Signal & Triggering dialog box opens.
3 Click the Select all button. From the Source list, choose manual. From the
Mode list, choose normal.
The
X under Signal selection designates that a signal has been tagged for
data collection, and
T designates that the signal has been tagged as a trigger
signal.