02-16-2024 10:30 AM
This doesn't seem to work with the new property loader syntax. Using TestStand 2021 - 64bit.
Create an array (2 elements) Locals.Ports in my sequence.
Property loader syntax : Tab Delimited file.
<PropertyGroup>
<PropertyGroup name='Process Setup' id='914b01e3-2b42-43b5-8293-74c56498c5f9' description='Description for Group 1'>
<Sequence> <Category> <PropertyLookup> <Value>
ProcessSetup {Locals} Ports[0] {String} com6
ProcessSetup {Locals} Ports[1] {String} com3
<PropertyGroup>
Here is what I get. Only wants to load the last item in the array. It will error if I try to select the [0] index to load.
Possibly a limitation of the properly loader but since you could do it with the old type, I wouldn't think support would be removed.
Am I missing something?
Thanks,
PH
Solved! Go to Solution.
02-16-2024 11:47 AM
Hi ,
I tried with 2021 64 bit version.
I am not seeing this restriction.
But i am seeing the following difference in the exported file :
------------------
<PropertyGroup name='Group 1' id='d2635d4d-c1cf-4b7d-88c6-85400e4928a2' description='Description for Group 1'>
<Sequence> <Category> <PropertyLookup> <Value>
MainSequence {Locals} Ports {String [0] .. [1]}
MainSequence {Locals} Ports[1]
MainSequence {Locals} Ports[0]
<PropertyGroup>
------------------------------
Try re creating this file from the import/export tool or add the above line.
Ravi
02-16-2024 04:06 PM
Thank you Ravi.
That the solution. I need to remember to 'export' the properties to get the formatting correct first, instead of just adding the entries directly in the text file.
Thanks
PH