NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Property Loader Start / Stop Markers

I wont to use the same excel file to express different test limits for different test envirmonets. So within the excel file I used different start / stop markers in the following format
 
Monitor Limits
   <Limits>
END Monitor Limits
 
Monitor Limits Hot
   <Limits>
END Monitor Limits Hot
 
The Problem is when I call the Property loader and specify 'Monitor Limits' as my start marker, I get the limits in 'Monitor Limits Hot'.
 
It appears that teststand only does a 'find in string' function instead of 'match entire string' type function when looking for markers. and when it finds two entries that meet the 'find in string' criteria you get the data from the last set in the file.
 
The quick fix for this was to change the order of the limits sections in the file. Which fixes the problem, but i just wanted to post this message incase someone else runs into the same problem.
 

Message Edited by Kiebach on 12-14-2005 09:57 AM

0 Kudos
Message 1 of 3
(3,338 Views)
You could also change your start/stop markers to be unique.  Instead of
Monitor Limits
   <Limits>
END Monitor Limits
 
Monitor Limits Hot
   <Limits>
END Monitor Limits Hot

You could use:

Monitor Limits Cold
   <Limits>
END Monitor Limits Cold
 
Monitor Limits Hot
   <Limits>
END Monitor Limits Hot

and then in the property loader specify either "Monitor Limits Cold" or "Monitor Limits Hot".


----
I am the founder of CnCSoftwareSolutions. When not cleaning up baby drool, I write about test data or work on Vision, a tool for understanding your test data. Visit me at www.cncsoftwaresolutions.com
0 Kudos
Message 2 of 3
(3,326 Views)
Hi,
 
There is an example in the ..\TestStand\Examples\LoadingLimits\LimitsFromExcelFile folder that should help you.
 
Regards
Ray Farmer
Regards
Ray Farmer
0 Kudos
Message 3 of 3
(3,320 Views)