Limit testing

I'm trying to get an upper and lower limit to display with dynamic dynamic on waveform chart 2 of the attached VI.  The help in the vi states that there should be 4 outputs available to the plot, the original plot, the error plot and the upper and lower limit.  I am absolutely unable to get the dynamic dynamic data (plot 1) to plot on the same graph as the limits after 2 days of effort.  Any clue would be greatly appreciated.  Thanks in advance.
Attachments:
T1889-7A_100704.vi ‏82 KB

Duplicate Post.

Similar Messages

  • Is there any differnce between the Numeric Limit Test source code from TestStand 3.0 to TestStand 3.1? How to get the source code for the Numric Limit Test for both the versions?

    I need to know the differnece between the Numeric Limit Test between the TestStand version 3.0 to 3.1. If there is any differnec in the source code how to find it out? If somebody has the code can you share it?
    Thanks,
    Jeyan

    Hi,
    I don't believe there are any differences between the two versions. But you can check the source code for the Numeric Limit Test in TestStand\Components\NI\StepTypes\CommonSubsteps. But the main part of the step is the Code Module and this bit the users supplies this.
    What has prompted this question?
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • The "Edit Numeric Limit Test" help page is wrong

    The last four limit types incorrectly say "and" where they should say "or" in the limit comparison.  The software gives the correct information in the status line just below the limit type editing screen, only the help file is incorrect.

    David@Work -
    Thanks a ton for reporting this!  I went ahead and documented this for fix in a future version of the software, and I also documented that the Multiple Numeric Limit Test documentation is incorrect, as well.
    For your reference, this was reported to R&D #118475 for further investigation and fixing. 
    Thanks again for your feedback!
    Derrick S.
    Product Manager
    NI DIAdem
    National Instruments

  • Multiple Numeric Limit Test - Evaluate Post and Status Expression

    We have a Multiple Numeric Limit Test where the limits for one of the measurements is a function of one of the other measurements.
    In the Post-Expression there are two expressions that set the low and high limit based on one of the readings.
    But the comparison does not seem to be using the calculated limits.
    The report file shows the correct calculated Low and High Limits, and shows the measured reading as being in between the Low and High limit, but fails that measurement. I feel the Status Expression is using the default limits that are out of range.
    The post expression looks like this
    Step.Result.Measurement[2].Limits.Low=Step.NumericArray[1]*1.9,
    Step.Result.Measurement[2].Limits.High=Step.NumericArray[1]*2.1
    In Table 3-4 "Order of Action that a Step Performs", Evaluate Post-Expression (Action #15) is before Evaluate Status Expression (Action #16), but it seems that is not the case.
    Or am I changing the wrong Low and High Limits. Am I just changing the Limits used in the report file and not the limits used for comparison?
    Again the correct low and high limits are in the report but not used for comparison. 
    Thanks

    Digging into the NI step type for Multiple Numeric Limit Test, I find that the comparison is done at Post-Step substep which is before my Post Expression is evaluated to set the correct limits.
    So I have added code to my VI module to set the limits after taking the measurements but before returning to TestStand.

  • Custom Looping Multiple Numeric Limit Test SequenceFilePostStepFailure

    Hi
    I am using a custom loop on Multiple Numeric Limit Test. The SequenceFilePostStepFailure callback is called each time the loop fails and called again when the step fails.
    I want to do something (not relevant for this question) when it is looping and something else when the step fails. How do I know the difference? Is there any flag to look for?
    I have tried looking at several variables under RunState but haven’t found the right one. Is there one?
    Thanks in Advance
    Kim

    Kim,
    Try Runstate.Caller.Step.Looptype you can compare this to NoLooping.  If NoLooping then the step doesn't loop.  You can also use Runstate.Caller.Step to get a Step object and then just use the API calls to manipulate it.  You can read about it in the TS help.  To get the loopindex try: Runstate.Caller.Loopindex.
    Both should be ran in the SequenceFilePostStepFailure Callback.
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • Execution order of Multiple Numeric Limit Test?

    What is the execution order of "Multiple Numeric Limit Test" in TestStand 2010?
    I am using a custom steptype of Multiple Numeric Limit Test. I want to manipulate the input parameter. How can I do that. I am not interested in making a new steptype. I am writing in Post-Expressions and the data is manipulated as they should but it is not evaluated. I is evaluated before the Post-Expressions executes.
    For example I am writing: Step.NumericArray[0]= Step.NumericArray[0]*1000/(2.5-Step.NumericArray[0])
    The execution order when looking at the TS manual at page 3-13 is Evaluate Post-Expression before Evaluate Status expression. But it is not what I see. I have also tryed using the more simple Numeric Limit Test and it works as I expect it to according the manual.
    Anyone knows about any workaround for that?

    Hi Ray
    Thanks for your reply
    I have tried writing what you are suggesting: Step.Result.Measurement[0].Data= Step.Result.Measurement[0].Data*1000/(2.5-Step.Result.Measurement[0].Data)
    Still it evaluates the step before the post-Expression. When I am looking at the variables at runtime the Step.Result.Measurement[0].Data is having the correct value but it seems to evaluate the step before the Post-Expressions.
    Any other suggestions?

  • Can I exclude measurement (of multiple numeric limit test) from results ?

    I'm working on test where instrument returns multiple results at one call.
    I use NI MultipleNumericLimitTest -step type (TS 2.0.1).
    In some cases I'd like to exclude certain measurement from the results.
    I could do this for example by setting Comparison type of selected measurement to "No Comparison", so that this measurement is assumed to PASS always.
    Is there any property flag or any other way to exclude measurement from the results completely ?
    (So I don't want this measurement to affect on multiple limit test status or to appear in the report)
    cheers,
    Masi

    Hi!
    Yes, there is a property that you can set/reset that specifies whether the property appears in the report or not.
    1. Right click on your multiple numeric step and select View Contents
    2. From the tree view, browse to YourStep->Results->Measurement.
    3. Right click Measurement and select properties.
    4. Click the Advanced button and look for the PropFlags_IncludeInReport flag and uncheck it.
    That's it, now your measurements will not appear in the report. If you want some of the measurements (but not all) to be included in the report, then browse to the specific measurement YourStep->Results->Measurement[i], and check the PropFlags_IncludeInReport flag for that property.
    I hope this helps. Let me know if you need more information.
    Marcela.

  • Overriding Result Status of a (Multiple) Numeric Limit Test

    I want to be able to change the pass/fail status of a numeric limit test from a CVI DLL, whilst still displaying the numeric results in the report. I have tried ResultStatus, StatusExpression and many others but they all seem to do nothing or get replaced by the result of the numeric limit evaluation. Is there a method of supressing the numeric limit evaluation or prefferably performing the individual comparisons but overriding the overall result.
    TIA,
    Dave

    You would have to do the overriding in TestStand. On your Test Step, open the Properties page and go to the Expressions tab. At the bottom you will see the Status Expression box. This is where the limits are compared to the measured value to determine pass/fail. You could modify the code here to have Step.Result.Status be either "passed" or "failed". The actual numeric value measured would not be changed.
    - tbob
    Inventor of the WORM Global

  • Problems with Multiple Numeric Limit Test

    Hi,
    I'm trying to use the MultipleNumeric Limit test and I have problems with it
    1) Since I use TestStand 3.1, is it recommended to uses the new type template rather than the legacy one?
    2) When you let TestStand creat the test code for you it gives you the following:
    // The following code shows how to access a property or variable via the TestStand ActiveX API
    // To use this code you must add a parameter "struct IDispatch *seqContextDisp" to this function
    // and pass a sequence context to it.
    // tsErrChk(TS_PropertyGetValNumber(seqContextCVI, &errorInfo,
    // "Step.Result.Measurement[0].Limits.Low", 0, &lowLimit0));
    I would appriciate if anybody can show me an example using that. I just don't understand it!!
    Cant't I just pass the seuence context parameter as follow: 'CAObjHandle seqContextCVI' ?

    I am using Testand 3.2
    Most of my tests have a single result value.
    However, Some require more than one result value (i.e two).
    I would like to specify a "multiple result test step", and assign limits to each result.
    So far I can only find silly solutions to this problem:
    1. Feed in teststand  reference into my test.
    2. Use active X !??
    3. Create custom local variable array and then test each result in post tests..
    The above solutions are dumb.
    Can someone provide a proper solution to creating a test step with multiple results.
    Thank you.

  • Different decimal point character for numeric limit test vs multiple numeric test with database logging

    Hi all,
    I have a problem with decimal point character and database logging.
    I've deselected "Use Localized Decimal Point" in Station Options->Localization. Teststand should now use "." as decimal point character (ignore the "'s).
    When logging to database this is only true for Multiple numeric limit test results, not for Numeric limit test results.
    Numeric limit test results use "," as decimal point character where it should be "."
    I can't trust the localization settings on the PC as different endusers might have different settings.
    Example:
    (STEP_NAME and PROP_RESULT.DATA)
    Numeric limit test 1,50127667932332
    Multiple numeric limit test result_1 1
    Multiple numeric limit test result_2 1
    Multiple numeric limit test result_3 10.0304317
    I've changed the Limits->Numeric format for each test but this change is only applied to the report, not the database result.
    Read the manuals but didn't find anything...
    Have I missed something obvious, or is this some kind of bug?
    Teststand version is 2010.
    Windows versions are XP SP3 and Win7. Same behavior on both OS.

    When something is logged to the database as a number, the database is probably storing it in a way that is independent of any sort of decimal point localization. When you view the items in the database however it is probably going to show you the number based on the current locale settings. This is likely purely cosmetic, for display purposes.
    -Doug

  • Notice -- Fix for Multiple Numeric Limit Test Status in TestStand 2.0.1

    Dear TestStand Customer:
    National Instruments is committed to product quality and customer
    satisfaction. As part of our commitment, we want to ensure your success
    with our products by delivering industry-leading support and immediate
    information regarding issues potentially affecting you. We discovered an
    issue in TestStand 2.0.1 that may affect the integrity of some test
    results. This issue affects TestStand users meeting both of the following
    criteria:
    1. You are using sequence files with instances of the multiple numeric
    limit test that were saved in TestStand 2. 0.
    2. You have recently upgraded these sequence files from TestStand 2.0 to
    TestStand 2.0.1.
    For the complete problem overv
    iew, please visit
    http://digital.ni.com/express.nsf/express?openagent&code=exjaxg
    In order to immediately remedy this problem on current TestStand 2.0.1
    installations, download the corrective patch at
    http://digital.ni.com/express.nsf/express?openagent&code=exjaxg To prevent
    this issue from occurring in future installations of TestStand 2.0.1
    development and deployment systems, we are creating a new TestStand CD,
    version 2.0.1f1, which we plan to send to all existing TestStand 2.0.1 and
    Developer Suite Test Edition customers with TestStand 2.0.1 during the next
    two to three weeks. If you have a TestStand 2.0.1 CD, please replace it with
    the new TestStand 2.0.1f1 CD.
    Thank you for your patience and understanding in this matter. We remain
    committed to your success and will continue to inform you of any issues
    potentially affecting you in the future. If you have any questions, please
    call me at (512) 683-5880 or email me at mailto:[email protected]
    Best re
    gards,
    Richard McDonell
    TestStand Product Manager
    National Instruments
    (512) 683-5880 Office
    (512) 683-5569 Fax
    mailto:[email protected]

    This issue has been resolved in TestStand 3.0. For more information on TestStand 3.0, please visit ni.com/info and enter "teststand3".
    Regards,
    Richard McDonell
    NI TestStand Product Manager
    National Instruments

  • Property Loader and Multiple Numeric Limit Test

    Hi!
    I'm trying to export the limits of all numeric limit tests im my sequence.
    I've no idea what i'm doing wrong, but i fail with exporting the limits of the multiple numeric limit tests. There are only the limits of the "normal" numeric limit tests in my export.
    Could someone please explain me how to export also the limits of the multiple numeric limit test?
    (TS 2013)

    when defining what to export, it is usually easiest/cleanest if you can explicitly define all multiple numeric step measurements as explicit indixes? For example if your MNL step has 2 measurements defined, you'd want to export 4 additional matches...
    Step.Result.Measurement[0].Limits.Low
    Step.Result.Measurement[0].Limits.High
    Step.Result.Measurement[1].Limits.Low
    Step.Result.Measurement[1].Limits.High
    ...and so on for more indexes....
    note how the pattern is different from the regular
    Step.Limits.*
    by default when you try to export using the '>' buttons for MNL steps, TestStand will usually try to help by generating an incomplete/invalid expression of:
    Step.Result.Measurement[?].Limits
    which it expects you as the user to fix before proceeding, however the '?' is often overlooked, because it's so small!
    some people prefer to simply export the entire Step.Result.Measurement.* to the file because they'd prefer not to define array indexes, but this will log the explicit XML for the container values, which may not be as easy for end users to work with... your mileage may vary. Good luck!
    -Elaine

  • Dynamically configure multiple numeric limit test measurements

    I seek to dynamically (programatically) configure a multiple numeric limit test such that I may set / increase / change the number of measurements in the step during execution. For example, I'd like to setup the step for 5 measurements:
    M1, M2, M3, M4, M5 with limits 4<=x<=13.
    I'll set the result data to {1,2,3,4,5}.
    I can successfully set:
    MyMultipleNumLimTestStep.ExpectedNumMeas = 5
    MyMultipleNumLimTestStep.NumericArray (Number of elements to 5)
    MyMultipleNumLimTestStep.DataSourceArray (Number of elements to 5)
    MyMultipleNumLimTestStep.Result.Measurement (Numer of elements to 5)
    Following that, I can access the individual measurement property objects (by offset) and set the Name, Limits.Low, Limits.High, etc...
    During execution, I can view the step variables to see the values getting set correctly.
    BUT, in the report, I only see measurement name, status and the measurement value. NOT the units, limits, comparison type.
    Step
    Status
    Measurement
    Units
    Limits
    Low Limit
    High Limit
    Comparison Type
    AmpMatchTest
    Failed
    Measurement:
    M1
    Failed
    1.000
    M2
    Failed
    2.000
    M3
    Failed
    3.000
    M4
    Passed
    4.000
    M5
    Passed
    5.000
    Take note, prior to execution, I have no entries defined in the Limits tab of the step settings for this step. If I were to define, say, two steps and run again:
    Step
    Status
    Measurement
    Units
    Limits
    Low Limit
    High Limit
    Comparison Type
    AmpMatchTest
    Failed
    Measurement:
    M1
    Failed
    1.000
    dB
    4
    13
    GELE(>= <=)
    M2
    Failed
    2.000
    dB
    4
    13
    GELE(>= <=)
    M3
    Failed
    3.000
    M4
    Passed
    4.000
    M5
    Passed
    5.000
    If I define >5 entries, my code will limit the result to 5. Any ideas?
    Thanks,
    Derek

    Hi jigg.
    I also need to configure a multiple numeric limit test programatically. Unfortunately your solution seems not to work (in Teststand 2013). Also with your code I get limits and comparsion entries in the report only for the first measurement. This is the one already existing in the step configuration.
    Step
    Status
    Measurement
    Units
    Limits
    Low Limit
    High Limit
    Comparison Type
    Dynamic Call
    Passed
    Measurement:
    AllParts
    Passed
    1
    1 = Pass
    1
    EQ(==)
    Another Part
    Passed
    1
    Part 20
    Passed
    1
    Part 2
    Passed
    1
    Part 1
    Passed
    1
    If I add a second measurement in the step, this one is shifted (like expected) and shows the limits and comparsion in the report.
    Step
    Status
    Measurement
    Units
    Limits
    Low Limit
    High Limit
    Comparison Type
    Dynamic Call
    Failed
    Measurement:
    AllParts
    Passed
    1
    1 = Pass
    1
    EQ(==)
    Another Part
    Passed
    1
    Part 20
    Passed
    1
    Part 2
    Passed
    1
    Part 1
    Passed
    1
    Measurement 1
    Failed
    0
    1 = Pass
    1
    EQ(==)
    What is special with the preconfigured measurements, compared to the programatically created test? Any help is very appreciated.
    Thanks
    --rainer

  • Multiple numeric limit test

    Hi,
    I have a mutiple numeric limit test. I want to modify the measurement set in the test based on my needs. How to access the measurement set property of the test.
    when I do the export of the property using the property loader utility, the data is in avery difficult format to read.
    Can you suggesst some alternative?
    Regards
    Gopal

    Hi Gopal,
    Besides using the Property loader step, you could use an expression to access the measurement set. To do this, right-click on the step and go to Properties>>Expressions, and the measurements are under Step>>Result>>Measurement. I hope this helps. Let me know if you have any questions.
    Regards,
    Ebele O.
    National Instruments

  • Multiple Multiple Numeric Limit Test

    Hello
    I have a test that I have written (LabVIEW) that produces 2 arrays of numeric Values. 1 array of Gain data and 1 array of Noise data. I want to apply (different) limits to each array (Same limit for each element within array). How do I do this in TestStand. I have used the multiple numeric limit test for tests returning a single array of data but my test returns 2 arrays.
    It would be really in-efficient to split the test up into 2 tests as both Noise and Gain data comes back from the instruments in one sweep.
    Any clues ?
    Regards
    Chris

    Chris,
    Since your code module returns two arrays and you do not want to call the module twice you could have the LabVIEW multiple numeric limit test step to validate one of the arrays and have a None multiple numeric limit step  to validate the second array. You have to send one of the arrays to a local or global variable  so you can access it from the None multiple numeric limit step.
    You could even execute these steps in a separate sequence and call it using a Sequence Call step if you want to see all the process as  a single step.
    Another option would be to create your own multiple numeric limit step type in order to support two different arrays as the data source at the same time. This solution requires more work from you. You could take the existing multiple numeric limit step type code as a starting point.
    You can fin the code under <TestStand>\Components\NI\StepTypes\CommonSubSteps.
    If you plan on modifying the code it is better to make a copy under <TestStand>\Components\User\StepTypes and modify it there.
    This will prevent future upgrades from overwriting your changes.
    If you have any question let me know.
    Hope it Helps.
    Antonio Lie.

  • Numeric limit test

    Hi,
    I am generating a html report with the requirement as follows:
    Need to perform a numeric limit test.
         If the value is with in the limits the step status in report should be "Passed" with default back ground color(Greeen).
         If the value is out of limits the step status in report should be "Failed" with default back ground color(Red).
         If the value is at the limits the step status in report should be "Passed" with back ground color as "Yellow".
    I know for this to happen i need to play with the process model. But not sure where to perform this. Can any one tell me where to change in the ReportGen_html.seq. Pl let me know if this can be performed with a custom step type.
    regards,
    Ramjee

    Hi Ramjee,
    Isn't this the same query as http://forums.ni.com/ni/board/message?board.id=330&message.id=28990#M28990
    Did you look in the relavant sequence and sequence as specified in the above link?
    Regards
    Ray Farmer
    Regards
    Ray Farmer

