01-10-2012 08:31 PM
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?
Solved! Go to Solution.
01-11-2012 01:17 AM
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.
01-11-2012 02:38 PM
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
01-12-2012 02:15 AM
Is there any reason why the first StationGlobals is written as
**<StationGlobals> Variable Value
01-12-2012 02:18 PM
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
01-13-2012 12:07 PM
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
01-16-2012 02:18 AM - edited 01-16-2012 02:19 AM
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.
01-16-2012 05:53 PM
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
01-17-2012 02:53 AM
Hi,
Can you also attach "PLPropertyLoader.ini" file from your TS Cfg folder ?
Thank you
ADP
01-17-2012 01:50 PM
Hi,
ini attached,
Regards,
Hugo