Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

How Do I Use the Multiple Numeric Limit Test Step Type?

Primary Software: TestStand
Primary Software Version: 3.0
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
How do I use the Multiple Numeric Limit step type? Where do I store the array of measurements returned by my code module? How can I use an expression to set the limits programmatically?

Solution:
The correct place to store the array returned from your code module is Step.NumericArray. The step type handles filling Step.Result.Measurement with the correct results in order to make the necessary comparisons.

You also need to define one or more sets of limits on the Limits tab of the Edit Multiple Numeric Limit Test dialog box, depending upon how the Data Source Array Options are set on the Data Source tab. To access the Edit Multiple Numeric Limit Test dialog box, right-click on the Multiple Numeric Limit Test step and select Edit Limits. It is possible to programmatically change these limits using expressions. The limits are stored in:

Step.Result.Measurement[XX].Limits.Low
Step.Result.Measurement[XX].Limits.High

where XX is the measurement set name in quotations (i.e. "name of limit") assigned when the limit was setup or the zero-based index. You can set new limits programmatically using these properties.

For more information about the Multiple Numeric Limit Test step type refer to the TestStand Reference Manual located at <TestStand>\Doc\Manuals\TestStandReferenceManual.pdf.

Related Links:
KnowledgeBase 2NE7K56E: How Can I Get the Name of a Measurement From a Multiple Numeric Step Type?

Attachments:





Report Date: 05/03/2004
Last Updated: 02/11/2007
Document ID: 392FT23J

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit