NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Step Execution for Multiple Numeric Limit.

Hi,

 

 we are trying to use the CVI Adaptor using the Multiple Numeric Limit step. We need to execute the dll call and get the calculations done in the post expression so that we can use these values as a source for the data on which the numeric limits will act upon.

 

But it seems like the multiple numeric limit step compares the limits before it execute the post expression. Is that a correct? What is the best solution if that is the case?

 

Thanks,

Hiren

Hiren Patel
0 Kudos
Message 1 of 2
(2,738 Views)

HI.

 

Yes, it computes the status 'Pass, Fail' using the limits before it executes the post expression.  In this case you could do the following:

 

Make your CVI call to the DLL an 'Action' step.  Save the values it obtains to local variables.  Then you would have to add another step below this to make the comparsion.

 

In summary,

Action - CVI DLL Call ( return values to Locals )

Add another step with the Adapter as NONE -> Make this new step a Multiple Numeric Limit Step.  Use the values obtained from the DLL call as your values and you can then set the limits as needed.

 

PH

 

 

0 Kudos
Message 2 of 2
(2,736 Views)