NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

TestStand Property Loader doesn't load all properties

I am trying to use a Property Loader step to import properties from a csv file.
This is a step that used to work, then I added more properties to those that I want to read in.
Now all the FileGlobals items load, but none of the Locals items load.
Please can someone suggest a solution?

I shall attach a sample sequence file and properties file that demonstrate the problem.

Thank you

Nick Hewish
0 Kudos
Message 1 of 8
(5,192 Views)
Maybe you have to reconfigure the property loader step if you add new globals to the file. The only one that is automatic is the limit loader, I think.
0 Kudos
Message 2 of 8
(5,184 Views)
Yes, if you look at the attached files to my initial message you will see that I have itemised each value that I want to read from the property file.
But still I cannot import any of my local variable properties.

Nick
0 Kudos
Message 3 of 8
(5,179 Views)
Nick -
The comma at the end of the line "Main - START" is causing the problem. Not sure why, but I will report it. Note that if you edit the file in Excel, it might be adding it.
Scott Richardson
https://testeract.com
0 Kudos
Message 4 of 8
(5,174 Views)
Scott,

You're quite right - I had edited Properties.csv using Excel.
However, I have removed the comma after the start and end tags and am still unable to load the values for the Local variables.
What do you think might be the trouble?

Many thanks

Nick
0 Kudos
Message 5 of 8
(5,166 Views)
Scott,

P.S. I'm using TestStand 3.1
0 Kudos
Message 6 of 8
(5,165 Views)
Hi,

Try using the Import/Export dialog to generate you file, found in the Tools menu.
You can then do a compare to spot the problem.

I have had problem if you dont put all the headers, as define in the User Manual ie , ..etc, into the file, even if you dont use some of them.

Regards
Ray Farmer
Regards
Ray Farmer
0 Kudos
Message 7 of 8
(5,166 Views)
Ray,

Many thanks for your reply.

Yes, my properties file contained only the headings
<Locals>
... (values here not imported)
<FileGlobals>
... (values here imported OK)

When I added the heading that comes first in an exported file, <Step Name>, all my variables were read in.
So now my properties file contains the headings
<Step Name>
<Locals>
... (all values imported)
<File Globals>
... (all values imported)

Thanks again.
Nick
0 Kudos
Message 8 of 8
(5,141 Views)