NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I load Variables from a file ?

Solved!
Go to solution

Hello,

 

I'm searching means to load automatically FileGlobals variables used in all the sequences from my "Test sequence" :

 

Test sequence

   |

   | -- Sequence 1

   | -- Sequence 2

   | -- ...

   | -- Sequence N

 

in the aim to only have to change the .txt or .csv file (or .xls...).

 

Thank you.

 

0 Kudos
Message 1 of 5
(4,009 Views)

 

You can use Tools --> Import/Export properties tool.

 

If you want to do it dynamically use Property loader step type does that.

Refer property loader example ( In the example folder of TestStand).

0 Kudos
Message 2 of 5
(4,007 Views)

Hello,

 

Thank you for your answer.

 

I did but, maybe I'm wrong, this tool loads only properties of variable, not the variables. I would like to create these variables dynamically when I load the subsequence...

 

I look one more time the example ... 😉

0 Kudos
Message 3 of 5
(4,004 Views)
Solution
Accepted by TestStander

If you are asking to create variables dynamically you can refer this link :

 

http://forums.ni.com/t5/NI-TestStand/Is-there-a-way-to-generate-variables-while-in-the-sequence/m-p/...

0 Kudos
Message 4 of 5
(3,999 Views)

Thank you.

 

I'll do with these commands.

0 Kudos
Message 5 of 5
(3,991 Views)