NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Reading Edit step details from a Pre-step

Hi

 

I'm trying to programatically read the VI module output names and associated step variables for a custom Edit Step, from within a Pre-step VI. Opening up a TestStand sequence (an old 3.1 version) in a text editor, I've found data blocks headed:

 

 [SF.Seq[x].Main[y].TS.SData.ViCall.Parms[z]] 

 

which include a 'Label' and 'ArgVal' and the values given are what I'm after. From Labview the closest I can get to this, from passing a sequence context, is Step.TS.SData.ViCall.Parms which I'm not sure is correct as I can't seem to expand it any further.

 

Very much appreciate any advice.

Thanks
Bruce

0 Kudos
Message 1 of 2
(4,011 Views)

Bruce,

 

I think at that point you would then be working with sub properties.  So using the API to handle sub properties would be the best way.  For instance the GetValString or GetValNum properties.

 

Hope this helps,

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 2 of 2
(3,978 Views)