NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Measurement name of custom multiple numeric limit test

Solved!
Go to solution

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

VipinrajKK_0-1631711510752.png

limit configuration

VipinrajKK_1-1631711560740.png

 

-Vipinraj KK

 

 

0 Kudos
Message 1 of 3
(749 Views)
Solution
Accepted by topic author VipinrajKK

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.

0 Kudos
Message 2 of 3
(667 Views)

Thanks for the help.

0 Kudos
Message 3 of 3
(654 Views)