This example shows how to view signals and tune parameters by using Vector CANape®. You must have already completed the steps in Prepare ASAP2 Data Description File.
You also must be familiar with the Vector CANape user interface. For information about the user interface, see the vendor
Build and download real-time application
Open Vector CANape.
Create a Vector CANape project with project name
Accept the default folder.
ex_slrt_cal_osc_slrt.a2l in your build folder,
create an XCP device named
Do not configure dataset management.
Select your local computer Ethernet adapter as the Ethernet channel
Accept the remaining defaults.
Upload data from the device.
ex_slrt_cal_osc_slrt, and then open
L_2D in separate display windows.
To make the waveform easier to evaluate, set the time and
For example, try the following settings for
y-axis min home value —
y-axis max home value —
Min home time-axis value —
Max home time-axis value —
Time duration —
Open the measurement list.
To set the required sample time for a signal, open the measurement properties for the signal. Select the required sample time from the measurement mode list.
The default sample time is the base sample time.
Add a graphic control on parameter
Start the Vector CANape measurement.
In Simulink® Real-Time™ Explorer, start the real-time application.
The signal windows show the four waveforms, corresponding to the displays on the target computer screen.
To shorten the ring time on
L_2D, set parameter
Kg to, for example,
As required, toggle between calibration RAM active and inactive.