Example ASAM Port 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 an ASAM port configuration file for both the Model Access Port (MAPort) and the Electrical Error Simulation Port (EESPort). You must create an ASAM port configuration file before you can use the NI VeriStand ASAM XIL Interface.

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

<NIVSPortConfig>

    <Version Major="2018" Minor="0" Fix="0" Build="0">


<!-- The following code references the Testbench Test example project. Replace the following path with the path to your NI VeriStand project. -->

    <Project>C:\DataFiles\VeriStandProjects\TestbenchTestProject\TestbenchTestProject.nivsproj</Project>

    <ShowWorkspace>true</ShowWorkspace>

    <ShowUIManagerProject>true</ShowUIManagerProject>

    <EESPortConfig>

    <HWTriggerChannelList>

       <HWTriggerChannel>Targets/Controller/User Channels/HWTrigger</HWTriggerChannel>

    </HWTriggerChannelList>

    <SWTriggerChannelList>

       <SWTriggerChannel AutoReset="true">Targets/Controller/User Channels/SWTrigger</SWTriggerChannel>

    <SWTriggerChannelList>

    </EESPortConfig>

    <MAPortConfig>

    <TaskList>

   <String>Task100</String>
   <String>Task50</String>
   <String>Task10</String>

    </TaskList>
    <LogPostProcessPeriodMS>500</LogPostProcessPeriodMS>

    </MAPortConfig>

</NIVSPortConfig>

Related Links

ASAM Port Configuration Tag Reference

Example ASAM Framework Mapping Configuration XML File

C# Walkthrough: Using the Model Access Port to Read and Write Channel Values

C# Walkthrough: Capturing and Logging Channel Values

C# Walkthrough: Configuring and Executing Stimulus Signals

WAS THIS ARTICLE HELPFUL?

Not Helpful