TestStand IVI read Test of numerical limit

Hey all,.

How to turn a DMM IVI reading in a test step pass / fail based on a test of numerical limit?

I'm a novice TestStand so be gentle.  Search the Forum of TestStand IVI and success failure does not return anything useful.

I can call the DMM through reading IVI that returns a Step.Result.Reading but I need to turn this into a past fails on a beach to limit.

Any ideas would be very warmly.

Thank you

You can insert a step to limit digital none_adapter after she and assign the data source PreviousStep.Result.Reading.

-Doug

Tags: NI Software

Similar Questions

  • How can I connect a digital a test multiple numerical limit limit index in the database

    I am trying to store the results of our trials in the database.

    Its simple to step to a given market Index connect using the following expression

    Logging.StepResult.TS.Index

     

    However, our tests have many steps multiple numerical limit, and I must be able journal index of each test of numerical limit of the multiple steps in order to correctly return their numerical limit. The only phrase I can find that gives me this information is

    Logging.PropertyResultDetails.Order

    But the order does not quite appear to match like 1, 2, 3... but instead comes out as 9, 16, 23,... for a test and 9, 17, 25, 33, 41, 49... for another test.

    Could someone explain what is really Logging.PropertyResultDetails.Order . And if there is another term I should use to get the Index of the numerical limit for a trial of multiple numerical limit?

    Also is it a sort of reference manual that shows what kind of properties I have access to in Logging.PropertyResult I can't find that anywhere! Any help would be greatly appreciated!

    See you soon

    Kewal

    How about something like:

    Logging.PropertyResult.Parent.GetArrayOffset ("", PropOption_NoOptions, "[\" "+ Nameof (Logging.PropertyResult) +"-"]")

  • Digital loading data from text file for Test of numerical limit

    I am a new user of TestStand 2014.  Just downloaded the demo ran successfully the computer.dll tutorial & example "loading limits a File.seq text"; & is now trying to build my own sequence from scratch.  I want to load a number from a text file using the property Loader.  The file contains the following:

    GGbeg
    484
    GGend

    My hand sequence contains 2 markets (see attachment):

    Charger property (which reads the text file & must store the number 484 in the Step.Result.Numeric variable, right?)

    GG-digital-test (which should test the number 484 in Step.Result.Numeric as a Data Source, right?)

    But when I run it, the measure indicates "0" for the value instead of "484".  What I am doing wrong?  Thank you in advance for your help!

    George

    Hi George,.

    The text file must be in the format, includes no property magazine. Use the following in the text file to make it work:

    GGbeg
    Result.Numeric
    GG-digital-test 484

    Value of the variable

    Value of the variable

    Value of the variable
    GGend

    In the Tools menu of the sequence editor, there are some 'Properties Export/Import' tool, which helps to create text files to be used with charger property stage. I highly recommend to create the new file using the tool and then edit the file to change the values.

    -Shashidhar

  • a numerical limit several test, the individual results of pass/fail there?

    I want to communicate the pass/fail status to my custom user interface so that I can color components red/green they spend and fail.  I intend to send the State of pass/fail with an ID corresponding to the element using UIMessaging.  The UImessage is sent by the sequencePostStep callback.

    Send individual pass/fail status is simple enough forward (step.result.status) for all stages except test multiple numerical limit.  Is there a way to get the information of pass/fail individual for each item in a test of numerical limit multiple?  Individual information is available in the report.  Could it be pulled from the [ReportText]?

    Hi Dillon,

    You can get multiple results in a limit test using Step.Result.Measurement ["Measurement 0"]. Status, which will give each individual measurement result.  You can assign the results of the 4 comparisons by using something like this:

    Locals.multstring [0] = Step.Result.Measurement [0]. Status,
    Locals.multstring [1] = Step.Result.Measurement [1]. Status,
    Locals.multstring [2] = Step.Result.Measurement [2]. Status,
    Locals.multstring [3] = Step.Result.Measurement [3]. Status

    If the chain is too great for practice, you can browse using a loop for.  Let me know if you have any other questions!

  • For the Boolean result of a numerical limit test success/failure

    Hello

    Requirement

    My main sequence, I would like to call a subsequence of steps. If one of these tests in the subsequence fails, the main sequence must ignore all remaining events for this object to be measured.

    Plan

    I intend to have the subsequence return a Boolean flag in the main sequence, which would check this flag and jump to the group stage of cleaning if necessary. Most subsequence of testing is performed in a loop, so I thought of this approach:

    bool allPassed = true;
    foreach (itemsToTest) {
        allPassed = allPassed && currentTestResult;
    }
    
    return allPassed;
    

    Question

    It's easy to do with a pass/fail test, I couldn't find a way to get the Boolean result of a numerical limit test.

    Questions

    1. Is there a way to get this Boolean result?
    2. Is there a better way to meet my needs?

    Thank you!

    Using the Post Actions would be so much easier.  You can configure the sequence to do various things in failure, including a step you specify (that is, cleaning).

  • My high interest reading Test failed

    Dell Support PC check says that my targeted reading test has no now what :)

    Hello

    read information from DELL on the DELL forums

    http://en.community.Dell.com/support-forums/disk-drives/f/3534/p/19358268/19798979.aspx

    http://en.community.Dell.com/Dell-groups/new-to-community/f/3511/p/19358086/19795086.aspx

    http://en.community.Dell.com/Dell-groups/new-to-community/f/3511/t/19380940.aspx

    _________________________________________________________________

    and here is the link to Dell's Support forums

    http://en.community.Dell.com/support-forums/default.aspx

  • Received the error on the hard disk during the reading test targeted

    While running Dell PC Checkup, I received the error WHD20-HND on targeted scan read test code. How can I solve this problem?

    .

    Hello

    Dell

    http://support.Dell.com/

    ask questions in the Dell forums on their error codes

    http://en.community.Dell.com/support-forums/default.aspx

  • Hardware diagnostics: "SMART short Self Test - failed" and "targeted read Test Failed.

    Original title: "SMART short Self Test - failed" and "targeted read Test Failed", all the patches?

    When using PC checkup of Dell I get the following errors; during the analysis of the material. "SMART short self-test - failed" and "targeted read Test Failed", all the patches?

    Hello Duane,

    Teke section of the Web site that speaks of similar problem.

    http://forums.techguy.org/hardware/906455-smart-short-self-test-fail.html

    The problem is with the hardware and you can get in touch with Dell computers.

  • Targeted Read Test failed [error code: WHD16-CSB]

    I use a DELL Inspiron N530 desktop computer. Is my hard drive model: WDC WD2500AAJS-75VWA0 device. When I run a test of hardware of Dell Support Center. It showed the following error:targeted read Test failed (error code: WHD16-CSB)

    The unit has reported the following State: the previous self-test completed having the read element of the test failed.  The first default LBA value is 20750407 and the failure occurred after that the device was working since 23398 hours under tension. Failed (error code: WHD16-CSB)

    Please help me find a solution.

    The reader is 23398 market h years.  Thats 974 days or years 2.67.   If the drive is probably dying if not dead.

    Western Digital WD2500AAJS Caviar Blue drive is very common and inexpensive.

    The standard OEM warranty on these discs is 1 year and the retail warranty is 3 years from the date of manufacture if
    you do not have a retail receipt.

  • Several numerical limit hide the exits "Unused" in the test report

    Hello

    I have a question about several limit test digital and output report in ascii txt format:

    Example of a measure, that's what I see in the txt file:

    Measure [74]:
    Limits:
    Low: 4.75
    Top: 5.25
    LowExpr: "
    HighExpr: "
    Units: V
    Comparison type: FROZEN (> =)<>
    CompExpr: "
    UseCompExpr: false
    Data: 5
    Status: passed

    Is there anyway I can hide or "understand" the unused portion of the output?  In this case I have LowExpr, HighExpr, CompExpr and UseCompExpr.  It will be cleaner and easier to navigate... basically this report:

    Measure [74]:
    Limits:
    Low: 4.75
    Top: 5.25
    Units: V
    Comparison type: FROZEN (> =)<>
    Data: 5
    Status: passed

    Kind regards

    Mike

    You're probably missing an indicator which is supposed to be there for some properties (i.e. PropFlags_DontCopyToResults). I don't see enough detail in your screen to see why this is happening, but if you enlarge the column in the middle or mailed this that all expressions are you using, I might be able to see what is happening. You can manually / programmatically readd this indicator for some properties, but it should really be configured by default on the expr properties already so I don't know why it isn't in your use case. The steptype sets the flag when running on the LowLimit and HighLimit are used as necessary for the case in which only one or no limit. It is generally expected the flag already set the other properties in need at the time of publishing.

    You can view the source code at:

    TestStand\Components\StepTypes\CommonSubsteps\

    to see how the type of step limit multinumeric sets the flag.

    Hope this helps,

    -Doug

  • Multiple TestStand limited digital test next tep

    I am a multiple test limits digital step stype of coding and I have a fundamental question/problem that I don't see a simple solution to.  If I'm measuring and comparing 4 differnet settings, I have 4 different steps to guide out of depending on the result.  How you code this optimal in Teststand?

    It is excellent.  Thank you very much.

  • TestStand 4.2 test continuous issue - same time for every USE

    Hello

    I have this problem on my TestStand 4.2, whenever I do continuous testing (run > Test DUT), each USE both in the reports.

    What I need is to know how to change the model of process, so that each USE should have a different time in the reports.

    Please see picture below for reference.

    Thank you

    val87

    Hi val87,

    It is a known issue with TestStand 4.2. The below knowledge base article explains how to fix this behavior.

    Why the time of the DUT report header field remains Constant for multiple DUT during the generation of the XML reports in 4.2 TestStand and TestStand 4.2.1?

    http://digital.NI.com/public.nsf/allkb/8EE51C3635751A808625774A0050C214?OpenDocument

    Let me know if it works for you!

  • No numerical limit UInt64

    How to use UInt64 in a time limited digital.

    TS said "should find number {UInt64}."

    If I change the digital format for the UInt limits, my limit values are changed. I can't select UInt64 in digital format. My data source format is UInt64.

    BR

    Nikolaj

    NikolajEgeskovOstergaard wrote:

    It works if I convert my UInt64 in Float64...

    is this really it?

    I would advise against doing that. Not all the values exactly representable UInt64 Float64 so you will get a rounding error. It depends on what you are doing or not that would be important.

    Digital limit stage does not support 64-bit integers, but the expression function CheckLimits() support them so you could do something like:

    Step.Result.Status = CheckLimits (Locals.Measured, Locals.High, Locals.Low, "FROZEN", False)

    You can also post a feature request to:

    http://forums.NI.com/T5/NI-TestStand-idea-exchange/IDB-p/teststandideas

    Hope this helps,

    -Doug

  • How can I retrieve the execution of TestStand 4.0 Test results in a c sharp Application?

    I am writing a c sharp application to launch a test sequence in TestStand 4.0.1 and then collect the results of the tests to update our own screens / report (s).  I'll need some sort of recursive routine to collect the following information (if available) for each stage: name, result, Min value, Max Value, measured value, units.

    My attempts have been to an event to end execution allows to collect data:

    void EndExecution (sender As object, EndExecutionEvent ev)
    {
    Results PropertyObject = ev.exec.ResultObject.GetPropertyObject ("ResultList", 0);

    int numContainers = Results.GetNumElements ();

    for (int i = 0; i)< numcontainers;="">
    {
    PropertyObject resultData = results. GetPropertyObjectByOffset (i, 0);
    String testResult = resultData.GetValString ("Status", 0). ToString();

    PropertyObject testStep = resultData.GetPropertyObject ("TS", 0);
    Dim testName = testStep.GetValString ("StepName", 0). ToString();

    MessageBox.Show (i.ToString () + "". "") testName + "=" + testResult);
    }
    }

    But this only gives me MainSequence data.

    How to cross the ResultsList tree to access the results of all the test steps?

    tlaford,

    There are a couple of big problems with what you are doing:

    (1) it is best to call the code from a test report of the result of your sequence treatment reminder (just use an action step) or change the process template to call your code rather than to call for EndExecutionEventHandler of the user interface, because if you use Test DUT and then there is a separate resultlist by USE not by execution, and it is generally processed at the end of each use not at the end of execution. If you use the EndExecutionEventHandler then you should NOT use the process templates provided with TestStand because they don't work that way. Instead, you just run your sequences without a process template. Although I really recommend the path of process model, even if you write your own a custom, because it is more flexible, and then hardcode your treatment result in the user interface as you do. A few reasons why a process model is that more flexible or better are that it will work in any user interface, including the sequence editor (no changes to the user interface is needed), and it can do everything you can do in a sequence, for example to call a code module in any language supported , asynchronous sequences, call sous-séquences, etc.

    2 recursion) through each property at such a low level is bad because the names of the properties are not guaranteed to be unique for what you expect them to be. Anyone can write their own types step custom with some result properties that they would like. You must make sure that the full path to the properties is what you expect it, and you can even check that the type of step is one you expect. You should rather loop through the result of higher level items ONLY and are looking for the complete data lookupstrings that you expect from these elements. For example, instead of WalkTree you might have the following instead:

    This must be called from a step in a test recall report or in a custom process template
    rather than from EndExecutionEventHandler of the user interface, because if you use Test DUT then
    There is a separate resultlist by USE, not by execution, and it is usually processed
    at the end of each use not at the end of execution.
    Sub ProcessResultList (PropertyObject resultList)
    {
    numElements int = resultList.GetNumElements ();
    < numelements;="">
    {
    Element PropertyObject = resultList.GetPropertyObjectByOffset (i, 0);
    String stepTypeName = string. Empty;

    If (point. There are ("TS. ((StepType', 0))
    stepTypeName = GetValString ("TS. (StepType", 0);

    If (stepTypeName is "NumericLimitTest")
    {
    If (point. Exists ("Limits.High", 0))
    {
    Double highLimit = item. GetValNumber ("Limits.High", 0);
    Do something with the value
    }
    }

    NOTE: The two step type SequenceCall and NI_Wait can have subresults like that. A stage of waiting waiting on an asynchronous thread or the execution will have this.
    If (point. There are ("TS. ((SequenceCall.ResultList', 0))
    {
    Recurse for results call sequence.
    PropertyObject sequenceCallResultList = item. GetPropertyObject ("TS. (SequenceCall.ResultList', 0);
    ProcessResultList (sequenceCallResultList);
    }
    }
    }

    Hope this helps to clear things up,

    -Doug

  • A custom step of multiple digital limit test | Hide the limit tab

    Hi all

    I am trying to create a custom step of multiple digital limit test. The custom step by itself poplulates the value of the limits of the measure. So I plan on Hide tab limits within the parameters of the step. Can someone guide me on how to do it?

    Thank you

    Prasaanthan

    Make sure that you have checked the box 'Show hidden properties' in the StationOptions > preferences. Otherwise, you will never find the table refers to erik.

    Norbert

Maybe you are looking for