10-09-2013 12:27 PM
Hello guys and girls.
I've been given a small task in TestStand 3.1 and I'm not sure how to do this.
I would like to programatically change the step limit (multiple numeric limit test) for a step before it is run. How can i do this? I read that someone suggested to use an ActiveX step to access the limits:
"TestStand 3.1 does not support API calls in expressions (I think that feature was added in TestStand 4.0). You need to use an ActiveX step instead. You can use an ActiveX step configured to call into PropertyObject.NumericLimit and call it on Limits.Low of the step you wish to set the property on."
I am, however, unsure how to do this exactly since I have never used ActiveX components in TS before.
If someone has some example code (or could write it) I would be very grateful.
-Kim
Solved! Go to Solution.
10-09-2013 01:30 PM
10-09-2013 01:57 PM
Hello
But there are no Step.limits.x entries in TestStand 3.1(?). This is the way I would normally proceed.
10-10-2013 04:05 AM
Hello
You are right, the limits can be changed in the pre-expression. I just looked in the wrong place.
Cheers.