09-15-2021 08:16 AM
Hi,
I have created a custom step type using multiple numeric limit test. In that there is a configuration window where I can choose the signal names from array of combo box. Can anyone suggest how to add all the selected signals in limit tab and the signal name as measurement name. By default its showing Measurement 0 , Measurement 1 ... .
I have two requirement here.
1. After configuration , I need all the signals under limit tab.
2. The measurement name should be as per the selected signal names.
Configuration Window
limit configuration
-Vipinraj KK
Solved! Go to Solution.
11-10-2021 12:11 AM
Hello,
during your call of your configuration window you could pass the step as object. (You also have to import the TestStand.Interop.Api.dll)
your_function(step as NationalInstruments.TestStand.Interop.API.Step)
So you can use
step.AsPropertyObject.GetPropertyObject("Result.Measurement[0]", 0).Name
to configure the name of the measurement and also all the other probertys of the given step.
11-11-2021 05:21 AM
Thanks for the help.