Need to know how to add a delay between code

I need to add delays between the following lines of code. Any ideas?
speed=speed*.98;
//Delay here
speed=speed*.50;
//Delay here
speed=speed*.1;

You can't add delays in the way you show, but you can build those delayed lines into functions and have the calling of the functions delayed.  Look into the setTimeout() function as one possibility.  setInterval() is another, though it can require more maintenance.

Similar Messages

  • I need to know how to add closed captioning to a project Captivate 6

    I need to know how to add closed captioning in a project in Adobe Captivate 6.  It is a software demo single recording.  I don't see where to go to create closed captions or change accessilbity preferences.

    Hi there,
    First thing that you need to do is go to Project > Skin editor > and check the box for Closed Captioning button in playbar.
    A slide must have a slide audio or Slide Video to add CC notes in it.
    Go to Windows > Slide notes, to view the slide notes panel, and click on + sign to add Closed captioning notes.
    Please check this article to add CC in project: http://helpx.adobe.com/captivate/using/slide-notes.html
    Check this article for accessibility in Captivate : http://help.adobe.com/en_US/captivate/cp/using/WSc1b83f70210cd101-157ec7f211c7ef6052c-7fff .html
    Thanks.

  • NI9203 - Need to know how to set up the FPGA code for multiple NI9203 modules and how to calibrate the data

    Hi. I'm using the NI9203 module to detect pressure, temerature and flow rate of water in a cooling system. I have 17 different inputs coming in therefore i'm using 3 NI9203 modules. I've used the example provided with labview as a base for designing my code. The example can be found here : Program Files\National Instruments\LabVIEW 8.0\examples\CompactRIO\Module Specific\NI 9203.
    I've had no problems when testing this code out for a single NI9203 module but when i add code for 3 modules the code will not compile as my resources are over mapped. Is there a simpler way to program the FPGA code.
    That said how do you go about calibrating the data that's received from the module. Preferably i'd like to write a vi to do the calibrating. Just need help on how to go about writing this vi

    Hi havok,
    Firstly, I would use constants to configure the modules, it'll save some resources on the FPGA.  I'm not typically changing the settings on the fly, so using constants whenever possible helps.  I would also take a look at the following KnowledgeBase article on other changes you can make to the FPGA VI to compile the code:
    http://digital.ni.com/public.nsf/allkb/311C18E2D635FA338625714700664816?OpenDocument
    The best changes you can make are to use fewer arrays and front panel elements.  This can be done by using a DMA FIFO or constants on the block diagram. 
    Now actually calibrating the data will require you to do it on the host side.  There is an example VI called Binary to Nominal that changes the raw data to something more useful for datalogging, display, etc.  It can be found in some of the example VIs, or in the following link:
    http://digital.ni.com/public.nsf/allkb/E86D8D460C4C092F8625752F00050A61?OpenDocument 

  • Need to know how to add another cinema diplay

    I am wanting to add a second cinema display to my Dual 1g G4. The video card has 1 ADC and 1 vga.
    I have my 22" display hooked into the ADC. I now have another 20" ADC display that I want to use. How can I hook it up. Is there a vga to ADC or DVI change over
    G4 Dual 1g, G5 Dual 1.8g   Mac OS X (10.4.4)  

    Hi guys,
    I don't notice redgtviper joining in here. But the problem exists and it would be nice to have an answer, even if only for us.
    There is another $299 VGA to ADC adapter called the VGIator:
    http://www.drbott.com/prod/db.lasso?code=0151-VGAT
    In addition, I just happen to have a couple of very rare, Core Image, flashed FX5200 128MB AGP video cards that support dual DVI, but that still makes the two DVI to ADC adapters necessary. For Core Image, or for ADC connector there is no PCI cards available.
    Dr. Bott has, from time to time, Refurb DVIators for $65. I am told that none are available until 03/23/06.
    There is always the answer of buying a cheap LCD with a VGA plug and hooking to the single video card. Be aware that hooking two monitors to a single video card splits the available VRAM. So, a 64MB card would be only giving 32MB to each monitor, reducing performance. A separate PCI video card would give better performance than splitting the AGP card.
    In reality, I think, it would be easier to sell the ADC monitors and buy Dell or some other DVI supported LCD's. Probably the overall cheapest solution, and they would be pure signals.

  • I am new to using flash and need to know how to add check boxes and forms

    I have been going mad trying to figure this out as well as searching until exhaustion.
    So I am hoping someone can point me in the right direction.
    Okay here is what I am trying to accomplish.
    I have laid out my design as a psd and brought it into adobe flash pro cs5.
    I have menu items such as toppings that I want to put check boxes next to each and then once someone goes thru the page and places their choices,I want to be either be emailed what they have chosen from the form... This seems like it might be the easier of the ways to capture data, Or if there is a better way in flash to capture this data, I would take that as well.
    SO here is as far as I can get.
    Imported the psd and added one checkbox in front of the first item and labeled it strawberries. Now I really don't want the word strawberries to show up at all on the page,just the checkbox. But I am not sure if the label for the checkbox actually passes on the value of the checkbox.
    I admit I am lost.
    I did also slice and export this same image into dreamweaver and then I made a separate apDiv for each checkbox, and added into a form. It emails the results,but it is not outputting it in a very readable way.
    Oh I also brought this int Flash Catalyst and added the checkboxes, but I don't know where to go from there.
    So if anyone can let me know the proper way to do this or point me to some videos or tutorials or even a sample file that I can alter....
    I would really appreciate it.
    Thanks

    http://www.flashloaded.com/userguides/ezform/formelements.html

  • I have a download of Social Monkee, but need to know how to add this plugin to Firefox.

    Download the plug in from Social Monkee's site but not sure how to load since it is not part of the Firefox listing.

    ''The information is this post is not applicable to Firefox 29 and newer. See: [https://support.mozilla.org/questions/1041446#answer-677749]''
    This all changed in Firefox 29...
    Previously, I think the custom toolbars were added in the localstore.rdf file. It's sort of a nightmare to edit by hand, but if having those on the menu really annoys you, I'm not sure there is a good alternative.
    To locate the file, open your current Firefox settings (AKA Firefox profile) folder using either
    * "3-bar" menu button > "?" button > Troubleshooting Information
    * (menu bar) Help > Troubleshooting Information
    * type or paste about:support in the address bar and press Enter
    In the first table on the page, click the "Show Folder" button. This should launch a new window listing your currently active Firefox settings files.
    Leaving that window open, switch back to Firefox and Exit, either:
    * "3-bar" menu button > "power" button
    * (menu bar) File > Exit
    Pause while Firefox finishes its cleanup, then right-click > Copy the '''localstore.rdf''' file and right-click > Paste somewhere like your My Documents folder so you have a backup copy "just in case".
    The rdf file is plain text, but is hard to read in Notepad. Ideally you would have some programs that color-codes XML files. Not sure what is best for Windows XP. Anyway, you would be looking for lines similar to the following:
    <RDF:Description RDF:about="chrome://browser/content/browser.xul#'''spacer'''" ... />
    The exact contents of the tag would depend on whether there were any controls on the bar, etc. I don't think I have any examples in my own localstore.rdf file.
    I think it's fairly safe to delete the unwanted bars from localstore.rdf, but you might wait for another volunteer to chime in.

  • I was given an iTouch with a music library loaded for me under another iTunes user account and need to know how to add it to my library/iTunes user account.

    I receiced an iPad Touch for my birthday (before I had an iTunes account) and my friend loaded it with the music we both like.  Since it was loaded with his iTunes account; I cannot sync it to my music library.  I would like help to see if there's a way to do move this music to my iTunes music library.  Please note that none of the music on the iTouch was purchased; the music came from his private library of music that has been in his collection for years, all live concerts, etc.  I do respect the whole thing about protecting artists, for what it is worth the music is all live Grateful Dead concerts; the Grateful Dead allowed taping so there are no copyright issues here.

    Sweet!  Finally another Dead Head!!!
    The short answer is have your friend burn those tracks to CDs and then import them into your iTunes library.
    For lllaass:  Its obvious you have never been to a Dead show, so we'll cut you some slack.  The tracks in question were never purchased, they were taped live during the show.  The Greatful Dead has always reserved "front row center" for a group affectionately called "tapers," because they always came prepared to record each show, and owing to the fact that no two shows were the same, some of those tapes are one of a kind.....  I have taped shows myself, namely the shows at RFK Stadium in DC, and the Coliseum in Charlotte NC.

  • I need to learn how to add a page at the end of my video to put credits?

    I am editing for the first time EVER and need to know how to add credits to the end of a video

    There are different ways to add credits. Did you have anything particular in mind?
    You may find some ideas here:
    How to Create Scrolling Movie Credits in Adobe Premiere Pro - YouTube
    https://helpx.adobe.com/premiere-pro/using/rolling-crawling-titles.html
    Creating and Editing Titles

  • How to add a delay step

    Hi,
    we have come across a issue in work flow. And we have very little idea on work flow.
    Can any one please let me know how to add a delay step behind existing step X.
    Also let me know how to do below options to perform this operation like 
    1. Like in ABAP delay for few seconds
    2. Or simply making use of desired start time logic.
    Thanks in advance.
    PRaneeth

    Delay?
    You mean that you want to stop the execution of the workflow for a specific period, right?
    Like in ABAP delay for few seconds
    This can be handled by using a WAIT STEP  of the workflow, I meanthe use of this wait step is , in brief, if at all you want to stop the execution of the workflow  until a specific Event is raisedthe workflow execution stops and as soon as the specified event is raised then the remaining part of the workflow is executed.

  • I need to know how to share apps between my two Ipads and Iphone 6.

    I have and Ipad and my wife has an Ipad2 and an Iphone6.  I need to know how to share my apps between all devices.  I have heard of family sharing but don't know how to start.

    The following may help:
    Family Sharing - Apple Support
    Set up Family Sharing - Apple Support

  • I need to know how to edit a drawing - basically remove the arrows and text but at the same time match the background of the existing pic. then re add new text. how do i erase the arrows and text and arrows but match current background of pic. step by ste

    i need to know how to edit a drawing - basically remove the arrows and text but at the same time match the background of the existing pic. then re add new text. how do i erase the arrows and text and arrows but match current background of pic. step by step explanation please beginner

    Please post (a relevant section of) it right on this Forum.

  • I need to know how to take a person out of a picture and then add it to another picture?

    I need to know how to take a person out of a picture and then add it to another picture? I am on version 9.0 for photoshop elements.

    Try this:
    In Editor, go to the expert tab.
    Open picture B, the one you wish to select something from to add to another picture.
    Use one of the selection tools, e.g. selection brush, lasso tool, to select the object. You will see an outline ("marching ants") once the selection is complete
    Go to Edit menu>copy to copy the selection to the clipboard
    Open picture A, then go to Edit>paste
    Use the move tool to position object from picture B.
    In the layers palette you should see picture A as the background layer, and object B on a separate layer.

  • Firefox hangs on opening requiring force quit I have snow leopard mac It hangs when I try safe mode. I need to know how to remove all traces of firefox on my mac so I can reinstall. I have tried terminal as advised on firefox webpage. Please advise m

    Firefox hangs on opening requiring force quit I have snow leopard Mac It even hangs when I try safe mode. I need to know how to remove all traces of firefox on my mac so I can reinstall. I have tried terminal as advised on firefox webpage. Please advise me
    == This happened ==
    Every time Firefox opened
    == I tried to update firefox add-ons ==
    == User Agent ==
    Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_3; en-us) AppleWebKit/531.22.7 (KHTML, like Gecko) Version/4.0.5 Safari/531.22.7

    Try a new profile. See [[Recovering important data from an old profile]]

  • I need to know how to reload  my copy of Adobe Photoshop Elements 11

    i Need to know how to reload my copy of Adobe Photoshop Elements 11

    if you're asking for the pse 11 installation file and if you follow all 7 steps you can directly download a trial here:  http://prodesigntools.com/photoshop-elements-11-direct-download-links-pse-premiere-pre.htm l
    and activate with your serial number.
    if you have a problem downloading, you didn't follow all 7 steps, or your browser does not accept cookies. 
    the most common problem is caused by failing to meticulously follow steps 1,2 and/or 3 (which adds a cookie to your system enabling you to download the correct version from adobe.com). 
    failure to obtain that cookie results in an error page being displayed after clicking a link on prodesigntools.com

  • Yes please I need to know how to link a new base descriptor created with a field already existing in Oracle.

    Hi,
    I need to know how can we give a value to base descriptor newly created in iProcurementWe want to add Market Price from Item Master to the base descriptor. And we want that is field show the value in the shopping catalog.
    Thnaks

    I typically create a TEST folder on the remote site.  Upload new pages and dependant files there for debugging and testing purposes.  Then using a 3rd party ftp ware (filezilla, cute ftp or Ws_ftp pro), I move the new site files & folders over to the root directory.  If you have used the same filenames as were on the old site, new pages will overwrite the old ones.  If you used a different naming convention, you will need to delete old files from server.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb

