12-08-2016 04:08 AM - edited 12-08-2016 04:10 AM
Hi,
I have a problem in TS.
What I except is test limit auto load by 'property loader'. A loop generate test case and also the test case name.
Of cause my test case name which auto generated match the name name in limit file.
But the problem is it looks like when property loader try to load limit file, it will also check following test case name to see if match.
Of cuase when property loader run, the loop does not run yet so test cases name are not created so error happen.
I'm not sure what I'm feeling is the truth but I want realize this feature. Is it possible?
fist pic shows the seq and Pre-expression for auto generate case name.
second pic shows the piece of limite file.
Thanks!
Nemo
12-08-2016 06:47 PM
Sorry, I had some typo.
First of all I should say 'What I expect is...' but not 'What I except'
12-12-2016 03:41 PM
Hi Nemo,
Can you post the structure of the ADC container?
(I'm assuming Locals.arrADC is an array of containers?)
Thanks,
Charlie Rodway | Principal Software Engineer | Certified TestStand Architect (CTA)
Computer Controlled Solutions Ltd | NI Silver Alliance Partner | GDevCon#1 Sponsor
12-12-2016 07:36 PM
Hi Charlie,
the arrADC is just an array of numbers.
I found it is hard to load by the property loader. So I use labview to load the file, then output to an array to TS.
That has worked for me.
Thanks,
Nemo
12-13-2016 01:35 AM
Use the property loader to load your limits into an array.
Then in your ADC step you can use the pre-expession to setup the limits of the step from your array using the FOR index to index the values out of the array
ie Step.Limits.Low = Locals.ADCLimits[Locals.index][0]
regards
Ray