Example ASAM Framework Configuration XML File

NI VeriStand 2018 Help

Edition Date: May 2018

Part Number: 372846M-01

»View Product Info
Download Help (Windows Only)

The following example shows a top-level configuration file for the ASAM framework. This file serves as a container that defines all your ports, port configuration files, and mapping files. Refer to the ASAM website at www.asam.net for more information about programming with the ASAM XIL API.

<?xml version="1.0" encoding="UTF-8"?>

<FrameworkConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.asam.net/XIL/FrameworkConfiguration/2.0">

   <MappingFileList>

    <MappingFile Name="Mapping File">FrameworkMapping.xml</MappingFile>

   </MappingFileList>
   <PortDefinitionList>

   <!--The following element defines the name of the instance of the MAPort, the order in which the port is initialized and shut down, and the state of the port.-->
   <MAPortDefinition InstanceName="MaPort" InitOrder="1" ShutdownOrder="1" TargetState="eSIMULATION_RUNNING">

   <VendorName>National Instruments</VendorName>
   <ProductName>NI VeriStand ASAM XIL Interface</ProductName>
   <ProductVersion>2018.0.0</ProductVersion>
   <PortConfigurationFile>PortConfiguration.xml</PortConfigurationFile>

   </MAPortDefinition>

   <EESPortDefinition InstanceName="EesPort" InitOrder="2" ShutdownOrder="2" TargetState="eDISCONNECTED">

   <VendorName>National Instruments</VendorName>
   <ProductName>NI VeriStand ASAM XIL Interface</ProductName>
   <ProductVersion>2018.0.0</ProductVersion>
   <PortConfigurationFile>PortConfiguration.xml</PortConfigurationFile>

   </EESPortDefinition>

   </PortDefinitionList>

</FrameworkConfiguration>

Related Links

Example ASAM Port Configuration XML File

Example ASAM Framework Mapping Configuration XML File

WAS THIS ARTICLE HELPFUL?

Not Helpful