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,128 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,120 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,105 Views)