How to implement S/W countdown timer in TestStand

I would like to implement several timers that will be started at different point of TestStand sequence execution. These are to be long timeouts - so resolution of 1 sec will be enough. One timeout will be set to say 5 sec, another 20 sec, yet another 5 hrs, etc.
And while the timers are counting down I want to perform usual other tasks in TestStand - talking to serial port etc, so a solution with timer pauses TestStand execution while counting down is NOT an option I would be able to use.
I have browsed the web pages and managed to find VI timers. When I tried 2 of them - it did not work. This is probably because I do not know anything about VIs (when I want to call some VI I use TestStand function wrappers, written by o
ther people, which in turn call VIs).
I am sure there must be a way to do that - I'd appreciate a solution with working, simple TestStand EXAMPLE, say for one timer (*.seq file(s) + ready to use VIs, if needed).
So that I can reuse the example for more timers when needed.
Thanks

Hi skoni,
I have provided an example as a solution to your question.
The timer sequence is just a simple setup just to show the implementation. You can substitue what ever VI's you have for the timer.
I have modified the Computer Mother Board Test example by calling the timer which is set for 10 secs.
The sequence call has been setup to call in a new execution. You can check this with the Specify Module..
In the Cleanup I have a Wait For step.
Once the sequences starts the Timer seq will execute but is allowed to return to the caller. This allows the MainSequence to carry on with the rest of the sequence. When the Wait For is reach. The sequence will wait for the Timer sequence to complete before it continuous to completion.
If you are using TestSta
nd 3.0, then you can launch your VI step into a new execution without having to use a SequenceCall Adapter.
Hope this helps
Ray Farmer
Regards
Ray Farmer
Attachments:
Computer_Motherboard_Test_Sequence_with_timer.seq ‏37 KB
Timer.seq ‏24 KB

