NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Create Custom Step Type (CST) using ASAM XIL steps

I am trying to create a Custom Step Type consisting of multiple (pre, post and custom) ASAM XIL steps.

 

I add a Sub Step (Pre) and set the interface to .NET and select the AsamXilPlugin.dll as the Assembly. I select StepVariables.TargetScript+SetParameterValues (not creatable) as the Root Class.

 

I have no idea how to set the .NET Invocation such that it allows me to select the Create Script (initially set to In Configuration) or how to get the dropdown so that I can enter the strings in the VeriStand sequence to set.

 

I then want to add more pre and post steps to Load Script to Target, Start Script, Get Parameter Values, and Destroy Script on Target (to return it to the In Configuration state).

 

The purpose is to create a CST that allows me to do all of these behaviors without having to have 6 intermediate steps every time I want to call a VeriStand sequence which is the purpose of creating a CST.

 

If I can get the basic functionality described to work, then I want to add another sub step where the data is loaded from Locals for each of the passed parameters to the VeriStand sequence since that data is read out from a YAML file using a Python script.

 

Any help would be greatly appreciated.

 

Thanks

Randy

0 Kudos
Message 1 of 1
(230 Views)