Configuring BMS Communication in the Vehicle Communication Toolkit (VCOM)
- 更新时间2024-10-31
- 阅读时长1分钟
Configuring BMS Communication in the Vehicle Communication Toolkit (VCOM)
Create a Vehicle Communications.xml file to configure the Battery Test System to communicate with the battery management systems (BMS) on your DUTs.
Complete the following steps to configure the Battery Test System to communicate with the battery management systems on your DUTs:
-
Add an XML file Vehicle Communications.xml within the folder
BTSPackages\TestStations\TestStationName on
the machine in your system that contains your test station packages.
Note You can use the template for a Vehicle Communications.xml file installed on the Lab PC at %Public%\Documents\National Instruments\Battery Test System\Toolkit\Examples\Templates\TestStation Package Files.
-
Populate Vehicle Communications.xml, using the following elements.
- <VehicleCommunications>—Top-level tag for the Vehicle Communications.xml file.
-
Ensure your test station XML configuration file includes the following
<Instrument> reference to Vehicle Communications:
<Instrument Name="VCOM" Type="Vehicle Communications" RootChannelPath="Targets/Controller/Custom Devices/VCOM" ConfigurationInstrument.ConfigurationPath="Vehicle Communications.xml"/>
-
Add a Ports section to each Socket section that lists
the ports associated with each socket. For example, if ports CAN3 and CAN4 are dedicated
to socket 2, add the following ports to the Socket definition with Index="2".
<Ports> <Port Name="CAN3" PortNumber="1" Type="CAN" /> <Port Name="CAN4" PortNumber="2" Type="CAN" /> </Ports>
Note The Port Name property should match the XNET name for the port in NI MAX.