Multiple numeric test selective Measurements

Hi
I am using a Multiple. Numeric Measurement.
with
Measurement A
Measurement B
Measurement C
I want to be selective  in which measurements I want to do. based on a Variable(bool or numeric)
i.e based on my Select switch sometimes I wont be doing  Measurement B  and sometimes I would
how  can I achieve the  same

The easiest solution is to create 2 steps calling the same module.  One with A and C and the other with all 3.
Then just precondition them so that one runs in one instance and the other runs in the other case.
Outside of that you can dynamically change the measurements through the API either in a preceding step or in the code module.
You could also create a custom step where you can turn off and on one of the measurements.  I don't recommend this.  It seems a bit overkill.
Hope this helps,
jigg
CTA, CLA
teststandhelp.com
~Will work for kudos and/or BBQ~

Similar Messages

  • Multiple numeric test measurment name vb6

    I am trying to obtain the names of Multiple Numeric Test measurements from Visual Basic (vb6).
    I have read the knowledgebase article 2NE7K56E which gives excerpts from an example for LabWindows/CVI
    and am getting closer, but no solution yet.
    Here is what I have and the error I get:
        Dim stepAsPropObj As PropertyObject
        Dim measAsPropObj As PropertyObject
        Dim sName as String
        stepAsPropObj = currentStep.AsPropertyObject()
        i=0
        Do While (existsMultiResults)
            'the following works to obtain upper limit
            limitsArrayHigh(i) = FormatNumber(stepAsPropObj.GetValNumber("result.measurement[" & Format(i) & "].limits.high", 0), 3)
            'the following statement gives the error "Specified value does not have the expected type":
            measAsPropObj = stepAsPropObj.GetPropertyObjectByOffset(i, 0)
            sName = measAsPropObj.Name   'dont know if this works or not. not getting this far.
        Loop
    It seems that "result.measurement" has to be specified somewhere,
    but everything I try gives a different error.
    Can anyone show me how to do this.
    Thanks very much.
    Jon  

    Jon,
    I'm not sure at this point why you are getting the error when trying to access the name of the Measurement.  This is one of those cases where it might be easier for me to send you a small example that reads the measurement's name in VB.  This might be easier than me trying to find out what is the difference between your code and mine.
    Make sure to re-link the .Net assembly to point to the new location where you decompress the files.
    Let me know if this works on your computer and what differences you see between this and your code.
    Regards,
    Santiago D
    Attachments:
    Measurement_DotNet.zip ‏37 KB

  • Creating custom edit step (LV) for multiple numeric test

    Hello,
    i want to write a custom edit step (LabView) for a custom multiple numeric test (TestStand 3.0). It should be the replacement for the editmultinumericmeasurementstep. Have anybody done this before and example code or a solution?
    greetings schwede

    Hello,
    thankyou for your answer. But it doesn`t help. I know how to create a custom step type. But I want to create a custom multiple numeric limit test step type with a custom vi as the editmultinumericmeasurementstep. It is quiet difficulty, because i want to create my own measurements (see the attachment). The name of the test should not be measurement 0 or 1 but LED test color oder LED test intensity.
    greetings schwede
    Message Edited by Schwede on 12-06-2007 02:42 AM
    Attachments:
    Test.rtf ‏1414 KB

  • Multiple numeric test with cluster from labview?

    Is it possible to make a multiple numeric limit test with the values from a cluster from a labview vi?
    Solved!
    Go to Solution.

    This can be done with a little work.
    The first step is to get the cluster's data back in to TestStand's memory space as you would do normally.
    Then you either use post expressions (since you're at a point in time between the test code module completing and the status evaluation) to move the pertinent parts in to the data source for the step (usually step.numericarray) or...
    http://zone.ni.com/reference/en-XX/help/370052K-01/tsref/infotopics/test_step_types_mnl_test/
    And
    http://zone.ni.com/reference/en-XX/help/370052K-01/tsref/infotopics/pane_mnl_datasource/
    Use the 'specify data source for each measurement''.
    I'm not in front of a computer with TestStand right now to knock up an example but it should be pretty straight forward.
    Either method should allow you to work with a mixed cluster of data types and just evaluate on the numeric ones.
    Thanks
    Sacha
    // it takes almost no time to rate an answer

  • 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

  • Graph of Multiple Numeric Result displaying measurements and upper and lower limits

    Is there a way with your graph control to show all the measured values against upper and lower limits in the same graph?. I can display individual lines, but would like to show all the data on the one graph. The woefully cryptic help files you provide with the graph control in TestStand seriously needs attention (Give examples!) also axis labelling, how is that achieved?

    Hey Brian,
    I'm not sure I understand what you're wanting to see with the data plotted on the graph--would it be possible for you to show us an example, even if it's just a drawn mockup of what the graph would look like? I'd like to look into it a bit and confirm that there is not a way to display the data.
    Also, could you provide a bit of detail about the problems you've run into with using external languages with the ATML and XML reports? I'd like to understand that issue a bit better as well to determine how we could address it.
    One thing you might be interested in is that we can currently embed images in the report by inserting HTML code linking to the image. I've seen cases where a LabVIEW VI plotted some data onto a custom graph, saved a picture of the control, and linked the image into the report. Here is a KnowledgeBase article which describes how the linking process works: http://digital.ni.com/public.nsf/allkb/D98A271E30431C9D86256C230079843A?OpenDocument
    I'll look forward to your reply about what you're hoping to see, and perhaps we can think of the best way to accomplish it with the reporting mechanism in TestStand. As Chiara mentioned, if there are features you would like to see that are not currently possible with our reports, the Idea Exchange will be a great place to post that. 
    Thanks!
    Daniel E.
    TestStand Product Support Engineer
    National Instruments

  • Exporting/Loading properties for Multiple Numeric steps

    So, my test uses quite a few 'Multiple Numeric' test steps.
    I am just looking at using the property loader to import all of these limit values.
    Now as i understand each test step in the property file (excel im y case) must have multiple columns (for each index in the data array)
    I also understand that the easiest way to generate the excel properties file is to export it before adding the values.
    Now, I am using the 'tools - import/export properties' window, and i try to add Step.Result.Measurement[x].Limits.Low but it is not available.
    There is an entry for Step.Result.Measurement[?].HighExpr, so i can add that, then change it to [0], [1] etc
    Is there not a way to add all of the array items at once?
    I need '.comp' '.Limits.Low' '.Limits.High' for each array element.
    Have i missed something obvious?
    Labview 2010, TestStand 2010

    Hi, I;m using 2010.
    I'll give a more specific case:
    In one of my multiple numeric tests i have the limit expression : Step.Result.Measurement["ck1+"].Limits.High
    (I even tryed removing the alias and using : Step.Result.Measurement[0].Limits.High)
    This can be found in the expression browser tree.
    But this does not appear in the tree of expressions when using the properties import/export window.
    The only items that do are: Result.Measurement[?].Limits.LowExpr & Result.Measurement[?].Limits.HighExpr
    i have tried manual editing entries there, but they are ignored when exporting.
    Help
    Labview 2010, TestStand 2010

  • 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.

  • 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

  • Display all measurements in Multiple Numeric Limit Test using UI SeuqenceView Control

    Hi, I found only the total result in Multiple Numeric Limit test can be show in UI SequenceView Control. How can I display more detail information in it?
    For example, If I want to display like this:
    Mulitple Numeric Limit test                       FAIL
    Measurement1                                        PASS
    Measuremtnt2                                         FAIL
    Is it possible in UI sequenceview control?
    Thanks in advance

    You might be interested in this community example: Recursive Expression in TestStand.
    It is possible (though not traightforward) to loop in an expression using recursion.  The example above shows how to use recursion in an expression to list all of the limits of a multiple numeric limit step.  This is similar to what you want to do with measurements.
    I honestly think you're better off with Doug's suggestion to hard-code a maximum number of measurements to display as using recursion in expressions is not easy.
    Josh W.
    Certified TestStand Architect
    Formerly blue

  • Measurement for multiple numeric limit test

    Hello,
            I am developing a test software using LabWindows and TestStand. In my application, I have added a no: of multinumeric tests. In Operator Interface, I want to display each measurement in run time, instead of waiting for completion of all the measurements with Multiple numeric limit test. Is there any way to receive in TSOP each runtime measurent taken for multiple numeric limit test without waiting for multinumeric limit test over?
    Thanks in advance......
    Best Regards,
    Vijay

    Hi Vijay,
    Unfortunately, a Multiple Numeric Limit Test will not allow you to return each measurement inside the step as it executes.  If you need this to occur, there are other methods that you could take.  You could create a custom step type or use many Numeric Limit Test steps and pass them the indexes in your array.
    Another method you might use would be to use an Action step and save the array locally.  Then, you could use Statement steps to evaluate each item in the array.
    Jessica
    National Instruments
    Product Support Engineer

  • 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.

  • 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?

  • 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

  • Multiple Numeric Limit Test Names

    How do I get the names of the Measurements of Multiple Numeric Limit from inside the VI that is doing the test.
    I wish to edit them to reflect the measurement that I am making.
    I can find and change the name of the step, but can't see where the name of the measurements are.
    Thanks
    Omar

    Hello Omar.
    Your VI can do this by
    (1) Get the number of array elements contained in "Step.Result.Measurement".
    (2) Get each array elements property "Name".
    The attached VI was saved with LabVIEW 7.1.
    Regards, Guenter
    Attachments:
    HowTo get MeasurementNames (in LabVIEW) of a MultipleNumericLimitStep.zip ‏20 KB

Maybe you are looking for

  • Error while deleting personnel number

    when I ran a report RPUDELPN  for deleting Personnel Numbers The Personnel Number Name got deleted but not the personnel numbers relationship with Position . I can see only Green Color without Name. when Iam trying to delete the relationship it is th

  • "Exception Processing Message" error when clicking the Accessing Server Data link on the start page

    When I first started the application, I click the Accessing Server Data link on the start page.  I immediately got the error "Exception Processing Message c0000013 Parameters 75b6bf7c 4 75b6bf7c 75b6bf7c in a dialog box titled "Windows - No Disk".  I

  • Need help with .asp Virtual Includes

    Hi, I am using; Dreamweaver 8 Win XP Pro IIS6 Virtual Directory Information in IIS: Local Path: C:\Inetpub\wwwroot\hseih Application Name: hseih Execute Permissions: Scripts Only Configurations>Options>Enable Parent Paths: Checked Read, Write, Browsi

  • How to display read file and put in ftp server in jsp

    Hi all since this is very importent question, please understand it and reply soon. i am using power analyzer sdk. front end as jsp. i want read a file using poweranalyzer sdk(how to read this?)and put it in ftp server(how to put this?) thanks and reg

  • How to customize the way the finder works in column mode which is completly stupid

    How to say to the finder not to change the size of the column when you move a file to a folder? How to say to the finder not to put the pointer in top of column when you move a file elsewhere? How to say to the finder to keep the pointer at the place