NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How is the order of parameter values for dynamic sequence calls stored?

Hello,

 

we are calling a subsequence of an external sequence file dynamically by expression.

Initially there was a misunderstanding in the expected order of the parameters, which lead to this:

kghzvi_0-1666271652841.png

Notice the Error and Traceability containers are mixed up between parameter names and values. This is the initial position.

Now as a fix, the order for parameters in the subsequence was switched, expecting the parameters to match afterwards.
After doing that and reloading the sequence prototype in the sequence call, the situation is this:

kghzvi_1-1666271878852.png

Notice not only the order of parameters switched, but also the order of values.

This is interesting because if the prototype is not reloaded, the values are actually passed to the correct container at runtime.

My take from that would be, that during edit time the parameter values are referenced by the name of their parameter, while at runtime they are referenced by their index in the parameter list.
Which seems to be unintuitive to say the least. I could be misinterpreting the situation though.

 

Can somebody explain this?

Stefan

0 Kudos
Message 1 of 1
(550 Views)