Maybe you are looking for

  • ITunes RIngtone Feature?

    I followed the Apple Help instructions on how to create a ringtone for my iPhone by using a song purchased from iTunes. Every song that I bought could not be made into a ringtone. When I chose "create ringtone" a meassage appeared stating that "this

  • Why Using Top Link is best in DB Adapter?

    Hi All, Can any one suggest , Why Using Top Link (Build-in Insert, Select etc. operation) is best in DB Adapter over using custom query? Thanks

  • Server on isolated network

    Question is: what's a good configuration for multiple ethernet ports, i.e. four in a Mac Pro, with OS X Server with Open Directory that does not cause the Open Directory pane of Server Admin to hang eventually. I was using three ports for my cluster:

  • How do I log onto iCloud w/o going thru Apple support?

    I'm a little late to the transition of switching to iCloud via MobileMe and very much spoiled from having an easy access bookmark. Aside from going through Apple Support how do I log on ? I'm using System OSX 10.7.4 on my MacBook Pro and OSX 10.4.11

  • Graphs & charts in Jdev 10.1.3

    I nead to make graphs and charts in my webapp. (EJB 3.0 & ADF Faces) In Jdev 10.1.3 there are BI Beans Graph and OJDM extensions. Can I do graphs/charts with those Extensions ? How ? Otherwise, do you know other products ? What do you think about cew