Stopping TestStand Sequence With PreUUT Loop Disabled

Hi All,
I have edited my sequence so I do not use the default UUT Information dialog to enter serial number information etc. I handle all of that on my own to get a specific file name and perform other tasks within my sequence. I have the PreUUT callback added to my sequence so I do not get the dialog at the beginning my tests. It is all working great except for one thing, ending the sequence. To make a long story short I have a stop button as one of my fixture controls. I want it to act the same as when the Stop button is pressed on the default UUT Information dialog. I have tried terminating the execution with a Call Method and it works except then the report winds up saying "Terminated" which I do not want. Is there any way to stop a sequence gracefully as with the PreUUT callback disabled?
Thanks in advance for any insight into this.
Troy

Thank you both for your comments. I am actually using both suggestions at this point and it is working. I got around it but the only frustrating part was some things I was trying to do in the PreUUT callback did not work. It did not like any variables passed in or out of that sequence that were not already there. I am sure there is a solution for that but I had to get some units tested so I got it working another way using functional globals in Labview to get the values passed between the sequences. Thanks again for your help.

Similar Messages

  • How can I pass arguments to a TestStand sequence with LabWindows 6 ?

    Hi
    I have created sequences in a TestStand file.
    I want to program a sequence with Labwindows 6 which would call all these existing sequences (containing parameters).
    I don't have any problems to create the steps "SequenceCall" but i don't know how to pass arguments to the sequences with the TS API.
    I have used the look-up strings "TS.SData.SFPath", "TS.SData.SeqName", "TS.SData.ThreadOpt" to program the sequence file / sequence and the multithread option. But now how to program the arguments passing ? I think there is something with the lookup string "ST.SData.ActualArgs"...
    Thank u very much for any help

    I'm not sure if you want to pass values from TestStand to LabWindows or if you want to pass values in TestStand from a sequence call step to a called sequence.
    To get TestStand variables from LabWIndows, use the following function:
    tsErrChk (TS_PropertyGetValNumber(testData->seqContextCVI, &errorInfo, "Locals.StartPoint", 0, &dStartPt));
    iStartPt = (int)dStartPt;
    The TS_PropertyGetValNumber gets the TestStand variable Locals.StartPoint and puts it into the LabWindows variable called dStartPoint. Numbers to and from Test Stand are always a double type. The next line converts it to an integer.
    To put a LabWindows value to TestStand, use TS_PropertyPutValNumber.
    To pass values from a sequence call step to a called sequence, create variables in the Parameters t
    ab on your main sequence. Create same variables on the Parameters tab of the called sequence. In main, specify module to be called in calling step. There is a paramters section on the Edit Sequence Call dialog box which appears. Check the Use Prototype of the Selected Sequence box. You can then list all the parameter variables in the parameters section.
    Hope this is what you want.
    - tbob
    Inventor of the WORM Global

  • Stop duplicate sequence with exception

    I created a table that uses two sequences. I recently discovered that some of these sequence values being generated were either skipped or duplicated when added to the table.
    At first I did not know why the sequence values in the table were being skipped or duplicated luckily I found an article, http://www.arikaplan.com/oracle/ari82599.html. I have now made the correct changes to diminish this effect.
    So my goal right now is to figure out how to insert the skipped sequence back into my table whenever a new row is created without adding duplicate sequence for the "id" column.
    This is what I have so far:
    create sequence global_key INCREMENT BY 1 START WITH 1 MINVALUE 0
    NOCYCLE nocache;
    create sequence global_ids INCREMENT BY 1 START WITH 1 MINVALUE 0
    NOCYCLE nocache;
    create table ids (
    key varchar2(100) primary key,
    id number(20)
    CREATE OR REPLACE TRIGGER global_key_trigger
    BEFORE INSERT
    ON ids
    REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    begin
    select global_key.NEXTVAL into :new.key from dual;
    end;
    declare
    res number(20);
    begin
    select global_ids.nextval into res from dual;
         select id into res
    from ids
    where id = res ;
    end;
         exception
         when no_data_found then return res -- ??;
         when DUP_VAL_ON_INDEX then -- continue loop ??
    end;
    Thank you
    Edited by: user534236 on Apr 9, 2009 7:29 AM
    Edited by: user534236 on Apr 9, 2009 7:32 AM
    Edited by: user534236 on Apr 9, 2009 7:32 AM

    It doenst look like there is an ODP.NET question in there, so your question may be better answered in the [SQL and PLSQL forum|http://forums.oracle.com/forums/forum.jspa?forumID=75]
    Greg

  • LabVIEW VI with Report Generation Toolkit elements in a TestStand sequence does not run with a LabVIEW 8.5 Run-Time Engine

    Hi all,
    I am using LabVIEW 8.5.1 and TestStand 4.1. I have done a TestStand sequence with a VI in it, which uses Report Generation Toolkit elements. On my machine I am using LabVIEW and TestStand with a Development System license. On the other machine I am using TestStand with a Base Deployment license and I have chosen the LabVIEW 8.5 Run-Time Engine in the Adapter Configuration. Everything is running well except of this VI with Report Generation Toolkit elements. The error message is showing that the VI is not executable. It works well only after I have installed LabVIEW with an Evaluation license and chosen LabVIEW 8.5 Development System in the Adapter Configuration.
    I have found other posts and a document in the KnowledgeBase with a similar problem: http://digital.ni.com/public.nsf/allkb/8A0E6274D9B​D7B1986256F62006AD402?OpenDocument But I am not using EXE files in my sequence, so I don't know how to solve mine. Anybody has an idea?
    Solved!
    Go to Solution.

    Hello guys,
    thank you very much for your answers!
    @Ruediger:
    I tried to follow the instruction for Method 2 in the mentioned document: http://digital.ni.com/public.nsf/allkb/F3DC40A6E3F​3B25B862570AD005D1D3D?OpenDocument, but the steps on my machine are different starting from step 4. After I click "Continue..." in step 3, I dont get a window, the system just makes a new folder with the same VI. 
    To be honest, I am new to LabVIEW and have some difficulties at this time. What I understood from your reply is, that I need to make a LLB-File, where the files from Report Generation Toolkit are in!?
    @GovBob:
    I was following the instruction in the document: http://digital.ni.com/public.nsf/allkb/9E00E7EFE06​35E678625734600779EFE, but it wasnt working. Can you please tell me how I can check if the VI Server is installed and running on the machine?
    I am using LabVIEW 8.5.1 and TestStand 4.1 on my machine, on the deploy machine there is TestStand 4.1.1. The version of my Report Generation Toolkit is 1.1.2.
    Kind regards, Roman

  • Time not stopping with while loop

    Hello,
    I've attached my VI.  I am having trouble with while loops.
    I want to turn on LEDs. The first LED should turn on after 3s.  The second LED should turn on after 5s.  The third LED will turn on later. 
    The LEDs turn on based on the following conditions:
    Case 0: numeric control > 10 then led_1 off, led_2 off, led_3 off
    Case 1: numeric control <= 10 then led_1 on, led_2 on, led_3 on
    Case 2: numeric control <=5 then led_3 on
    Because of the way I'm delaying time, I have the following problems
    Case 1 --> case 2: led_3 doesn't come on right away
    Case 2 --> case 1: led_3 doesn't turn off right away
    Putting probes in certain areas leads me to believe that these problems are due to the way the time delay is being generated.
    Thanks in advance.
    EDIT: Looking at it more...it seems to be that when the stop condition is true, the loop runs one more iteration. Is there a way to keep it from running that "one more iteration."
    Attachments:
    timing.vi ‏15 KB

    One of the problems is that your VI is not able to "breathe" because it is sometimes trapped inside inner loops that consume all CPU and step on each others toes. All you need is an single outer loop and a few shift registers.
    May of your specifications are still not clear, for example what should happen to LED 1&2 in case #3? Should they remain in the state they are in, or should they turn off, for example.
    Here is a simple rewrite that spins the outer loop at a regular rate, has no inner loop, and does not need any local variables or value property nodes. See if it makes sense. Also note that your code can be simplified dramatically by using arrays. Since the stop button is read with each of the regular interations, we don't need to worry about sequencing.
    Most likely you need to do a few simple modofications, because your specs are not clear.
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    timingMODCA.vi ‏15 KB

  • Firefox plug in container has stopped working, even in safe mode with plug ins disabled

    My firefox keeps crashing every 5 - 10 minutes. Sometimes I get a windows error message saying "firefox plugin container stopped working", but most times I don't. These are the actions I've taken so far, with no effect:
    1. Updated all my plug-ins
    2. Run firefox in safe mode with plug-ins disabled
    3. Uninstalled and reinstalled firefox
    4. Run an AVG scan which turned up nothing
    Can anyone offer advice on how to fix this (very annoying) problem?
    I've had to write this in IE because firefox wouldn't stay open long enough for me to copy and paste it into the text box.

    Try creating a new Profile by following the steps from [[Managing Profiles]] [[Troubleshooting extensions and themes]] and also [[The Adobe Flash plugin has crashed]]

  • How can I stop an action sequence with another

    Hi,
    I am quite new to flash catalyst. I made a side with an office where you can click the phone to go to the status "phone". In there you should be able to call some virtuell people. I made buttons with names that trigger different action sequences with showing the name of the called person in the display and playing a sound file that sounds like a call. Now my problem is when I am clicking a different name while it is still in one action sequence, the other one shows up over the first and both sounds are playing at the same time.
    How is it possible to tell the action sequence to stop all others when it is started?
    Thank you for your help.

    Sorry, I'm a bit confused now. Just to clear this out:
    WDDOBEFOREACTION is for validating user inputs BEFORE Actions and HERE you can prevent actions from happening
    WDDOAFTERACTION is called JUST WHEN an action is happening for all visible Views (it's to prevent redundant code which would be equal for all event handlers)
    WDDOBEFORENAVIGATION is AFTER Actions and BEFORE navigation.
    Check the chart in the following Link (sorry it's german, english version seems not available, but the chart is in english nevertheless)
    http://help.sap.com/saphelp_nw73/helpdata/de/49/b8c706c7c26d7ce10000000a421937/content.htm
    In my opinion put an if clause into WDDOBEFOREACTION, check whether the respective field is filled; and in case it is filled, execute your method; if not, don't.
    That's why I am confused, you kind of answer your question within your question itself )) or I still don't understand what you want to accomplish.
    best regards, hope this helps you (if not, try to explain it even more detailed for me ;-D)
    Lukas

  • How do I start, stop and restart a sequence with a periodic input?

    Hi,
    I have written some code that will monitor my com port (rs-232) continuously for an ASCII character (in this case a 'P'). When the P is received, I want a sequence structure to start working. The P will only appear once for a short while, but the sequence should carry on running until it finishes all the frames. On the next time a P appears on my monitor, I want to either stop the sequence structure regardless of which frame its in and restart the sequence from the beginning again or to run the sequence from the start again if it has already completed all the frames.
    What sort of structure do I need to do this, are there any examples?
    James

    James,
    Indiana is correct, my take on this is similiar.
    If you have a 3 element sequence structure for example which runs if 'P' is returned from your COMs thread, you will need to query a variable in each element of the sequence in order to suspend execution of the next/remaining elements in the sequence if this event occurs. You can do this by reading the variable that your COMs thread sets using a case structure in each element of your sequence. In order to re-run your sequence if 'P' is returned during the execution you can simply set the suspend variable and ensure the code is in a while loop to recall the code.
    See the attached example code/screen shot:
    This is however not an elegant solution and the best way would probably be using the events structure and a user event to queue the P events. This is available in 6.1 but I believe its the professional package. See also my implementation using this method, again attached below:
    Hope this helps,
    Kind Regards
    Steven Bird
    Applications Engineer
    National Instruments
    Attachments:
    Example.JPG ‏194 KB

  • Send UI meassages from teststand sequence to Simple CVI Operator Interface with Asynchronous Timer

    Hello,
    Is it possible and how is it possible to send UI meassages from a teststand sequence to the Simple CVI Operator Interface with Asynchronous Timer which could be downloaded from NI Hompage. I use this problems because it is more stable than the standard OIs
    regards samuel

    This post could help:
    http://forums.ni.com/ni/board/message?board.id=330&message.id=7567
    Regards.

  • Teststand Sequence Editor has stopped working

    I get the following message and error code when running my sequence file. This sequence files works ok on another machine. It is a display message to the screen for user input. Software version is 4.2.1
    Teststand Sequence Editor has stopped working. 
    Problem signature:
    Problem Event Name: CLR20r3
    Problem Signature 01: seqedit.exe
    Problem Signature 02: 4.2.1.83
    Problem Signature 03: 4af027d1
    Problem Signature 04: PresentationFramework
    Problem Signature 05: 3.0.0.0
    Problem Signature 06: 4f350630
    Problem Signature 07: 6263
    Problem Signature 08: e1
    Problem Signature 09: System.Windows.Markup.XamlParse
    OS Version: 6.1.7601.2.1.0.256.4
    Locale ID: 1033

    Kingme wrote:
    I get the following message and error code when running my sequence file. This sequence files works ok on another machine. It is a display message to the screen for user input. Software version is 4.2.1
    Teststand Sequence Editor has stopped working. 
    Problem signature:
    Problem Event Name: CLR20r3
    Problem Signature 01: seqedit.exe
    Problem Signature 02: 4.2.1.83
    Problem Signature 03: 4af027d1
    Problem Signature 04: PresentationFramework
    Problem Signature 05: 3.0.0.0
    Problem Signature 06: 4f350630
    Problem Signature 07: 6263
    Problem Signature 08: e1
    Problem Signature 09: System.Windows.Markup.XamlParse
    OS Version: 6.1.7601.2.1.0.256.4
    Locale ID: 1033
    Do your code modules use System.Windows.Markup.XamlParse? Is the process close to running out of memory (i.e. over 1GB of memory used)? Do you have any DLLImprorts (if C#) or any native code (i.e. C/C++) being called by your sequences? Does the error happen every time you run? Always on the same step? If so, what is that step doing? Have you tried to debug the process?
    -Doug

  • How do I stop a movie clip from looping

    I am using Action Script 3 and the 'stop()' function is not working to stop my movie clips from looping continuously.
    I have added the 'stop()' function to the last frame on the timeline of each movie clip.
    I originally built the .fla file in Flash CS6 using Action Script 2 where it was working with no problems (I have since upgraded and don't have access to CS6 anymore).
    I have all the separate movie clips positioned on Frame 1 of my main stage with the following script to start them playing:
    Cigarette_Reveal.play();
    KickTheHabit.play();
    BallMove.play();
    BallFlip.play();
    Offer.play();
    I want each of these movie clips to stop playing after one animation sequence is complete.
    Please help!

    Turn on strict mode in your publish settings. This will allow you to see the compiler errors that are preventing the actionscript in your fla from compiling correctly.

  • TestStand sequence launchs Labview Window

    When I open a sequence in TestStand 3.5 consequently Labview is opened. But I have a test bench where this doesn't happen. (note: the bench are software and hardware identical, but assemblied in different moment). Moreover, when I launch my testing application (that recalls a teststand sequence), on the first bench appears always the labview window, while on the second bench none labview window is opened.
    I'd like to reproduce the second behaviuor: none labview window is opened.
    There is a particular setting in teststand to block the labview window?
    Note: the testing application and sequences are the same on the two benchs. The bench setting are identical. I controlled every setting between the two benchs.
    Solved!
    Go to Solution.

    There is a setting that I just found out about in the LabVIEW.ini file.  It disables the Getting Started Window dialog on LabVIEW 8.6.  It might work on LabVIEW 7.1 and may be present on one of your two test computers.
    Can I Disable the LabVIEW Getting Started Window On A Macintosh?
    The setting is "showNoNavDialog". Look on your computer that is behaving as desired and see if this setting was added (would be set to TRUE).
    \Program Files\National Instruments\LabVIEW x.x\LabVIEW.ini
    Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
    If you don't hate time zones, you're not a real programmer.
    "You are what you don't automate"
    Inplaceness is synonymous with insidiousness

  • I am trying to have some LabVIEW code called in a New thread exit when the testStand sequence terminates

    I have a Sequence that launches a sequence in a New Thread that happens to launch some LabVIEW code.  The problem is when the LabVIEW code finishes, it will not close even when the TestStand sequence terminates. Is there a way to tell this LabVIEW code to Exit, I've tried the Quit LabVIEW function, but that causes a C++ RunTime Error.  The LabVIEW code does end though, and it is set in the VI properties to:
    Checked - Show Front Panel When Called
    Checked - Close Afterwardds if originally closed
    The sequence call that the LabVIEW code is launched from has the following options:
    - New Thread
    Unchecked - Automatically wait for the thread to complete at the end of the current sequence
    Unchecked - Initially Suspended
    Unchecked - Use single threaded apartment
    Any clues on this would be appreciated.

    Hi ADL,
    Everything should close correctly if you check the checkbox "Automatically wait for the thread to complete at the end of the current sequence" in the thread settings.
    With it unchecked, I am seeing the behavior you are. 
    Gavin Fox
    Systems Software
    National Instruments

  • Is it possible to call a VI that is inside a LabVIEW executable from a TestStand sequence?

    I have created a custom TestStand operator interface and have modified the default sequential process model to display a UUT information dialog that prompts for more information than just the UUT serial number.  This UUT information dialog is a LabVIEW VI.  To distribute the operator interface, I build it into an executable.  As part of the build process, I make a copy of the UUT information dialog VI (which is part of my operator interface project) and place it in the same folder as the executable.  I have then configured the sequential process model to call the dialog VI from this location.  It would be really nice if I could embed the UUT information dialog VI inside the operator interface executable so that I could distribute just an executable instead of an executable and separate VIs.  Is this possible?  In other words, is it possible to call a VI that is inside a LabVIEW executable from a TestStand sequence just like a standard LabVIEW VI call?

    Ryan,
    The dialog that you've created isn't being directly called by the OI at all and shouldn't need to be included in the same directory as the OI for distribution. Since you are modifying the PreUUT of the default process model, you will give the path to the VI in that step, create a deployment and then manually copy the VI to the directory referenced in the step. The VI is considered a support file for the process model and is not related to the OI at all.
    Test Engineer - CTA

  • Stop the beeps with the 7200 rpm hard disks of the MacBook Pro

    http://www.hardmac.com/news/2009/07/13/stop-the-beeps-with-the-7200-rpm-hard-dis ks-of-the-macbook-pro
    Stop the beeps with the 7200 rpm hard disks of the MacBook Pro
    from HardMac.com by [email protected] (Lionel)
    At the beginning of week, we have spoken about the unpleasant beeps made by the 7200 rpm hard drive proposed as an option in the MacBook Pro 2009.
    A solution has been found, the details are given by Rémy.
    These tedious beeps occur when the disc is inactive and are caused by a system
    to reposition the play-back head carried out in a repetitive way.
    In addition to the beeps of the hard drive, Mac OS X displays the pretty multicoloured wheel during some seconds while waiting for hard drive to finish these loadings and unloadings of the play-back head.
    The solution comes with a utility of the name hdapm (for Hard Disk Advanced Power Management) which makes it possible to change the level of energy management (APM) of the hard drive.
    Hdapm can be downloaded from : http://mckinlay.net.nz/hdapm; hdapm being a command line utility, it is thus necessary to use the Terminal (which is in /Applications/Utilitaires).
    After copying hdapm into your user file, the command to enter is:
    sudo ~/hdapm disk0 max
    disk0 corresponds to the disc to regulate knowing that hdapm should function with any ATA disk supporting APM
    max is the level of APM which is a number ranging between 1 and 254 included
    the word following are preset and can used in the place a number for the level of APM
    max (maximum performance) is the parameter to use to eliminate the “beeps”.
    min (maximum economy of energy)
    default (returns to the default setting)
    The level of APM is a temporary adjustment in the firmware of the hard drive, this adjustment is lost when the disk is powered down and it is thus necessary to redo this at each for each start up.
    To install hdapm so it is launched at each start-up, it is necessary to copy hdapm to the hard drive (/usr/local/bin is advised) and to copy the file hdapm.plist in /Library/LaunchDaemons.
    It will be can be necessary to you to edit hdapm.plist with the desired parameters; the default settings are: the repertory where hdapm is /usr/local/bin, the hard drive is regulated on the first (disk0) and the level of APM is the maximum.
    You can simply copy the file hdapm into /usr/local/bin file if you want to avoid modifying Plist.
    Simplest way to reach these files is to use the Go/go to the file and to copy/paste this address before validating.

    Yeah, I don't buy that. I spoke with Seagate a couple of months ago when I was looking for the impossible to find 500 GB 7200 RPM HD and asked them that very thing. They told me it would work fine, but I should disable SMS. Apple told me the same thing. I ultimately waited and got a non G-Force model, but Seagate told me it would work.
    I also don't believe that they'd OEM the drive to Apple knowing it wouldn't work. That makes absolutely no sense. If Seagate knew the G-Force drive would not function properly in an Apple MacBook/MacBook Pro, and they OEM'd it to Apple for that purpose anyway, what does that say about Seagate?
    I admit it's odd that the used the G-Force model given the presence of SMS, but apparently Seagate has prioritized the manufacturing of the G-Force drives and probably offered it to Apple.

Maybe you are looking for

  • NOt geeting data in MC.5

    Hi Gurus, When i am executing MC.5 or MC.9 to analyse the storage location data, it is giving data doesn't exists.But when i see in MMBE or any stock releveant trasactions i am stock and also movement is there. Please help me in getting data in to MC

  • Can't open iPhoto library after upgrade

    I upgraded iphoto after install OSX Mavericks recently but I can't open iphoto library with the newer version. (It says "Your photo library will not be readable by previous versions of iPhoto after the upgrade. The upgrade process for very large libr

  • Privacy settings on photoshop express app

    I downloaded the photoshop express app to my iphone.  I initially chose not to allow it to 'work' from my camera roll.  Now, I realize I do need that and need to find how to allow this.  The directions are to go the privacy settings and change.  Howe

  • Need help with build.xml / junit - pls ignore my previous posting

    i'm trying to add unit tests for another class file in a larger package. the package is built with ant. relevant lines of the build.xml that pertain to unit tests are         </target>         <target name="test" depends="dist, build-tests">         

  • Secondary Datasource -Aud/Report

    Hi, We have secondary Data source configured for audit and reporting, now I have couple of questions: 1. Is AUD_JMS part of Primary DB or Secondary DB - i.e does OIM starts picking up Audit messages from Secondary DB or primary DB for processing befo