When time has reached

Hi all,
I want to control the flow of code part depending on the time passed.
For example when passed time reached up to 20 seconds,I want to disappear a button on the screen.
I have controlled time as the difference of what has done between two events(click).If this difference is > 20, made button disappeared.
But I want to do it when difference is ok. Without need to click second time.
When clicked for example on execute, if he did not use a button for 20 seconds, just make it disappear.
How can I do this auto-triggering?
Thanks.
Deniz.

Hi.... Venkat...
Can you please xplain how it can be possible with time stamp...??
Hmmmm... venkat is guest!!
And..,
Hi.. Deniz...
Here I understtod your requirement actually... But what iam saying with my frist reply is... We can not change screen automatically with out user interaction.....by using ABAP coding..,
And...
I think you are aware of WAIT UP TO N SECONDS statement...
c this code...
>do 10 times.
>wait up to 1 seconds.
>write:/ sy-uzeit.
>enddo.
which can give output after 10 secs...
02:00:13
02:00:14
02:00:15
02:00:16
02:00:17
02:00:18
02:00:19
02:00:20
02:00:21
02:00:22
and one more thing...
It may be possible if user presses other buttons in that screen....
we can write code for this...
with that we can disable that button after certain time...
I think you can do it or If you want I can suggest logic for this...
ANY BODY MORE IDEAS ON THIS REQUIREMENT
Thanks,
Naveen Inuganti.

