NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Reading Property Loader data via API

Anybody have examples on how to read data from spreadsheet using PropertyLoader API?

 

Thanks in advance.

0 Kudos
Message 1 of 4
(1,127 Views)

Hi, 

 

I don't know if there is a particular API for this, on the countrary I'm very curious to learn more about it and where to find it. If you  need only to import a file in TestStand with the Property loader step you can specify, in a drop down menu, what kind of file you want to read: txt, csv and  xlsx.

Below i report to you two links that can help. 

 

https://zone.ni.com/reference/en-XX/help/370052AA-01/tsref/infotopics/redesignedproploader/

https://zone.ni.com/reference/en-XX/help/370052R-01/tsref/infotopics/propertyloaderplugins_fileforma...

0 Kudos
Message 2 of 4
(1,094 Views)

Thanks miclab for the response.

 

I came across some PropertyLoader DLLs in the TestStand bin folder, but not able to find a way to read the data just yet.  For instance, I want to be able to read the names and values under the defined Locals section.

 

I'm aware of the PropertyLoader step to add to a sequence.  However, I'm more looking to read via the API to perform some other tasks/analysis.

 

I'll keep looking and let you know what I find.

 

Thanks

0 Kudos
Message 3 of 4
(1,092 Views)

I am very interested in this topic too.

 

I exported the StationGlobals as excel file. This excel file will be used by several workstations. Currently I use the property loader step type in a sequence to load the values from the excel file, but I dont want to load the values with every execution. Instead the values should be loaded when I start my application. 

 

 

0 Kudos
Message 4 of 4
(822 Views)