Using the Configuration Tool
- Updated2025-10-10
- 14 minute(s) read
Use the Configuration Tool to configure a variety of different function modules in NI-VCOM, such as restbus simulation (RBS) and disassembly.
- Path of the communication database file
- Name of the NI MAX hardware port
- Parameters for the restbus simulation:
- Baud rate
- Channel name
- Specific functions to be activated
- CAN
- LIN
- Automotive Ethernet
General Settings
- Offline Core.log
- Online Core.log
- RBS.log
- 0: All
- 1: Warnings and errors
- 2: Only errors
Add a new event source by clicking + on the right side of Event Source under General Settings.
For every additional event source, the system incements the SysClock name. You can change this name.
Function Modules Configuration
Select a function module from the WebUI function modules list.
CAN Configuration
CAN configurations are available for NI-XNET CAN and CAN-FD instruments that NI MAX recognizes. You can configure more than one instrument.
If you have more than one instrument in your configuration, you can modify the name of each instrument. You can also add a specific Clock Source to the instrument if multiple are present in your configuration. Add one or more hardware ports to your configuration.
The Vehicle Communication Toolkit also supports virtual CAN on Windows and NI Linux Real-Time. Virtual CAN allows you to simulate a CAN port without physical hardware.
You can configure a virtual CAN port in the same way as a physical CAN port. You must also must define the <HWPort> tag in the format 1,1. The first number defines the port ID, which must be unique. The second number defines the bus ID, which different ports share. The default bus ID is 0. Refer to the NI-VCOM Virtual Device Example for more information.
Configuration of the Peers
You can add up to two peers on a configured port. Configure the peers under the hardware port. The port name of the hardware port is the name of the peer while generating the configuration XML file.
The configurable parameters are highly dependent on the Class of the peer.
- RBS: Enables the sending part of the residual bus simulation.
- Disassembly: Enables the receiving part and the disassembly part of the residual bus simulation.
- Active signals. Applies to CRC signals and ramp signals.
- Control signals. Applies to CRC signals and ramp signals.
- Increment signals. Applies to ramp signals.
Configuration of the Secure Onboard Communication Parameters (Optional)
NI-VCOM retrieves this information from the ARXML file. You can reconfigure the information by adding the secure onboard communication (SecOC) parameters to your hardware port configuration.
You can configure the following SecOC parameters:
LIN Configuration
LIN configurations are available for LIN NI-XNET instruments that NI MAX recognizes. You can configure more than one instrument.
If you have more than one instrument in your configuration, you can modify the name of each instrument. You can also add a specific Clock Source to the instrument if multiple clock sources are present in your configuration. You can add one or more hardware ports to your configuration.
The Vehicle Communication Toolkit also supports virtual LIN on Windows and NI Linux Real-Time. Virtual LIN enables you to simulate a LIN port without physical hardware.
You can configure a virtual LIN port in the same way as a physical LIN port. You must also define the <HWPort> tag in the format 1,1. The first number defines the port ID and must be unique. The second number defines the bus ID, which can be shared by different ports. The default bus ID is 0. Refer to the NI-VCOM Virtual Device Example for more information.
Configuration of the Hardware Port
You can specify the following values as channel properties for every LIN port:
A LIN master can schedule diagnostic frames in two different ways. In diagnostic only mode, it abandons the current schedule table while doing diagnostics. It first sends all the necessary master request messages and then requests all necessary slave response messages. Then it switches back to the currently set schedule table. In interleaved mode, the LIN master still schedules the current schedule table while doing diagnostics. However, every time it finishes the current schedule table, it inserts a diagnostic frame before restarting the schedule table. First, it sends all master request messages and then requests all slave response messages. Then it returns to normal scheduling.
Configuration of the Peers
You can add up to two peers on a configured port. Configure peers under the hardware port. While generating the configuration XML file, the peer takes the port name of the hardware port that the peer is defined under.
The configurable parameters are dependent on the Class of the peer:
- RBS: Enables the sending part of the residual bus simulation.
- Disassembly: Enables the receiving and disassembly part of the residual bus simulation.
The following signals are configured as auto signals (for more information, refer to Configuring a Restbus Simulation File).
- Active signals. Applies to CRC signals and ramp signals.
- Control signals. Applies to CRC signals and ramp signals.
- Increment signals. Applies to ramp signals.
Automotive Ethernet Configuration
Automotive Ethernet configurations are available for NI-XNET instruments that NI MAX recognizes. You can configure more than one instrument. To configure Windows correctly, follow the steps described in Automotive Ethernet.
To start the configuration, add Ethernet as a function module. Next, add Automotive Ethernet under the Ethernet module. Choose NI-XNET(TAP) to configure the port in TAP Mode. For more information, refer to Automotive Ethernet Tap Mode.
Configuration of the Hardware Port
You can specify the following values for every Automotive Ethernet port:
-
- None—Synchronization is not activated.
The following additional parameters are displayed if triggering is activated:
You can add a channel to configured hardware ports. The channel configuration for Automotive Ethernet is the same as the VLAN configuration for Ethernet instruments. Configure the used channels, VLANs, and IP addresses in Windows for the existing network adapter. To configure Windows correctly, follow the steps described in Automotive Ethernet.
You must use the same VLAN name for your channel as the one written in your ARXML database file. You can add ECUs to configured channels/VLANs.
You can configure the following ECU parameters:
Configuration of the Peers
- TX Peer: Transmitting peer.
- RX Peer: Peer that disassembles the received messages.
- AEthernet Peer: Mandatory peer for Automotive Ethernet simulators.
You can set the following additional parameters for a TX Peer:
The following signals are configured as auto signals. For more information, refer to Configuring a Restbus Simulation File.
- Active signals. Applies to CRC signals and ramp signals.
- Control signals. Applies to CRC signals and ramp signals.
- Increment signals. Applies to ramp signals.
-
- Rename Signal Active (optional)—Overrides default name of Active signal.
-
- Rename Signal Control (optional)—Overrides default name of Control signal.
-
- Rename Signal Increment (optional)—Overrides default name of Increment signal.
Configuration of a Service Discovery Delay
The following peer is optional. You do not need to configure the peer to simulate a residual bus simulation. The peer allows you to overwrite the Automotive Ethernet Service Discovery OFFER-CYCLIC-DELAY parameter given inside the network description file.
- Add Service Discovery Config under the Hardware Port parameter.
- Set the Offer_Cyclic_Delay parameter on the right side of the window. Setting a value overwrites the Offer-Cyclic-Delay parameter given inside the network description file.
Automotive Ethernet Tap Mode
The NI-VCOM Toolkit supports NI-XNET Tap mode for the XNET Automotive Ethernet cards. Review the NI-XNET documentation and become familiar with the corresponding settings in NI MAX before you set up a Tap mode scenario.
- Windows or a NI Linux system with XNET Automotive Ethernet card.
- NI-XNET version 21.5 or later.
Configure the settings and wiring of your hardware in NI MAX.
- Add Ethernet in Function Modules.
- Add NI-XNET to Ethernet.
- (Optional) Update Name after you add NI-XNET.
- Add a Hardware Port to NI-XNET.
- At a minimum, specify the Name, Cluster Name, Network Descriptor, and DeviceName for the hardware port.
- Add a Channel to the hardware port and specify Name.
- Add an RX Peer and specify its Name.
- Add a second AEthernet Peer and specify its Name.
Related Information
- CAN-BUS
The CAN RBS Module provides a complete CAN restbus simulation (RBS).
- Network Management
Network management (NM) controls ECU transitions between Bus Sleep Mode and Network Mode based on AUTOSAR specifications.
- Additional Functions
NI-VCOM provides additional functions, such as baud rate modification and bus load measurement.
- Configuring a Restbus Simulation File
The RBSConfig software tool can generate an RBS descriptor XML file, which you can specify for an RBS in the Configuration tool. For more information, refer to CAN BUS and LIN BUS.
- LIN-BUS
The LIN card controls of the LIN restbus simulation (RBS).
- Automotive Ethernet
The Automotive Ethernet communication module simulates and tests car components using flexible test configurations.