Similar Messages

  • What is the simplest way to toggle the counter terminal when time has elapsed in the Complete PWM Example?

    I have successfully downloaded and executed this: http://www.ni.com/white-paper/2991/en
    and I know it works because I can see the pulse train on channel #1 on my osciloscope. 
    I have modified the sample code from the website to use pulse width and frequency knobs that may change dynamically:
    What I would like to do is toggle the "Dev1/ctr1" to "Dev1/ctr0" every 10 seconds.  I have investigated into the "Elapsed Time" express vi and I am able to successfully count the number of times the time has elapsed, however when 10 seconds have gone by I cannot simply update toggle input to "CO Pulse Freq" with a different counter input because it has already past that object and is busy running in the loop above.  How can I reset the pulse to execute with a different counter input?
    In short, the Elapsed Time express VI works perfectly by itself, but when the time has elapsed how do I force restarting the pulse train with "Dev1/ctr0"?
    Solved!
    Go to Solution.

    assuming you want to toggle control from 1 to 0 and back every ten secs and zeroing out the other channel...index the array to write values to one or the other channel.
    Spoiler (Highlight to read)
    note: if needed...use shift registers to hold onto the last freq/pulse width values for the last channel when toggling to the other. use 'n channel' for multiple counters, concatenate multiple channels on your counter constant
    Spoiler (Highlight to read)
    Attachments:
    toggle.vi ‏47 KB

  • When time line reaches a certain frame load swf into movieclip.

    Hi,
    I need some help with some actionsscript. When the timeline reaches a certain frame, I want an swf to load into a movieclip in that particular frame. I need this to occur on level 1 as the root of the site is pre loader. Any help would be much appreciated. Cheers

    In that frame, on an actions layer, use either the loadMovie method or the MovieClipLoader.loadClip method to load the swf into the movieclip.  There should be examples of using either in the help documents and via Google.

  • Menu to disappear when TIMER has expired

    Hello!
    I am developing a SIM Card Application!
    I want to show a menu for a specific time!
    I show a menu to the user, and initiate a timer at the same time. Once the timer expires, I want that menu to disappear.
    Nothing happens because the phone waiting for a Menu Respons from the user!
    How can i solve this problem??
    Best regards.
    FJ

    Whatever you had running when the system shuts down will automatically start up again after a reboot.  This is a designed behavior, so you don't have to worry about having to open everything you had running.  If you have Safari running and you reboot, it'll even open up all the pages you had open.
    I believe there is a way to turn this off in the System Preferences, but IMO, it's a pretty convenient feature.

  • Can't tell when i have reached the end of the file

    Hi i'm trying to read a character at a time from a file but i can't tell the program when to stop when it has reached the end of the file
    THis is the code
    BufferedReader br = new BufferedReader(new FileReader("input_dat.txt"));
    while ((c =(char) br.read()) != .....what should go here...)
         System.out.print((char)c);

    i got it to work
    hear is the code if anyone is interested .
    int i= 0;
    char c;
    BufferedReader br = new BufferedReader(new FileReader("input_dat.txt"));
         while((i=br.read()) !=-1)
         c =(char) i;
         System.out.print((char)c);

  • Current Time code field and "Capture Now has reached the end of tape......"

    Hi I just got my new iMac and I have lots of space. When I open up the Final Cut Pro and press the capture now it gives me the notice that it had reached the end of tape, but I haven't reached the end. I have vhs in the VCR machine and it is connected through the digital device. Not only that but my current timecode field is always running and I can't stop it. Also I used the uncontrollable device and when the tape has reached the end I tried to escape but it seizes up and I lost my capture. what shall I do?

    Yeah, I was just thinking about that. I'm doing this on an iMac.
    What's going on with Capture Now? I know staying digital would be best. But I'm kinda doing this project to give myself some hands-on time with FCP to get familiar with it. I'd like to capture this stuff through the Log And Capture GUI if I can. Sooner or later, I'll need to do it with something else (possibly an old VHS tape) where I won't have the option of staying digital.
    Anybody?

  • How to get a callback when a counter has reached a certain value

    Hi, I'm trying to figure out how to hook up an event to be fired when a counter has reached a specific value.
    We have a counter hooked up to an encoder a constantly counting encoder pulses. I want to set up a counter task to give a callback
    as soon as a certain encoder value is reached. I.e give callback when countervalue is 1000. This value should be dynamically changable so next time the countervalue to generate a callback could be any value.
    I understand there's workarounds like polling and/or read current values and subtract with offsets from a zerolevel... and so on, but to minimize complexity I'd like to just hook up a Task callback with a changable countervalue parameter.
    I'm using DaqMx and have a 6220 but any card can be used.
    /J

    In that case you should do something like this;
    Task.CIChannels.CreateCountEdgesChannel(
    "/Dev1/Ctr0",
    "SomeName",
    CICountEdgesActiveEdge.Rising,
    iTerminalCount - iTrigcount,          //iTerminalCount is the maximum value of the counters register, these things are                                                           // probably board dependent but constant. iTrigcount is the variable you pass (e.g. 1000)
    CICountEdgesCountDirection.Up);
    Then you can hook up an eventhandler like so;
    Task.CounterOutput += new CounterOutputEventHandler(Task_CounterOutput);
     And the eventhandler;
    void Task_CounterOutput(object sender, CounterOutputEventArgs e)
         // Do stuff. Probably the first thing to do here is stop the Task...
    You can fill this in however you please...
    I never used this but it should work I think. Also have a look here to see how you can calculate Terminal Count;
    Info on TC
    Now here's to hoping you like C# (because I absolutely hate VB
    If necessary and you provide more feedback I can also build you a class that handles the job you need... Let me know!

  • INVALID_TICKET account-time-limit-reached when logging into any of my room

    I get the following error message when trying to log into any of my rooms. What do I need to do? I already tried to create a new room, but it did not resolve it.
    A system error has occurred. We have been notified.
    Error Code: INVALID_TICKET account-time-limit-reached

    Is there the upgraded account with no limitation. What is the price for that?
    Another question, I got the exception like that.
    But I can't know on which line the exception occurs on my code.
    How can you catch such an exception?
    INVALID_TICKET: account-time-limit-reached
    at com.adobe.rtc.session.managers::SessionManagerBase/receiveError()[/Users/arun/Work/aponnu sa_theoden.corp.adobe.com_1666/main/connect/cocomo/src/com/adobe/rtc/session/managers/Sess ionManagerBase.as:270]
    at com.adobe.rtc.session.managers::SessionManagerFMS/receiveError()[/Users/arun/Work/aponnus a_theoden.corp.adobe.com_1666/main/connect/cocomo/src/com/adobe/rtc/session/managers/Sessi onManagerFMS.as:288]
    at com.adobe.rtc.session.managers::SessionManagerAdobeHostedServices/receiveError()[/Users/a run/Work/aponnusa_theoden.corp.adobe.com_1666/main/connect/cocomo/src/com/adobe/rtc/sessio n/managers/SessionManagerAdobeHostedServices.as:254]
    at com.adobe.rtc.session.sessionClasses::FMSConnector/receiveError()[/Users/arun/Work/aponnu sa_theoden.corp.adobe.com_1666/main/connect/cocomo/src/com/adobe/rtc/session/sessionClasse s/FMSConnector.as:643]
    Thanks.

  • Every time I go to loge in icloud it sends me a message tha t free creating emails has reach the maximum how can I reset this?????

    Every time I go to log in I cloud it tells me that my phone has reaches the maximum free account uses!!!!!!!!!!!!how can I reset this?????

    Have you had a look at this?
    iCloud: Mailbox size and message sending limits

  • How do I get into iTunes to access Netflix, when I get "iTunes unable to connect until time has been set", after submiting my password?

    How do I get into iTunes to access Netflix, when I get "iTunes unable to connect until time has been set", after submiting my password?

    You need to follow the instructions in this article that best apply to your situation:
    Forgot passcode for your iPhone, iPad, or iPod touch, or your device is disabled - Apple Support
    If you do not have a backup in either iCloud or iTunes, then you will have no way to retain the information on your device because you will have to restore it in order to access it again.
    Sorry,
    GB

  • Can you tell when a loaded SWF has reached its final frame?

    I used loadMovie to load an external SWF into the bottom-half
    of a main "shell" swf. When that loaded SWF finishes playing (it's
    just an animation), I need to populate a text field with the word
    "DONE" . The text field resides on the _root, so I need some way to
    know when the loaded SWF has reached its last frame...
    This would obviously be easy if I had the .FLA of the loaded
    SWF because I could just write the actionscript on the last frame
    of that SWF to populate the _root textfield. Alas, I do not have
    the source FLA of that loaded SWF, so I need some way to have the
    main "shell" SWF/FLA know when that loaded SWF has reached its end.
    Is this possible???
    Thanks!!!

    DIY_Lobotomy,
    > The reality of my situation is that there's a "menu" of
    sorts that
    > gets loaded into "contentClip". This "menu" has a bunch
    of links.
    So far, so good.
    > When clicked, each link loads a DIFFERENT swf into
    "contentClip".
    > It is THOSE swfs that I need to note the end of.
    That's still okay.
    > So, there's actually more than one, and they're not
    exactly being
    > loaded directly from my main movie, since they're
    actually loaded
    > based on a link being clicked in the movie that is
    currently loaded
    > into "containerClip"
    The concept is still the same, no matter what. No matter how
    deep the
    one-clip-loads-another chain goes, you have to keep taps on
    each chain link.
    When the final link has loaded, you'll be able to make your
    object reference
    to that movie clip. That movie clip -- because it's an
    instance of the
    MovieClip class -- will have the _currentframe and
    _totalframes properties.
    You'll just be checking *that* cliip's properties instead of
    the one named
    contentClip in my own example.
    You can loop using onEnterFrame or, if you prefer, with
    setInterva().
    That doesn't much matter either, so long as you repeatedly
    poll the deepest
    clip to test its current frame against its last frame (this
    all assumes that
    the clip being tested is a linear animation whose end
    corresponds to its
    last frame; otherwise, you could check _currentframe against
    any arbitrary
    frame number).
    > I hope that wasn't too confusing! Do you still have a
    solution???
    Not too confusing to understand, but it might be confusing
    to route
    through in practice. Not confusing, actually, but meticulous
    ... you'll
    have to be careful with your pathing. Nested movie clips are
    very much like
    nested folders on your hard drive. Their instance names
    relate to the
    folder names.
    Now, if that menu doesn't have an instance name you provided
    -- or if
    any fork along the path has an instance name you can't
    control -- you can
    still reference the nested movie clips. If you test your file
    in the
    Debugger panel, you'll see all the instances laid out in
    hierarchical order.
    You'll see that automatic instance names are provided
    (something like
    "instance1", "instance2", etc.).
    David Stiller
    Contributor, How to Cheat in Flash CS3
    http://tinyurl.com/2cp6na
    "Luck is the residue of good design."

  • I have tried to update the operating system on my ipad several times without success.  Each time it reaches 353.2mb of 353.2mb and starts to process the file.  Nothing happens and then I get a message saying the network connection has timed out.

    I have tried to update the operating system on my ipad several times without success.  Each time it reaches 353.2mb of 353.3mb and starts to process the file.  Nothing happens and then I get a message saying the network connection has timed out.  The network is still connected.

    Have you tried temporarily turning off your firewall and antivirus software whilst the download is happening ? A number of people on here have had success downloading it after doing so.

  • I am getting this error when time machine tries to back up to a time capsule.  "The backup disk image "/Volumes/JUDY ARCENEAUX's Time Capsu-1/JUDY ARCENEAUX's MacBook Air.sparsebundle" is already in use."  Same time capsule has worked in the past.

    I am getting this error when time machine tries to back up to a time capsule.  "The backup disk image “/Volumes/JUDY ARCENEAUX's Time Capsu-1/JUDY ARCENEAUX’s MacBook Air.sparsebundle” is already in use."  Same time capsule has worked in the past.

    First, restart the computer and the Time Capsule. In most of the cases, this should solve the problem.
    If it doesn't work, see > http://pondini.org/TM/C12.html

  • HT204406 My iMatch is crashing every time is reaches the end of step #2 - checking all the songs in my iTunes library.  There are 4,389 songs to match, and when it reaches 4,388 songs checked and matched, it crashes and shuts downs iTunes altogether.

    My iMatch is crashing every time is reaches the end of step #2 - checking all the songs in my iTunes library.  There are 4,389 songs to match, and when it reaches 4,388 songs checked and matched, it crashes and shuts downs iTunes altogether.

    hi i had the same problem today when i updated my itunes to latest version. however, i have just found my songs in the 'itunes media' folder. this was accessed through 'my music'  then keep clicking through until you find itunes media and all my library songs were in there and i then just added these files to my library and all were restored however, i have lost all my playlists but at least my 700 songs are back. very dissapointed with apple that they have let this happen with their latest update, the previous version was miles better than this one . hope you find them. stevo

  • Since the last update of firefox, the time has been 25 to 35 seconds to enter bookmarks or even the time it takes to page down when it used to take a few seconds. can you check why it taking so long since the update on firefox.

    since the last update a few days ago of firefox, the time has been 25 to 35 seconds to enter bookmarks or even the time it takes to page down when it used to take a few seconds. can you tell me why it taking so long since the update on firefox. may another update is in order.

    I have now done pretty much every suggestion that even vaguely applies in the various helpful link provided. Thanks for the ongoing help. =)
    I have managed to get FireFox's start-up memory usage down to about 100,000K, however it appears that memory usage keeps creeping up the longer FireFox is open. (It seems to top out around 500,000K.) And I'm not talking open for many hours or days - but rather for minutes and possibly up to a couple hours. (Based on how long I've been fiddling with all this so far.)
    On the plus side, it does not appear GreaseMonkey is the culprit since with it active or disabled this memory creep still occurs. Although having GreaseMonkey enabled definitely increases the rate of memory creep. Though once it has creeped up to 150,000+K, disabling GM does not make it drop back down to the starting 100,000K.
    I should point out I run a MacBook Pro and use Bootcamp to partition the hard drive and run it as a Windows 7 PC about half the time. I am running it literally as a PC or, alternately, as a Mac depending on which hard drive I choose to load. (I'm not "windowing" it.) This problem exists regardless of whether I am using the PC or the Mac. These repairs have been made currently on the PC side, and I will attempt them all again on the Mac side. I find it odd that this enormous memory drain has occurred on 3 different computers at the same time. (The two "halves" of my home laptop as well as the PC at my work place.)

Maybe you are looking for