NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I use property loader in a main sequence to load properties in subsequence?

Solved!
Go to solution

Hi, I have been trying to use the property loader to load test limits and local variabels into subsequences from the main sequence.

I can export all the properties for my main sequence and all the subsequences contained within by selecing <all sequences> in the export function.

When I try to load the exported file back in using the property loader I get differant errors depending on the format I exported/imported it with.

 

For text or csv files iget error -17100

 

"The file format is incorrect near the section 'StationGlobals'.  Make sure that you are using start and end markers correctly."

 

For an xl format I get error -18 

 

"Property loader step failed to import or export properties.
310 property value(s) were found.

43 property value(s) were imported from 920 row(s) of data"

 

There is no where near 920 rows of data or 320 properties in the exported file.

 

If i use the property loader to load properties in just main it works fine, is there extra formating I need to do to the file before importing it or is it not possible to load properties into a subsequence from a property loader in main?

 

 

0 Kudos
Message 1 of 14
(5,157 Views)

Make sure for the Start and Stop Marker you use the quotes eg "Start". With the Export/Import tool you dont use the quotes but the property loader you do.

 

 

Regards
Ray Farmer
0 Kudos
Message 2 of 14
(5,158 Views)

Hi Ray

 

Yes I use quotes in the property loader to identify my start and stop markers, attached is a copy of the type of the property loader file I am trying to load.

 

Regards

0 Kudos
Message 3 of 14
(5,150 Views)

Is there any reason why the first StationGlobals is written as

 

**<StationGlobals> Variable Value

Regards
Ray Farmer
0 Kudos
Message 4 of 14
(5,138 Views)

Hi Ray,

 

Thats my mistake, I was trying to comment out <station glaobals> to see whether that was the only error, it made no differance but from what I understand I need all the fields for the file to work.

Without the ** before station globals I was having the same issues.

 

Regards

 

Hugo

0 Kudos
Message 5 of 14
(5,122 Views)

Hi Hugo11,

 

Can you try moving the line "End_MainSequence" to the final line of the property loader file.

 

If that's not the source of your problem, I'd suggest double checking that your start and end statements are at the appropriate points. I didn't seen any others, but I might have missed something.

Potentially trying out these examples and building from there and checking to make sure they're still working is also another approach (http://zone.ni.com/devzone/cda/epd/p/id/5967).

 

Regards,

 

Michael M

NI Americas | AE

0 Kudos
Message 6 of 14
(5,110 Views)

What's happening with

 

Start_GetInverterInfo
<Step Name> Result.Measurement[0].Limits.Low Result.Measurement[0].Limits.High
MAC Address 

 

 

It doesn't appear to have any limits set.

 

One thing you could try is rebuilding the file using the Import/Export tool.

Regards
Ray Farmer
0 Kudos
Message 7 of 14
(5,096 Views)

Hi,

 

I have tried several sequences and building the propertyloader file using the export tool,

Moving the End_Mainsequence to the bottem did not help.

I can load values into a single sequence with no problem it is only when I try to load properties into a sub sequence from the main sequence that I have issues.

Attached is a more simple example of what I am trying to acheive. 

 

Kind regards,

 

Hugo

 

Download All
0 Kudos
Message 8 of 14
(5,082 Views)

Hi,

 

Can you also attach "PLPropertyLoader.ini" file from your TS Cfg folder ?

 

Thank you

ADP

Adarsh
CLA - Certified LabVIEW

Architect
https://www.youracclaim.com/badges/4871da75-1b8b-422a-a881-9ab206d2d36d/public_url
0 Kudos
Message 9 of 14
(5,073 Views)

Hi,

 

ini attached,

 

Regards,

 

Hugo

0 Kudos
Message 10 of 14
(5,061 Views)