Setting Up XNET Database Support
- Updated2024-10-31
- 1 minute(s) read
If you added any XNET controlled devices in the Adding NI-XNET CAN/LIN Devices section, you need to add the database files to the Test Station Package files, and add an entry to the test station XML configuration file.
- Open the XNET Database file, nixnetAlias.xml. The default location for this file is the following: C:\ProgramData\National Instruments\NI-XNET.
-
Add an XNETDatabases section to the TestStation section of the XML configuration file.
Use the contents in the XNET Database file to populate this section. Change the
Path property so that the path is relative to the test station
XML configuration file. The following example demonstrates the structure of this. Notice
that the Path property only includes the database file name, which
tells the BTS Server to find the database file next to the test station XML configuration
file.
<XNETDatabases> <Database Alias="database_1" Path="database_1.dbc" BaudRate="0" CanFdBaudRate="0" CanIOMode="0" IgnoreApplicationProtocol="0" CanFdIsoMode="0"/> <Database Alias="database_2" Path="database_2.dbc" /> </XNETDatabases> - Copy the database files into the Test Station package folder according to the relative path specified in the XML in the previous step.