VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

NI Veristand St Channel Value to ASAM XIL Set Variable Value

Solved!
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
(412 Views)

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

ZYOng_0-1708390538376.png

 

-------------------------------------------------------
Control Lead | Intelline Inc
0 Kudos
Message 2 of 6
(385 Views)

But can we pass the Channel value as expression?

0 Kudos
Message 3 of 6
(357 Views)
Solution
Accepted by topic author 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.

ZYOng_0-1708738482662.png

 

ZYOng_1-1708738501152.png

 

 

-------------------------------------------------------
Control Lead | Intelline Inc
0 Kudos
Message 4 of 6
(347 Views)

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
(321 Views)

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
(307 Views)