01-17-2012 08:25 AM
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
01-17-2012 11:04 AM
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