NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Exporting variables programmatically.

I've noticed there is an example in TestStand 3.1
C:\Program Files\National Instruments\TestStand 3.1\Components\NI\Tools\GenericImportExport.seq which shows how to bring up the Import Export Properties dialog box from a step.
My problem is that when I try to use this step in my code I receive an Error:-17306 message.
All I want to do is export a couple of variables during my sequence.

Any suggestions welcomed.

Thanks,

Lukasz
0 Kudos
Message 1 of 2
(3,250 Views)
Lukasz -
The sequence in the sequence file that you reference is the implementation for the "Import/Export Properties..." item in the Tools menu. It expects information to be defined in the context that only exists when a top level sequence. It is also a dialog not a programatic interface.

NI does not have any shipping step type to do programatic exporting of property information, just importing. The only low-level recommended option available is PropertyObject.GetXML().

Scott Richardson (NI)
Scott Richardson
https://testeract.com
0 Kudos
Message 2 of 2
(3,250 Views)