Detect "arrested" call of the sequence status

Hello

I use TestStand 2012 and one of my sequences is a bunch of sequence calls to other sequences.

Each call is made using the "use new run" and wait for execution ends before the next step.

I use this option because I like having different reports for each sequence.

However, I still would like to capture what call has succeeded or failed in my main sequence.

To do this, after each call, I have a statement whose status expression is:

(Find (RunState.PreviousStep.ResultStatus, «Passé», 0, True, False) > = 0)) ? 'Past': 'failed '.

The problem I find is that when one of the sequences I call ends in the middle because of an error in the object to measure which does not allow me to continue his tests, the main sequence gets the status of "success."

So, when I see the 'success' in my report of main sequence, I still open the various reports to ensure that it was passed.

If anyone knows a way around this?

I tried to change the expression of the State of the call sequence step, but it is a read-only field.

Thank you in advance,

Leandro

OK, that makes sense.  Yes, when you call a sequence in a new run you can store an object reference.  Store everything in a local variable.  Then you can look at the State of this object reference.  Even if you have to play with it because if execution is gone I don't know what state you will get.

Let me know if you have any questions on this subject.

Tags: NI Software

Similar Questions

  • TestStand can add comments for calls in the sequence?

    Hello

    I write box tools (a set of sequences and subsequence which I'll be using a lot of time).

    If I call a sequence of sup of the Toolbox, I want TestStand to add comments automatically during the call of the sequence.

    Could someone help me to find the option to do so.

    Thanks in advance.

    Kind regards

    Sagar Joshi

    I guess the only option is to do using the ActiveX API.

    But I guess, it will take some effort to make...

  • How to detect incoming calls in the background?

    Hello

    our application works in the background (and playes audio). We are looking for a way to detect incoming calls (and to stop playing).

    It comes to CLDC app, not a moped.

    Is it possible in background mode and how? In which case I can listen?

    If not, is it possible in the leading fashion and how?

    I guess we can add a net.rim.blackberry.api.phone.PhoneListener and use the callIncoming method
    in the main application, but it works in background mode?

    If anyone can confirm, I would appreciate... Thank you...

    @ BBDev, but when a call is incoming, and then sound stops automatically right? And we don't have to capture the event however!

    Thank you!

  • the Boolean value 'specify by the expression' in the call of the sequence

    Hello

    Is it possible to set the checkbox "Specify by the expression" in a statement?

    The statement should be in the cleanup.

    If Yes, what is the line of code to write? because this variable is not

    the window variable so I have no idea on how to fix this Boolean value.

    Thank you

    An expression similar to the following should work:

    "" "RunState.Sequence.Main ["myseqcall"]." Module.AsSequenceCallModule.SpecifyByExpr = true

    -Doug

  • API calls for the current status of running processes and things

    Hi all

    I wonder if anyone no matter what API calls to get the current process list and the list of all programs installed on the BB device

    If there is not these API calls, is there another approach to get these lists?

    Thank you

    Dan

    http://www.BlackBerry.com/developers/docs/5.0.0api/NET/rim/device/API/system/ApplicationManager.html

    http://www.BlackBerry.com/developers/docs/5.0.0api/NET/rim/device/API/system/CodeModuleManager.html

  • Generation of multiple reports in subdirectories with the calls of the nested sequence

    I would like to generate different paths for multiple sequences, which are each managed in respect of execution of their own.  The following text displays the desired hierarchy:

    YYYY. MM DD. HH.mm.ss_MainSequenceFileName\Test [email protected]
    YYYY. MM DD. HH.mm.ss_MainSequenceFileName\YYYY. MM DD. HHmm.ss_SequenceGroup1\Sequence group [email protected]
    YYYY. MM DD. HH.mm.ss_MainSequenceFileName\YYYY. MM DD. HHmm.ss_SequenceGroup1\Test tswan.html
    YYYY. MM DD. HH.mm.ss_MainSequenceFileName\YYYY. MM DD. HHmm.ss_SequenceGroup2\Test tswan.html

    where:

    Summary of the test contains only steps of the MainSequence of the MainSequenceFile
    SequenceGroup1 is a step of calling in MainSequence with new execution sequence (to generate a separate report).
    Note: The subsequences of the SequenceGroup are stored in a different sequence file.

    Example of a hierarchy:
    MainSequence-> SequenceGroup1-> SubSequence1, SubSequence2, SubSequence5
    MainSequence-> SequenceGroup2-> SubSequence2, SubSequence3, SubSequence4

    Would result in the following files:
    2010.08.18.10.00.00_MainSequenceFile\Test [email protected]
    2010.08.18.10.00.00_MainSequenceFile\2010.08.18.10.05.00_SequenceGroup1\SequenceGroup1 [email protected]
    2010.08.18.10.00.00_MainSequenceFile\2010.08.18.10.05.00_SequenceGroup1\Test1.html
    2010.08.18.10.00.00_MainSequenceFile\2010.08.18.10.05.00_SequenceGroup1\Test2.html
    2010.08.18.10.00.00_MainSequenceFile\2010.08.18.10.05.00_SequenceGroup1\Test5.html
    2010.08.18.10.00.00_MainSequenceFile\2010.08.18.10.40.00_SequenceGroup1\SequenceGroup2 [email protected]
    2010.08.18.10.00.00_MainSequenceFile\2010.08.18.10.40.00_SequenceGroup1\Test2.html
    2010.08.18.10.00.00_MainSequenceFile\2010.08.18.10.45.00_SequenceGroup1\Test3.html
    2010.08.18.10.00.00_MainSequenceFile\2010.08.18.10.45.00_SequenceGroup1\Test4.html

    My plan was to specify the base path using the StationGlobals (for support through several files), and then use the ReportOptions reminder in the file of the main sequence and the sequence of group file.  However, the recall of ReportOptions occurs only in the file in the main sequence.  If I create a ReportOptions reminder in the sous-suite file, it will never be called.  The ReportOptions of the MainSequenceFile callback is only called (since that's where the new run is launched I guess).

    In my view, that this hierarchy could be created using what follows:
    In the ReportOptions callback, get a reference to the sequence of the appellant step and determine if it is a SequenceGroup_SequenceCall (a type of special stage that I created), if so then use a different expression to generate the name of the subdirectory and report.  If this isn't the case, then use the expression of the main sequence.

    It would take to what follows the ReportOptions in MainSequence reminder:

    1 get the reference to MainSequence path of the report generated from the process template.  This could be done by storing the RunState.Root.Locals.ReportPath in a StationGlobals variable before the new sequence.

    • Is it possible to do without StationGlobals?  A SequenceCall parameter is most appropriate?

    2 get the reference to the call of the sequence step

    • Not sure what the best way to achieve this.  Please notify.

    3. date format
    The statement to get the start time of the SequentialModel is not called that after ReportOptions recall and the path of the file Expression determine report.  This is why the name of the report file timestamp may be different from the header of the report.

    • Why the statement to get the start time is not called as the first step of the sequence, and what are the consequences of this change in the sequential model?

    My questions are indicated by bullets that precedes.  Any help would be greatly appreciated!

    Hello

    I created a small example that should full fill your requests.

    Note: I have only tested in Mode Single Pass (No. Serialnumber request!)

    No StationGlobals when used. To get the parent folder data two queues when used in ReportOption callback

    Hope this helps

    Jürgen

  • Operator Interface labview and teststand back the call for promotion of status sequential

    Hello

    I am looking for a solution to be able to take by the API Testand 'call sequence' status key of my teststand sequence.

    The idea is to combine, on my operator labview interface a specific indicator pour each call sequence 'important '.

    Example: an indicator to test consumers, another for power supply, an another SoftComm ex but not pour tests under

    The first solution that comes to me and inspired by what I could find on this forum is the utilistion method PostUIMessageEx en post expression for each call sequence don't I want to get the result.

    I find this solution satisfactory sector a bit heavy and a little too dependent on the test sequence she herself.

    Other solutions of would they?

    Please pour your contributions

    Hello

    In general, I get the UIMessage TraceCallback. So based on the name of the step (say consolidated test for example) I can do whatever I want since LabVIEW update my GUI without having to change the TestStand sequences.

    Kind regards

  • a buffer on which has corrupted the internal status of programs has been detected. Roxio

    Start the computer to the top I get two error messaged witndows the first titled_Microsoft Visual C++ RUntime Library and reads American Saturation detected Programs...s\Roxio Shared\9.0\SharedCOM\ROxWatchTray9.exe

    A buffer on which has corrupted the internal status of programs has been detected.  The prgram cannot continue to run safely and must now end.

    The second is the runtime error:

    Program:... .OMMON SharedCOM Shared\9.0\SharedCOM\ROxWatchTray9.exe

    R6025-pure virtual function call

    I don't know what it is and what to do about this.  The only change was the installation of Norton Antivirus 2010 two days before.  Anything downloaded or modified.  A system restore did not complete.

    Any help is appreciated

    Neil

    Hi Neil S,

    This is due to a request from Roxio is trying to launch at startup. Follow the suggestions in the article below to solve the problem.
    http://KB.Roxio.com/Search.aspx?URL=/content/KB/MyDVD/000110CR¶ms=

    Bindu R - Microsoft technical support.
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • don't use not webcam. can I use video calls with the status of "invisible"?

    If I use no webcam, can I make a video call with Invisible"like status?

    In Invisible mode, you can do exactly the same thing as in online mode.

    Without a webcam, you can not start video calls, but you will be able to receive another person's video.

  • How to create ProcessModel calculate TOTAL as follows to call the file in the sequence?

    I made a custom operator Interface and I want to support a progress bar for giving the user indicates to what extent this time they represent.   I already have the infrastructure of reminder Setup so that the progress bar will be updated based on a Message from the user of the motor.

    In the process template itself, I put in place a "ProcessModelPostStep" (the purple one) reminder so that after all the steps of the calling sequence file I increment an internal counter and send these data as well as the Message of the user.

    The only missing part is to know how to calculate the TOTAL number of steps in the sequence file calling.  I can get the total number of SEQUENCES defined in the calling file but I how to recursively on each sequence loop excluded from top down by counting all the steps of the sequence of the callee.

    Appreciate any help in getting this last piece in place.

    Thank you!

    I have a better solution in the images below.  The code snippet is the code called by TestStand to introduce recursion.

    The attached code is the recursive call.  It is similar to my first post, but the fixed a bug with the cast of references.

    This should get the total number of step.  The code works under some assumptions:

    1. all called sequences are in the same file in sequence.  (You can add steps to also get the path to the movie file and retrieves the sequence from there.)

    2. There is no asynchronous LabVIEW step in TestStand.  (These are treated as sequence calls into the API, and you must add code to sort.)

    Pulido Technologies LLC

  • How to run the callback model SequenceFilePostStepFailure after step fails with the calls of the nested sequence

    Hello

    I want to appear a message immediately box on any test failure.  I thought I could use the reminder of the SequenceFilePostStepFailure model to achieve this, but when I change the reminder of process model to achieve this, I found that the recall code is executed only for the failures of step of the top level of the page sequence file.

    My test code has sequence called before mutiple files to the granularity of the basic numerical limit test that range from success or failure, so I would like to run the callback SequenceFilePostStepFailure immediately at this level.  I can accomplish this by adding a substitution of recall of SequenceFilePostStepFailure in the file of the sequence in question, but I prefer to use the implementation of reminder default template, so I can't find all the places where numerical limits tests are executed and cause the ASE of pass/fail.

    I have attached a few sequences of the example I want to illustrate the problem.

    Thanks for the help,

    Daniel

    My fault, I see now that the recall of model should I have changed is the ProcessModelPostStepFailure.  Problem solved.

  • find if in the sequence editor API call

    I swear that I found this somewhere once but can't find it now.  What is the API call (or another mechanism) to determine if I am running out of sequence with respect to a user interface editor?

    What I want to do is if running the sequence editor, make a call, but if running the user interface, make another.

    Thank you.

    RunState.IsEditor

    Thank you

    PH

  • How to call sequence into LabVIEW, by providing the path of the sequence files.

    Hello

    Please give me a solution for call sequence from the API ActiveX LabVIEW file by entering the path of the LabVIEW user interface sequence.

    Thank you

    Wherry

    Here is a link I gave some pointers on how to run a file opened via Single Pass sequence.

    http://forums.NI.com/T5/NI-TestStand/direct-execution-of-the-sequence-when-UI-launches/m-p/2000819#M...

    How are you going to start this sequence is the user who selects the sequence on the disk?    Is already open in a SequenceViewMgr control?

    An operator interface would be more applicable to your situation?

    Thank you

    PH

  • COMPAQ CQ57 laptop Presario: Don't detect my webcam and the microphone does not hear my voyce. What is can do it please help me!

    HY everybody.

    My webcam wasn't working. What I can do... ? Please help me. I tried some drivers and nothing... in Skype tell me. (Skype is not detect any webcam), and the microphone works but not listen to my voce the other person I talk to... where is found this driver who can do to be able and see my webcam and listen to my voyce microphone when is make a call Skype for example or facebook or another program that uses my webcam and microphone. where are found this driver compatible with my webcam. There tried this driver on Cyberwebcam here and does not

    is not compatible. What can I do please help.

    \Please help me solve this disorder a y will be aprecieded

    In windows, check 'device manager' and make sure your webcam is enabled and disabled.

  • Unknown name of function or the sequence "DoPostUUT".

    I use 2014SP1 test bench, in our tests, we need a custom action that creates a file of "Summary" of all the reports of success/failure.  We do this in addition to the default DoPostUUT of riding.   Our custom DoPostUUT does 2 things.

    (1) call the default DoPostUUT

    (2) call a python script that analyzes the report just created from the default DoPostUUT file

    This worked well for us for several projects deployed at several locations.  (other than normal problems with python)

    Our last error has left us speechless.  On the deployment site, we get the following error:

    Call error DoPostUUT sequence.

    Function name or an unknown sequence "DoPostUUT".

    :-17320 error code: unknown function or sequence name.

    I was not able to reproduce this on my test PC, we only see it on the site of the final user.

    Anyone seen this before?

    Resolved, looks like it's a corrupt install.  they ran the installer again and it worked fine.

    Thanks for the ideas.  I was at a loss what to check.

Maybe you are looking for