From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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
(776 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
(694 Views)

Thanks for the help.

0 Kudos
Message 3 of 3
(681 Views)