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: 

Create Type NI_MultipleNumericLimitTest for local variable

I am using  Multiple numeric test in my seq &  documenting in case of   Seq fail

 

i.e when the  value is not in the limits

 

I am using for-each-loop step type for this

 

I want  a Local variable  of type  NI_MultipleNumericLimitTest      in my foreach (current element ) 

 

but am not able to generate   a local of tht type!!

 

what   measures to take to do so

0 Kudos
Message 1 of 3
(4,120 Views)

You cannot create a variable of a step type.  Step types can only be used to create steps.

 

What is your goal?  Maybe there is a better way to accomplish what you want.

 

If you are looking to dynamically change the limit set you need to use other types like NI_LimitMeasurmeent or an array of those.

 

Regards,

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 2 of 3
(4,112 Views)

hi,

 

its fine now 

 

I just used a container  for the   Current_Element  . 

I kinda jumbled up ,  hence thought  as the array is of type MeasurementTest

 

I shld  be using the  same type for  the variable   which is going to hold the element  

 

regards,

akshay

0 Kudos
Message 3 of 3
(4,097 Views)