From Friday, January 17th 11 PM CDT (January 18th 5 AM UTC) through Saturday, January 18th 11:30 AM CDT (January 18th 5:30 PM UTC), ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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,095 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,093 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,090 Views)
Solution
Accepted by topic author 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
(4,085 Views)

Thank you.

 

I'll do with these commands.

0 Kudos
Message 5 of 5
(4,077 Views)