Maybe you are looking for

  • How to use mobile phone number on iPad mini after iOS8 update?

    I updated my iPad Mini to iOS8, but not my iPhone 4 because I'm getting the 6 in a few weeks. Now, I can't send/receive iMessages from my mobile phone on my iPad. Any suggestions on how to fix?? Thanks!

  • How do I get a replacement Disc for my Ipod?

    Here the problem I have. I bought this Ipod off ebay it came with the disc, and it worked fine for my girlfriend. She gave it to me so I could use it and now it doesn't work b/c I don't have the disc. She can't find it and I can't call Apple b/c Appl

  • How do I revert back to Aperture from Photos?

    I opened up my Aperture library in Photos since I was under the impression that it was replacing iPhoto and Aperture, but was disappointed to find a large number of Aperture editing features missing.  I suppose this means I need to find a replacement

  • Database frozen in time

    Oracle 10.2.4 Solaris 10.5 SPARC 64bits I have a database that I want frozen in time and looking for the best way to accomplish it. It is a very smal database use by software testers in one of our centers. Here is what I am thinking thus far: I will

  • Flicking through pages in iCal

    I would like to be able to flick through pages in iPhone's iCal by swiping left or right (just as that is possible in the iPhone's photo viewer). Is that possible? Now I'm using the tiny left and right arrows on the top of the page to go to a next da