Error Executing ASAM XIL TestStand Steps

Updated Sep 13, 2021

Reported In

Software

  • VeriStand
  • TestStand
  • ASAM XIL TestStand Steps

Issue Details

I am trying to automate NI VeriStand using ASAM XIL Steps for NI TestStand. When I try to execute a sequence using these steps, I am receiving the following error:
Error executing substep 'Post'.
Error during loading of the requested Framework library occurred. [An assembly of National Instruments, version  could not be found]
Stack Trace:
   at ASAM.XIL.Implementation.FrameworkFactory.Framework.FrameworkFactory.CreateVendorSpecificFramework(String vendorName, String productVersion)
   at NationalInstruments.AsamXilSteps.AsamXilPlugin.StepWrappers.FrameworkCreateFromManifestStepWrapper.Execute(SequenceContext sequenceContext)
   at NationalInstruments.AsamXilSteps.Core.RuntimeManager.DoExecute(StepWrapperBase stepWrapper, SequenceContext sequenceContext)
   at NationalInstruments.AsamXilSteps.Core.RuntimeManager.ExecuteStep(SequenceContext thisContext, String stepWrapperId)

Inner exception:
An assembly of National Instruments, version  could not be found
Stack Trace:
   at ASAM.XIL.Implementation.ManifestReader.ManifestReader.SearchFrameworkImplementation(String vendorName, String productVersion)
   at ASAM.XIL.Implementation.FrameworkFactory.Framework.FrameworkFactory.CreateVendorSpecificFramework(String vendorName, String productVersion)

Error.png

Solution

This error is reported because the ASAM XIL assembly for the specific version could not be found. To fix this issue, make sure all of the following is done:
  • You have installed NI VeriStand for version of the project you are trying to automate.
  • If you are using step to create Framework or Target Script from configuration files, the Product Version has been specified in:
    • Configuration XML file. You can use Notepad or XML Notepad to edit.
ConfigFile.png
 
  • Framework Create or Target Script Create step.
​​​​​​​​​​​​​​StepSetting.png