NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Assigning paramters to a sequence-call programmatically

Hello TestStand-users,

 

I'm using LabVIEW to create a sequence in TestStand. The creating of a sequence-call is working, but I've found nothing to assign e.g a FileGlobals container to the properties of the module of the sequence-call. 

The working steps are:

 

<Step Name="Call subSequence" Type="SequenceCall" Adapter="Sequence Adapter">
<Prop LookupString="Module.AsSequenceCallModule.SequenceName">pmax_V01</Prop>
<Prop LookupString="Module.SFPath">C:\\temp\\Meas_seq.seq</Prop>
<Prop LookupString="Module.UseCurFile">False</Prop>
<Prop LookupString="Module.SFPathExpr">False</Prop>
</Step>

 

Thanks in advance for any reply.

0 Kudos
Message 1 of 2
(740 Views)

Hi,

 

The Step variables are stored in the respective step properties.For the sequence call step its stored as below :

RaviShrigiri_0-1663347311146.png

 

You can access them as step.TS.SeqName.

 

Refer the APIs here to access the properties/variables :

C:\Users\Public\Documents\National Instruments\TestStand 2021 (32-bit)\Examples\TestStand API

 

Ravi

 

0 Kudos
Message 2 of 2
(713 Views)