Showing results for 
Search instead for 
Did you mean: 

NI Veristand St Channel Value to ASAM XIL Set Variable Value

Go to solution

 I have a TS project which was developed in 2016 versions so was using legacy VS steps in TestStand (Set/Get Channel, Set/Get Model Parameter Value etc).

Now am trying to upgrade the same sequence to 2020 version and ASAM XIL steps must be used .After checking the TestStand examples the only way to set channels is by creating Aliases for each channel. Is there any other way of setting/reading channel value by expressions? Expressions were used to select channels dynamically during running.


0 Kudos
Message 1 of 6

The shipping example of Framework Creation.seq will populate all available VeriStand channels.



Control Lead | Intelline Inc
0 Kudos
Message 2 of 6

But can we pass the Channel value as expression?

0 Kudos
Message 3 of 6
Accepted by alphy

@alphy wrote:

But can we pass the Channel value as expression?

Absolutely yes, the shipping example Framework Creation.seq is using Random as the expression for Set and local variable as the expression for Get.






Control Lead | Intelline Inc
0 Kudos
Message 4 of 6

Can we set Channel Names using Expressions?Example shows only Aliases can be set as Expressions. Not User Channels.

Earlier we were able to download model parameters using VS Step. Is there any step to download Model Parameters in ASAM XIL Steps?


0 Kudos
Message 5 of 6

Aliases are just one type of channel. VeriStand Engine and Gateway treat it as a channel.

Besides, Random and Local Variables are both expressions in TestStand.


To my knowledge, TestStand ASAM XIL Steps does not support model parameters. You need to use Stimulus Profiler and it can be automated using legacy API.

Stimulus Profile Does Not Update Model Parameters on VeriStand

Updating Model Parameters During Test Execution Using the Stimulus Profile Editor Tutorial

Legacy API — niveristand-python 3.1.0 documentation

Control Lead | Intelline Inc
0 Kudos
Message 6 of 6