User`s guide
Configuring the xPC Target™ and Vector CANape
®
Software
• Target Address —TargetIPaddressfortargetPC.Thedefaultvalueis
getxpcenv(`TcpIpTargetAddress'). Typically, you will want to leave
the default entry. Otherw ise , enter the TCP/IP address for the target PC.
• Server Port — Port for communication between target PC and XCP
server. The default value is 5555. This value must b e the same as the
port number you specify for the Vector MATLAB device.
6 Ifyouwanttousetheeventmodetoacquiresignaldata,setthepriority
of the
xcpserver block to be the lowest priority. For example, enter a
priority of 10000000. For Simulink blocks, the higher the priority number,
the lower the priority.
7 In the model Simulink window, click Simulation > C onfiguration
Param ete rs .
The Configuration P arameters dialog box is displayed for the model.
8 In the left pane, click the xPC Target options node.
The associated pane is displayed.
9 In the Miscellaneous options area, select the Generate CANape
extensions check box.
This option enables target applications to generate data, such as that for
A2L (ASAP2), for Vector CANape.
The Miscellaneous options are of the xPC Target options node should
now look like the figure shown.
10 Bui
ld the model.
14-5