10-31-2005 08:08 AM
10-31-2005 09:40 AM
Chris,
Since your code module returns two arrays and you do not want to call the module twice you could have the LabVIEW multiple numeric limit test step to validate one of the arrays and have a None multiple numeric limit step to validate the second array. You have to send one of the arrays to a local or global variable so you can access it from the None multiple numeric limit step.
You could even execute these steps in a separate sequence and call it using a Sequence Call step if you want to see all the process as a single step.
Another option would be to create your own multiple numeric limit step type in order to support two different arrays as the data source at the same time. This solution requires more work from you. You could take the existing multiple numeric limit step type code as a starting point.
You can fin the code under <TestStand>\Components\NI\StepTypes\CommonSubSteps.
If you plan on modifying the code it is better to make a copy under <TestStand>\Components\User\StepTypes and modify it there.
This will prevent future upgrades from overwriting your changes.
If you have any question let me know.
Hope it Helps.
Antonio Lie.
10-31-2005 09:44 AM
Hi,
Easiest way would be to retrieve your data using an action step rather than a Test Step, splitting the array into two seperate arrays and writting the two arrays to two TestStand Local arrays.
Then test each array in two seperate steps, using the None Adapter as the MultpleLimitTest step.
Hope this helps
Regards
Ray Farmer