NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How can i export/import limits from an external text file?

Hello,

i have ~1000 teststeps with limits in my testplan.

Now i want to import the limits from a textfile.

What do i have to do?

Create a StationGlobal for each limit and create a new teststep (which must be called 1000x) which reads an inifile and outputs the limit into the StationGlobal at start of testplan?
Something like: GetLimit("c:\limits.ini","teststep230_low", out value)

OR

Is there a builtin method to export all limits into a file and re-import this file automatically at teststart?

 

Thanks for help

0 Kudos
Message 1 of 3
(2,242 Views)

You can use the Import/Export tool (Tools>>Import/Export Properties...) to export your items and then use the Property Loader step to import them.

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

I should have noted that there are shipping examples that show how to do this. 

 

C:\Users\Public\Documents\National Instruments\TestStand 2014 (32-bit)\Examples\Built-In Step Types\Property Loader Step Type

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