Similar Messages

  • How can I make a countdown timer using After Effects

    I'd like to make a video that has a timer that counts down one second at a time. I need one starting at 5:00 (five minutes). Is there a way to easily do this in After Effects without having to manually change the text every second?
    Thanks.

    I'm glad that you found a solution, but I thought that you might appreciate a suggestion of another approach.
    Colin Braley provides a tutorial and example project on
    his website that show how to use an expression on the Source Text property to animate text to overcome some of the limitations of the Numbers effect.
    There's a similar example in the
    "Example: Animate text as a timecode display" section of After Effects Help.
    Here are some Community Help searches that can lead you to some ideas, too:
    Community Help search for 'countdown timer'
    Community Help search for 'digital countdown timer'

  • How do i add a countdown timer in as3 that starts when the program begins?

    I also want it to remove everything that is on the stage when it reaches 0 and produce a Game Over screen.

    import flash.events.TimerEvent;
    import flash.utils.Timer;
    var countdown:Timer = new Timer (1000,TARGET_TIME);
    //after 60 Seconds every DisplayObject will be removed from stage
    const TARGET_TIME:int = 60;
    countdown.addEventListener(TimerEvent.TIMER, tick);
    countdown.addEventListener(TimerEvent.TIMER_COMPLETE, gameOver);
    function tick(e:TimerEvent):void {
        //this will count upwards 1.2.3.4....
        trace(e.currentTarget.currentCount);
    function gameOver(e:TimerEvent):void {
        // this function will remove all DisplayObjects from your Stage
        // starting from the top
        //It will not remove shapes or anything the user might have drawn on the stage
        //just things that are accessible to ActionScript (Sprites, MovieClips)
        for (var i:int = this.numChildren-1 ; i >= 0; i--) {
            removeChildAt(i);
    //countdown will start only if you call it explicitly
    countdown.start();

  • AutoRepeat Countdown Timer?

    Is there a way to get the countdown timer widget to "autorepeat" each week?  I would like to use it as a countdown for a Service Time.

    These should help you :
    http://stackoverflow.com/questions/28949028/countdown-reset-on-specific-time
    javascript - How Do I Create A Countdown Time That Resets At A Specific Time - Stack Overflow
    Thanks,
    Sanjit

  • AutoRepeat Countdown Timer Widget

    Hello to you! I was desperately looking for a widget that allows me to have an hour countdown to open a bar.
    I just wish it shows " Still open for 3:48 p.m. ," and it will reset automatically. With bonus (along you are the best ) so may display the style closure schedules " Reopens in 3:12 ."
    The only countdown widget I found are for site openings with a countdown day / hour / second ...
    Thank you!

    These should help you :
    http://stackoverflow.com/questions/28949028/countdown-reset-on-specific-time
    javascript - How Do I Create A Countdown Time That Resets At A Specific Time - Stack Overflow
    Thanks,
    Sanjit

  • How to implement countdown timer in apex

    Hi all,
    I want to implement timer in my application.i am working on apex 4.0 version.I am developing online test application,so for this i want to display timer for test.
    can anyone suggest me how can i implement countdown timer in my application.
    thanks
    jitu

    Hi,
    You can refer "Martin Giffy D'Souza's" Enhanced APEX Session Timeouts example
    http://www.talkapex.com/2009/09/enhanced-apex-session-timeouts.html
    Regards,
    Kartik Patel
    http://patelkartik.blogspot.com/
    http://apex.oracle.com/pls/apex/f?p=9904351712:1

  • Best way to implement a countdown timer for a turn based LCCS game

    Hello,
    I am trying to build a turn based game and sketching out the high level map, so I can focus my efforts towards the direction I should be digging.
    One thing I have not seen much in the sample apps is how a turn based game is best handled.
    For example, a countdown timer. Should it be a shared property? Or a Baton which is supposed to manage workflows and has a timeout property?
    Or, should I forget those two, and time this on the server, although if it would become popular keeping track of all the times in the rooms would cost an arm and leg. Would love to hear some best practices on this.

    good idea.
    Which one or all of them?
    Once you eliminate the impossible, whatever remains, no matter how improbable, must be the truth. - "Sherlock holmes" "speak softly and carry a big stick" - theodore roosevelt. Fear leads to anger, anger leads to hate, hate leads to
    suffering - Yoda. Blog - http://www.computerprofessions.co.nr

  • How to develop a countdown timer in jsp

    Hi all, please i have an online test application that works but i want to include a countdown timer that redirects to another page when the time runs out. please, how do i go about it. please help

    Thanks, but thats not the one i need. i want the one that will show the time in hh:mm:ss and then automatically take the user to the result page when the time i up. i have a javascript code i used but the problem is in the Result.jsp page, there are some parameters that are suppose to be passed but i dont know how to do it. this is the code:
    <form name="frm2" method="post">
    <script language="javascript">
    var sec = 10;   // set the seconds
    var min = 00;   // set the minutes
    var targetURL="result.jsp"; //the url
    var email=this.Field('email').value;
    function countDown() {
      sec--;
      if (sec == -01) {
        sec = 59;
        min = min - 1;
      } else {
       min = min;
    if (sec<=9) { sec = "0" + sec; }
      time = (min<=9 ? "0" + min : min) + " min and " + sec + " sec ";
    if (document.getElementById) { theTime.innerHTML = time; }
      SD=window.setTimeout("countDown();", 1000);
    if (min == '00' && sec == '00') { sec = "00"; window.clearTimeout(SD);
    window.location=targetURL;
    function addLoadEvent(func) {
      var oldonload = window.onload;
      if (typeof window.onload != 'function') {
        window.onload = func;
      } else {
        window.onload = function() {
          if (oldonload) {
            oldonload();
          func();
    addLoadEvent(function() {
      countDown();
    </script>
    <table width="100%">
    <tr><b><td width="100%" align="center"><span id="theTime" class="timeClass"></span></td></b></tr>
    </table>
    </form>and this is are the fields needed in the Result.jsp page..
    <input type="hidden" name="email" value=<%=exno%> />
    <input type="hidden" name="dbase" value=<%=names%> />
    <input type="hidden" name="tamt" value=<%=total%> />

  • How to create countdown timer with sound

    Any ideas on how to create a minute and seconds countdown timer that would play a sound and then redirect you to another page?

    Hi,
    There is no out of the box solution to do so in Muse at the moment. If you can get your own code, you can add it to your site using "Insert HTML" feature.
    Regards,
    Aish

  • How the implementation differs between BW and BI , Is BI takes more time fo

    Hi All,
    I would like to know difference between implemenation and time lines for MM as mentioned below.
    How the implementation differs between BW and BI , Is BI takes more time for implementing MM module  than on BW?
    Thanks in advanced. (Full points will be awarded)
    With Regards,
    PCR

    Hi Timo,
    Thanks for response!
    But as i read from the following url: http://docs.oracle.com/cd/E15051_01/apirefs.1111/e10653/oracle/jbo/ViewObject.html, the setQueryTimeOut(int timeOutMills), the timeOut is mentioned in milliseconds. Please correct me if I am wrong.
    and i have overriden the executeQuery() method in the View Object Impl class as shown below:
    public void executeQuery() {
    Map sessionScope = ADFContext.getCurrent().getSessionScope();
    sessionScope.put("MyQuery", this);
    try {
    super.executeQuery();
    } finally {
    sessionScope.remove("MyQuery");
    throw new JboException("Query Taking too long to respond");
    and in the JAVA class i am calling the above method like this:
    monitor.setQueryTimeOut(6);
    monitor.executeQuery();
    But the issue is:
    1. The above exception message is getting carried forward to other pages as well. I mean somewhere in the session/ADFContext this message is being saved and error comes up/pops up when i click on other tabs of the page. How do i clear this?
    2. The above exception message is coming for the first time but when i click the 'Submit' button second time, i am getting the results and also the message that 'Query is taking too long to respond'. This should not be the case, everytime it should show the same message as the timeout limit is less and the query should end without fetching the results.
    Kindly let me know how to resolve the above issues, any pointers will be helpful.
    Thanks in advance.
    Edited by: user9223904 on Nov 3, 2012 4:42 AM

  • How to Implement a Time Limit Feature in an Online Test Application ?

    I am creating an Online Test application. The time limit can be stored for a Test in the database.
    How to implement a time limit such that when the test is started (user clicks on the Start button to go to the fragment containing the Questions) the time left is shown and the test ends (goes to home page) when the timer reaches zero.
    Thanks

    Hi,
    timestamp is a date and thus cannot be used directly to determine seconds passed. So what you need to do is to build the difference between a saved time stamp and the current time.
    http://docs.oracle.com/javase/1.4.2/docs/api/java/sql/Timestamp.html
    So if you have two time stamps, then calling getTime() on each and building the difference gives you a value, which is millisecond. So to get this to an int value you divide it by 1000
    Frank

  • How to make a Countdown timer Script for Live Streaming

    I have flash media server...
    Here's a Scenario:
    User wants to do a Live broadcast.. But.. they don't want to
    just press record and have it starting Streaming Right that second.
    They need a Delay to prepare for their Live Broadcasts.
    Whats the best way for a script for a user to decide how much
    time delay they need before Recording Starts?
    Ideally it would look like this:
    There is a separate window that allows the user to set the
    Self-Timer which will give them time to get ready for their live
    broadcasts.
    User sets length of Time Delay: 30 seconds, 1 minute, 2
    minutes, or even up to 5 minutes.
    User presses Start Broadcast or Record Button to start
    streaming Live Video.
    Then.. the Countdown Timer starts... and it displays in Big
    Digits... the countdown on their screen... "3...2...1...
    Broadcasting Live Now!"
    How would I do this?
    Hope someone can help

    Open the widget library panel and follow the link to Adobe Muse Exchange.
    There you find a fine little widget collection, named Andrews Prototypes.
    Load it, double-click the file, and in your library you will find a countdown widget.

  • How can i improve this 2min countdown timer?

    Hello
    I'm trying to see if anyone has any ideas on how to improve this simple 2 minute countdown timer.  All suggestions are welcome!
    Thanks in advance!
    -noviceLabVIEWuser
    Solved!
    Go to Solution.
    Attachments:
    2min Countdown Timer.vi ‏38 KB

    As an alternative, I used a case structure to eliminate some calculations for Sample Time while Air Time is counting down and vice versa.  I don't know if this is necessarily better.  Your original code was simple and it worked fine.
    False case showing:                                          ​                                 True case showing:
    - tbob
    Inventor of the WORM Global

  • How to implement real-time refresh datas in obiee?

    How to implement real-time refresh datas in obiee?

    Can you elaborate more...
    If you want to see refreshed data in OBIEE Reports, you need to implement Caching mechanism based on how you often refresh warehouse..
    [http://download.oracle.com/docs/cd/E05553_01/books/admintool/admintool_QueryCaching6.html]

  • Trying to figure out how to make a countdown timer...

    Okay, so I finished my Java class for the semester (I got an A) =) and I'm trying to learn to make a countdown timer in my spare time. I just want something that I can add the date and time of what I'm counting down to into it and then just a simple GUI that sits on my desktop counting away. Of course the problem is I've never used time before in any of my assignments and so I'm really not sure how any of it should work. Anyone know any tutorials or methods/classes that could help me with something like this?
    Thanks

    I made something similar to that, it counts down in either seconds/minutes/hours/days to a specific date. I ended up doing a Google search and found a useful class called DateUtil that someone had written. It was very useful for doing all the nasty Calendar work and that kind of thing.
    Besides that, the GUI should be really easy, especially if you have already done a semester of Java. I used an uneditable TextField.
    Anyhow, I can put up some more detail if you need it, just ask.

Maybe you are looking for