Setting up your Environment for Co-simulation with CarMaker HiL
This procedure explains how to set up your environment for co-simulation with CarMaker HiL.
- Request the CarMaker HiL license.
-
Install CarMaker HiL.
Important: For CarMaker HIL version inferior to 12.0.3, to be able to run a CarMaker HiL connector executable built on Ubuntu 22.04 on an XPACK4 machine through a Windows host, you must:
- contact IPG support to request a patch,
- copy the patch on the host Windows machine in C:\IPG\bin next to the ipg-install.exe file
- run the IPG installer and, in the Choose Products to Install window, tick the checkbox to install the XENO Patch glibc 2.35 for each CarMaker 12 version you need.
-
On the host computer, the computer you will be connecting to the Xpack4, copy the
license to:
- C:\IPG\etc if you use are using Windows
- /opt/IPG/etc if you are using Linux.
- Run CarMaker HiL as an administrator then configure the real-time setup.
-
If you are unable to run CarMaker HiL or are unable to do a network boot of the Xpack4
machine, configure the port rules manually then configure the real-time setup:
- Open Windows Defender Firewall.
- Click Advanced Settings.
- Create or modify the inbound and outbound rules to allow the following TCP and UDP ports in addition to the Communication Ports required for AVX:
- port 23 if you want to connect to Xpack4 via Telnet
- port 37
- port 67 (UDP only)
- port 69 (UDP only)
- port 111
- port 1058
- port 2049.
Note: When editing the profile, check all boxes. -
If you use a Windows machine as your host computer and want to connect to Xpack4 via
Telnet, check to ensure Telnet Client is enabled:
- Open Control Panel.
- Click Programs.
- Under Programs and Features, click Turn Windows features on or off.
- If Telnet Client is not enabled, check the box to enable it and Connecting to Xpack4 via Telnet.
- If you want to use a screen for debugging purposes, connect the required Xpack4 Display Port (DP1) to a screen Display Port In.
- Connect the Ethernet cable of the Xpack4 to the machine which holds the license using the recommended port (see Xpack4 documentation).
- Verify the network on which the Xpack4 is connected.
-
Modify the network properties of the Ethernet adapter connected to the Xpack4.
- In the Internet Protocol Version 4 (TCP/IPv4) Properties window, set the IP address to the one specified for Net Interface in the Realtime System Setup, for example, 192.168.0.1.
- In the Internet Protocol Version 4 (TCP/IPv4) Properties window, set Subnet Mask to one which is compatible with the specified IP address, for example, 255.255.255.0.
- Apply the changes.
- Restart your machine.