Putting Time Delays in DW

This is probably a simple problem with a simple solution but
it really is bugging me how to do it.
I'm new to DW and i'm making a template for my site. It has
nav bars, some button behaviours and hidden layers.
On each of my nav bar buttons i have MouseUP and MouseOver
behaviours and they all link to another webpage when clicked.
I have also put a OnClick behaviour which shows a hidden
layer which has a flash movie in it which plays automatically when
the layer is displayed.
The movie is quite simply pawprints which walk across the
screen (i've even used wmode-transparent parameter).
It looks good but what i'm after is that when you press a nav
bar button i want the layer to open and the pawprints to walk
across the page then the next webpage loads up.
This doesn't happen. You press the button and before the
flash files starts its already linked to the next webpage.
Is there anyway of delaying the next webpage loading up just
so the flash movie can play out. (i'm looking for a 4 second delay)
Remember i'm a beginner so please don't be too technical.
I've looked at Set Timeout, OnUnload and i'm just confused.
Please Help Me...

Hi Stephen:
I am amazed that you were able to install your flash movie in
a way that it
does not begin to play until the layer it's in becomes
visible.
Assuming this is actually happening as you indicate, could
you add the
trigger to go to the "next webpage"
in the last frame of the movie rather than in DW?
"stephen1000" <[email protected]> wrote in
message
news:fhjs82$6lu$[email protected]..
>
> This is probably a simple problem with a simple solution
but it really is
> bugging me how to do it.
>
> I'm new to DW and i'm making a template for my site. It
has nav bars, some
> button behaviours and hidden layers.
>
> On each of my nav bar buttons i have MouseUP and
MouseOver behaviours and
> they
> all link to another webpage when clicked.
>
> I have also put a OnClick behaviour which shows a hidden
layer which has a
> flash movie in it which plays automatically when the
layer is displayed.
>
> The movie is quite simply pawprints which walk across
the screen (i've
> even
> used wmode-transparent parameter).
>
> It looks good but what i'm after is that when you press
a nav bar button i
> want the layer to open and the pawprints to walk across
the page then the
> next
> webpage loads up.
>
> This doesn't happen. You press the button and before the
flash files
> starts
> its already linked to the next webpage.
>
> Is there anyway of delaying the next webpage loading up
just so the flash
> movie can play out. (i'm looking for a 4 second delay)
>
> Remember i'm a beginner so please don't be too
technical. I've looked at
> Set
> Timeout, OnUnload and i'm just confused.
>
> Please Help Me...
>

Similar Messages

  • Contradiction between time delay and fetch bmp file

    Hi All,
    I need to fetch BMP file by confirm.vi(pic2), but when I run the program, the BMP file won't come out correctly. the last picture always come out. (for example, the first time picture A come out, but when picture B should come out, it still show Picture A.)
    the correct picture will come out correctly when i put time delay 100ms in the loop. but it will cost lost of time,two arraies have 300 elements and 20 elements separately. how can I make it faster to fetch the correct picture? thanks!
    Solved!
    Go to Solution.

    So you are using a file in order to pass data between loops?  That a major race condition.  Try using a User Event, Queue, or Notifier to send the picture to your other loop.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • How can I put a time delay between specific events in a while loop?

    How can I put a time delay between specific events within the same while loop? I'm already using the "wait" command to control the overall loop iteration speed. But I want to time the individual events as well.

    Hi Jesse,
    You can use a flat sequence. In each box you can put your individual events and attached wait.
    Don't forget to reduce your total loop time of the time you added in the individual sequences.
    Doc-Doc
    Doc-Doc
    http://www.machinevision.ch
    http://visionindustrielle.ch
    Please take time to rate this answer

  • How do I create a time delay so the signal from my throttle is not too fast for an ESC?

    I am using Labview to control a ROV using a Playstation 3 controller.  When I throttle too quickly the ESC cuts off and resets.  I talked to the manufacturer of the ESC and they said the probable cause was the signal was changing to fast for the ESC to follow andthey recommended putting a delay in the program to allow time for the ESC to read the throttle increments.  My question would be "How do I do this?"  Thanks

    I'm not exactly sure how to do what you are talking about.  I have been doing this for about a month and have taken only an intro class in Labview at my university.  Could you point me in the right direction to learn how to do it .  I have attached the VI just in case you wanted a closer look at it.  Thanks
    Ivan
    Attachments:
    PS3Thruster.vi ‏210 KB

  • How to put a delay between Sender Adapter processing ?

    Hi,
    I'm using FTP type and I schedule the sender each 1hour. In that time, plenty of file has been added into the source folder.
    The files are like this <file_name_###>.txt where the ### are a incremental number. PI can takes all of them in order thanks to this patern : <file_nme>*.txt, but when processing it takes all the file in one time.
    I would like to put a delay between each file. Is it possible ?
    Kind regards
    Joseph BERTHE

    Hi Joseph,
    I need it because the receiver is a RFC adapter so I call a BAPI. But I want a unique call. So When the first file is eaten by PI it executes the BAPI, but during that time no one can execute that same BAPI. So I want to put a delay between each file.
    > Delay between Sender Adpter Processing will not be possible .
           But you can make the Interface work in EOIO fashion . by that your inputs will be processed one after the other .
          Make the parameter "Quality of Service"- Exactly Once in order at your sender adapter level for this.
    EOIO (Exactly Once In Order): Here Messages are delivered with the same queue name as in the same sequence that they were sent from the sender system. Message processing will be asynchronous in this case.
    Regards ,

  • Use the LabView time delay in a while loop instead of using the instrument inherent time loop.

    I have a zes lmg500 that I use. It has the option of continues measuring data, with a user control cycle loop (still using a while loop but the delay is coming from the instrument). The problem is that the loop time is not constant. Can I use a very short time (100ms) as the instrument cycle time but use a longer time delay in the while loop that collect the data?
    I know many instrument offer the same abilities, so the question is relevant to all of them.
    Thanks for any help
    Solved!
    Go to Solution.

    Does that measurement VI have built-in wait functionality and a timeout?
    If not, then you are simply polling the VI at 1 kHz, but I suspect that this is not the case or your Waveform Chart probably wouldn't look as you expect (getting 0's put in everytime measurement data is not available).
    I expect that if you have the instrument set up to send data at a fixed time interval (i.e. 100 ms), all the data that it is sending you will end up residing in your serial buffer (or the instrument driver will have taken it out and put it in another internal buffer), so if you come back to read it 1 sec later, then you will have 10 data points to go through.  Whether you can read them all at once with the read VI or have to call it a whole bunch of times until empty I can't say.
    What is your objective?

  • Time Delay Indicator

    This should be the simplest thing to do, but I'm getting stuck for some reason: I have a time delay running for a user-specified number of seconds, and I want an indicator on the front panel showing how much of this time has elapsed. I thought the "Elapsed Time" VI would be exactly what I was looking for, but I can't seem to get it to do what I want. I've attached my attempt; if you can point out where I'm going wrong, it would be much appreciated.
    Solved!
    Go to Solution.
    Attachments:
    Time Test.vi ‏34 KB

    You don't have a while loop, so your code only runs once.
    Your time delay is running in parallel with the elaspsed time.  So it will delay the execution of the code.
    Get rid of the time delay and put the elapsed time and its indicator in a loop.

  • Using time delay for displaying tooltips

    Hi guys, hope you are all fine,
    I have a little problem, i need to use time delay for displaying a tooltip for a specific amount of time but i don't know what code to use.
    Can you please give me a hand? I also try to find out the right way on how i can use tooltips when using a Jpanel and paintComponent. I amcurrently using setXORMode but this is not too efficient.
    Thanks guys,
    Regards,
    John.

    Ok guys, for any other who need this info, you get time delay by this:
    try {
    Thread.sleep(time);
    } catch (Exception e) {}
    // in "time" you put an integer value which represents milliseconds

  • Can i give time delays

    I want to have a screen that displays different status icons after every 10 seconds. I have the code for changing the icons but i donot know how to create a delay before the icons change.
    Can anyone help??

    *& Report  ZBC400_13_STATUS
    REPORT  ZBC400_13_STATUS.
    icon_name holds the name of the icon from the icon table
    icon_text holds the text message recieved from the icon table
    status_icon is the icon in the screen
    DATA: status_icon TYPE icons-text,
          icon_name(20) TYPE c,
          icon_text(10) TYPE c.
    Workarea type icon
    DATA: WA_ICON TYPE ICON.
    Screen 9000 has just the status_icon
    CALL SCREEN 9000.
    PBO
    MODULE set_icon OUTPUT.
    One icon is taken from the database everytime and put on the status
    icon for 20 rows in icon table
    SELECT NAME MESSAGE FROM ICON INTO CORRESPONDING FIELDS OF WA_ICON.
    IF SY-DBCNT > 20.
    EXIT.
    ENDIF.
    Assigning retrieved value from table to local variable
         icon_name = WA_ICON-NAME.
         icon_text =  WA_ICON-MESSAGE.
      CALL FUNCTION 'ICON_CREATE'
           EXPORTING
                name                  = icon_name
                text                  = icon_text
                info                  = 'Status'
                add_stdinf            = 'X'
           IMPORTING
                result                = status_icon
           EXCEPTIONS
                icon_not_found        = 1
                outputfield_too_short = 2
                OTHERS                = 3.
    *Time delay.
    DO 1000 TIMES.
    DO 1000 TIMES.
    DO 10 TIMES.
    ENDDO.
    ENDDO.
    ENDDO.
    *THe change is made to reflect on the screen
    MODIFY SCREEN.
    ENDSELECT.
    ENDMODULE.
    This program has a problem.
    THe delay is set in the PBO so all processing ends before screen is displayed.
    Any solution?

  • Time delay between 2 waveforms

    Hi,
    Please bear with me while I explain what I’m trying to do :-)   Basically, in the attached LabView file (“flow vis + trigger-m.vi”), I am generating 2 signals: a sinusoidal waveform (used to drive an actuator) and a square waveform (used as a TTL signal to trigger image capture on a CCD camera). Currently when I run the program using LabView 7, both signals are started simultaneously. I would like to introduce a time delay that can be manually specified in the VI, such that when the program is started (i.e. at time t0), the sinusoidal waveform also starts (i.e. at time t0) before the square waveform (i.e. at time t0 + delay time). In a practical sense, this means allowing the actuator to run for several seconds before capturing any images.
    It sounds like it should be quite straightforward to do, but I’m not so sure how to progress. I have begun to modify the original VI (“flow vis + trigger-m_2.vi”, as attached), but would be much appreciative of any help or suggestions on how I can complete the VI to meet the above requirement.
    Many thanks,
    Mark
    Attachments:
    flow vis + trigger-m.vi ‏939 KB
    flow vis + trigger-m_2.vi ‏895 KB

    Please refer this URL for an example VI I made to solve the problem:
    http://forums.ni.com/ni/board/message?board.id=170&message.id=227603
    Way S.
     NI-UK Applications Engineer

  • Creating a Time Delay Between 2 Waveforms

    Hi,
    Please bear with me while I explain what I’m trying to do :-)   Basically, in the attached LabView file (“flow vis + trigger-m.vi”), I am generating 2 signals: a sinusoidal waveform (used to drive an actuator) and a square waveform (used as a TTL signal to trigger image capture on a CCD camera). Currently when I run the program using LabView 7, both signals are started simultaneously. I would like to introduce a time delay that can be manually specified in the VI, such that when the program is started (i.e. at time t0), the sinusoidal waveform also starts (i.e. at time t0) before the square waveform (i.e. at time t0 + delay time). In a practical sense, this means allowing the actuator to run for several seconds before capturing any images.
    It sounds like it should be quite straightforward to do, but I’m not so sure how to progress. I have begun to modify the original VI (“flow vis + trigger-m_2.vi”, as attached), but would be much appreciative of any help or suggestions on how I can complete the VI to meet the above requirement.
    Many thanks,
    Mark
    Attachments:
    flow vis + trigger-m.vi ‏939 KB
    flow vis + trigger-m_2.vi ‏895 KB

    Hi Mark,
    I forgot that all analog waveforms generated needed to have the same number of samples in a single task. By introducing a delay into your square wave, I effectively added samples that waveform. So the same number of samples added to the square wave has to be added to your sine wave. I added code that extends the number of samples of your sine wave (# delay + square wave samples). Let me know if this works for you.
    Regards
    Way S.
    NI UK Applications Engineer
    Attachments:
    flow vis + trigger-m70.vi ‏872 KB

  • My recirculating pump in sub vi simulation link doesnt work in the second iteration .It opens for maybe half a second whereas i gave the time delay for 5 secs..plz help very urgent

    Hi,
         I have attached my simulation loop.In the model attached i hav eone main pump with constant rpm which drives the 5 smaller pumps and fills the tank at the same time.As soon as the tanks reach their 90% level,the valves of the five pumps close(SP1,SP2,SP3,Sp4,Sp5).After that the recirculating pumps opens for 5 secs of the first tank.As soon as the recirculation finishes,the drain valve(SV1) for tank 1 open and the volume goes to interim storage.This happens for all the remaining tanks.
    My simulation works the first time,but when the second time the loop starts,it skips the recirculation pump even though i gave a time delay for 5 secs.Plz help ..I have attached the simulation.
    Thanks,
    Rami
    Attachments:
    Spatial Logic_2_Final.vi ‏223 KB

    Rami,
    I suspect that you have a race condition. The widespread use of local variables frequently leads to race conditions. Your subVI (Spatial Logic Sub_2.vi was not included) so I cannot run the VI. You have no way of knowing whether the subVI or the inner case structure will execute first, because there is no data dependency between them.
    I think a shift register or a few and some dataflow thinking would allow you to eliminate the inner case structure, the local variables, and, probably, most of your problems.
    Some of the SPi are indicators and some are controls. How are they used?
    The last case of the inner loop retursn to Case 1. Would case 0 be better?
    As for the second time through issue, it may be related to the Elapsed time function Auto Reset. From the help file: "Resets the start time to the value in Present (s) when the Express VI reaches the Time Target (s)." If more than 5 seconds elapses between the first time you use this and the next, it will exit immediately on the subsequent calls.
    Lynn

  • DAQ AO to AI time delay

    Hallo,
    I'm working on an academic control project, where I need to read (ni9215) 3 or 4 channels very fast,
    process the data and write them back (ni 9263) via usb-chassis 9172. To check the accuracy and time
    delays I tried a loop from AO to AI (only one channel) and generated a step, saved the timestamp of the
    step and checked, when the step was readed in the written measurement log. I doesn't see andy difference
    in using two VI's to read and to write or combining them in one VI, so I added images of two VI's.
    While comparing the timestamps of the sampled step and the log file, i noticed time delays of about 200ms
    from output to input. So my VI's are times too slow for my control purpose... anybody knows, what to try?
    In this VI I read data with 500hz, 10 samples to read and 10 samples/channel. The read timeout is set to
    default, but if I set it to zero, strange (negative) times are written to the measurement log... I tried
    to change from N samples acquisition to single sample acq, but it didn't speed up the VI.
    Thanks for answering!

    Hi IoInNBlack,
    first of all thank you for posting in this forum.
    I think you should synchronize your input/output operation, otherwise I don´t understand how you can take the timestamps and consider them
    reliable for your evaluation. I suggest you to modify the LV example here attached with timestamps and file I/O to build up your test and see what results you get then. Consider also that  20 ms are necessary for the acquisition of the samples and then you have add the time necessary to manage the file I/O.
    Best regards.
    Andrea P.
    Message Edited by pxchellone on 07-06-2009 09:23 AM
    Attachments:
    Multi-Function-Synch AI-AO.vi ‏35 KB

  • Time Delay Express VI default to show as icon?

    I am really only intrested in the Time Delay "express vi"
    This is the only express vi I ever use and it drives me nuts everytime I drop it in and this HUGE box takes up space for nothing.
    I would really love to have just the one VI able to default to Show as icon.
    Attachments:
    Time.png ‏32 KB

    Part of me says that Express VIs should be as annoying as possible so they go away.  But, in the spirit of trying to be helpful I will offer one suggestion.  I have created a subVI which only contains the time delay Express VI.  You can add this to the Palette (ie. user.lib) and go to Tools->Advanced->Edit Palette Set find the SubVI, right-click and select Place VI contents.  Now when you choose this version it will drop in as an icon.
    Attachments:
    TimeDelay.vi ‏19 KB

  • I've tried every online tutorial for timer.delay + experimented... how to make it work in this sitch

    Hey,
    I've read literally every single timer.delay tutorial I could find online, on youtube, the official documentation, tons of posts on this forum, etc. What I am trying to say is I looked everywhere before posting for help.
    I have a timer running. It runs throughout the game. I need to modify the speed of that timer when a player either hits a certain second(won't work, because the timer is already running) or when someone gets a certain score(can't get it to work, because timer is running).... so my question is how do I get timer.delay to work when the timer is running throughout the entire game. I tried to control the delay by when someone gets a point, but that didn't work either. I am using a trace statement so I see the seconds and the timer speed. the code looks something like
    randomvariable = new Timer(2000,8);
    timer.addEventListener(MouseEvent.CLICK, loop);
    timer.start();
    function loop
    // my looping code here
    What I posted is psuedo code.
    Any ideas on how to make the timer go faster without delay, since I can't get delay to work under the circumstances I explained? Or is there a work around that I don't know about? I will try to give back to the forums by answering other questions. Oh, I am running this on the timeline, not in a .as file. Thanks so much for your help!

    That's what I thought. I thought if I set a delay inside the function or in an if statement for the var that  prints out  the timer decrease that it would work. It doesn't. I'm using Adobe AIR for IOS, but I doubt that makes a difference in this case. I write timer.delay=500; that should make the timer go at 500 milliseconds. My trace shows the amount of milliseconds didn't change throughout the application. It is quite bothersome, since everything else works and every guide and the docs say what I am doing should work. Any ideas?
    Thanks.
    Sincerely,
    Ryan Satterfield

Maybe you are looking for

  • Installation and compatibility issues with photoshop CS4 - Win 8

    I recently purchased a new computer with Windows 8. I am experiencing issues when attempting to install the downloaded and upgrade copy of photoshop CS4. Initially unpacking the software presented issues, but I believe they've been resolved - specifi

  • IPhone and Outlook 2002 - updated info needed

    I need to synchronize a new iPhone with Outlook 2002 - contacts specifically. There was a thread (now archived) about 1-1/2 years ago that describe a way of doing this with iTunes 7.5 and iPhone 1.1.1. However, iTunes is now on version 8.x and the iP

  • Looking for a fcp 7 blu ray workflow?

    Has anyone found a workflow they are happy with creating HD blu ray discs out of fcp. I shoot with the sony PMW-350 and edit in fcp 7 and need the ability to distribute in HD. Have installed the pioneer BDR-205 blu ray burner internally. I don't need

  • To get the system time in milliseconds

    i want to get the system time in milliseconds eventhough the MLS(milliseconds) is given in the select statement as follows, sql>select to_char(sysdate,'MON:DD:YYYY.HH:HH:MI:SS:MLS') "NOW" from dual; does not seem to work. it throws the error that ORA

  • I installed FF RC 4 - lost my addons so system restored to get FF 3.16 back. FF wouldn't work.

    Even clicking directly on Firefox.exe didn't work. I get a busy icn for 1 second then nothing at all. I then system restored back to Firefox 4RC and then that didn't work.