NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to change steptype parameter programmatically...

Dear TestStand-Experts,

I just tried
unsuccessfully to find a solution for the following task…

The plan is to generate nested sequences
programmatically. Within the  lowest sequences I have to use custom steptypes ( the steptypes  are working with a <None> adapter, the LabVIEW code is running under Substeps > Post-Step). I know, that I can copy or clone a step, but I could not find a way  to change the parameter values for the post-step programmatically yet.

Thank you for Your thoughts…  and mayby even for a short sample…
  ;-))

Greetings from Germany,

Norbert

Download All
0 Kudos
Message 1 of 2
(3,461 Views)

Hi,

 

I don't know if this is possible with TS.

Btw the other question is does this make sense ?

In my opinion it does not. You should use the post-substep as a framework.

for processing fixed data in fixed in environemnt. The CodeModules will provide

these data from independent sources like DMM, CAN , Serial and so on.

Just look on the NumericLimitTest. Does not care from where InputData comes.

It processes very time Step.Numeric.

 

If i look on c.png i will see the same! Your data will allways come from Step."xy" 

That means can also access them in your VI via SequnceContext only.

So the only parameter you need is the Context!  Accessing the Steps variable should be

done in the vi.

 

Hope this helps and

Grüsse vom Bodensee

 

Juergen

 

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 2 of 2
(3,431 Views)