Using dynamic signals with TestDrive
Question
How to use dynamic signals with Testdrive 2.8 ?
Answer
First, let's begin with some definitions :
- control signal : output of the console (or more precisely the input of a SM_ or SS_ subsystem, which comes from the console)
- acquisition signal : input of the console
- parameter : parameter of a block which is in a SM_ or SS_ subsystem (such as the value of a 'Constant' block, the gain value of a 'Gain' block, the Initial condition of an 'Integrator' block, etc...)
- dynamic signal : signal which is inside a SM_ or SS_ subsystem, and thus not available from the console. A dynamic signal is defined as being the output of a block.
By default, TestDrive 2.8 gives an access to the acquisition signals, the control signals and the parameters.

In order to have access to the dynamic signals, please follow the steps defined here :
1) Edit the Simulink model
Edit the Simulink model. In the SM_ and SS_ subsystems, assign a name to the signals (wires) you need to work with. This allows an easier identification of these signals later.
Save the model and build it with RT-Lab.

2) Select the dynamic signals
Once the model has been compiled with RT-Lab, open the Probe control panel (Tools --> Probe control), and open the Dynamic Signals panel

Browse the signal tree view and select the dynamic signals (drag-and-drop). Once the signals have been selected, validate by clicking on the Apply button.
Close the Probe control panel and close RT-Lab.

3) Run TestDrive 2.8
Execute TestDrive 2.8, create a new configuration (if needed) and run it. You can now have access to the dynamic signals you selected in the Probe control panel.

testdrive_default.pngmodel.pngprobe_control.pngdynamic_signal_panel.pngdynamic_signals_testdrive.png





