Quantcast
Channel: NI TestStand topics
Viewing all articles
Browse latest Browse all 6524

file globals for many sequences

$
0
0

Hello All,

I am using file globals and producing a number of subsequences. I would like to use the same variable names in many of the subsequences. I would like all of the variables to be located in one file only. The structure of the fileglobals file indicatates a number of variables can be associated with its subsequence as I can see < subsequence name> above and below the sequences variables.

 

I dont want to produce a huge list of distinct variable names as this could get difficult to manage and prone to repetition of names.

 

The problem I have found is that when I call property loader it appears to ignore the subsequences section names and only loads the last entry in the file. as follows:

 

sequence file

<seq 1>

name: fred

 

<seq 2>

name: joe

***************

 

property loader action

get seq 1 >> name

***************

 

result

name = joe (expected fred, got joe)

**************

 

I asked property loader to get seq 1 name but it returned the last name... from seq 2

 

Advise Appreciated, Regards Chris

 

 

 


Viewing all articles
Browse latest Browse all 6524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>