02-22-2017 04:40 AM
Hello
I'm looking for a sample code on how to add limits to a Multiple Numeric Limits step at runtime from c#.
Depending of the DUT capabilities, not the same number of measurements are returned.
Best regards
Yannick Willener
02-22-2017 08:36 AM
Are they returned in an array of numbers? If so then you can just use the native step. Just assign the returning array to Step.NumericArray and on the Data Source tab set up like the following:
02-22-2017 09:03 AM
Thanks. How to set the Name, Limits ant the Comparison Type for each measurement?
Best regards
Yannick Willener
02-22-2017 05:39 PM
I'm not very good with C# but I created this example that does it explicitly in TestStand. Maybe it can give you some pointers or get you headed in the right direction?
Let me know if you have any questions about it. It is in TS 2010.
Regards,