Code runs too fast once when deployed

My code is a simple "forward until closer than X centimeters" then turn until... The turn occurs fine when I run the code attached by USB. Once I deploy it, the left wheel stops and goes very quickly, as if the whole loop is running once a second or so. Computer is windows XP.
code is attached...
Thanks!
M
Attachments:
Move Forward Time new2.vi ‏17 KB

Hi M,
Were you able to determine why the Wait_Num.vi wasn't waiting for the requisite number of seconds before the motors stopped in your previous post?
If you changed the last Wait for Away.vi such that it waited until the sensor read farther than 15, do you get a better result? I'm not sure how stable the distance sensors' measurements are, but at 10 from an obstacle, the loop would iterate rapidly and the left motor would pulse as the robot receives measurements; 9.9, 10.1, 9.9, 10.1 …  
I hope this helps,
Fred V -- Product Support Engineer -- LabVIEW R&D -- National Instruments

Similar Messages

  • Why would my video clips be running too fast when played on the monitor panel?

    I posted my problem earlier today, but re-reading it maybe I didn't explain myself well enough.
    My main question is: "why would my video clips be running too fast when played on the monitor panel ?".  This is occuring after I have selected my media from the Tasks Panel and placed them in correct order in the Timeline/Sceneline.  I knew something was wrong when I could see that the clips were not indicating their right length when viewed in the (expanded) timeline.  They were compressed into just a few seconds, whereas the clips should have been at least 5 minutes.  I ran the clips in the monitor and sure enough they ran too fast, with a lot of jerking movements.
    The 3 video clips I am trying to make into a HD PAL video were taken with my Nokia N8 mobile video camera. These are in mp4 format. Can this present a problem ?  Note that when I play these individual HD clips on my computer in (Windows Media Player) they run fine.
    After I placed the clips in my Project Panel (or before in the Organize Workspace), I have perforned no change or manipulation of the clips.  They are in their original state.
    Just too confirm that the clips did seem to be compressed, I burnt a DVD, the resultant video ran in a matter of seconds.
    Help would be greatly appreciated.

    Yes, that is what the problem was.
    Although the video camera on my Nokia N8, mobile was capturing at 25fps,
    for some reason once transfered over to PrE9 (via file transfer), the clip was interpreted as 500fps.  Once in Interpret Footage I was able to change the fps to 25.
    Thanks for the help.

  • Time is running too fast

    Hi there
    I've got an iphone 2g, FW 3.1.3 and a very strange issue:
    The clock is running too fast. After one day the time on my phone is 1 hour ahead ( 1hour/each day). When i connect and sync, the time on my phone jumps back to the normal time, the time on my macbook.
    I did a total reset (came from version 3.0), but with no luck.
    Ive got no option "Set time automatically" in my Firmware version.
    I hope somebody has any idea what's going wrong.
    Thank you for reading anyway.
    regards
    Pedro
    Message was edited by: Pedro1982
    Message was edited by: Pedro1982

    Thanx, that helped!!!
    Turned out that one of my homes' NLS_LANG had norwegian_norway and the others had american_america. As soon as I changed the norwegian to american, Forms started and I let go a huge sigh of relief :-))
    Thanx again!

  • Recorded video is not natural and runs too fast.

    Hi,
    I am facing one of the very strange problem with my cameras and I am not sure whether some unintentional setting is causing that.
    When I record the video and try to play it the video does not look natural and runs too fast like 5 min video finishes in 3:20 minutes.
    Any ideas what may cause this as until now it was working fine?
    Thanks and regards,
    Sanjay.

    Hi, My name is Eric Moyers. I am a Network Support Engineer in the Cisco Small Business Support Center. Thank you for using the Cisco Community Post Forums.
    What wre you using to playback the recorded video? If it is the video monitoring software from Cisco, what is the version number?
    Thanks
    Eric Moyers
    Cisco Network Support Engineer
    SBSC Wireless and Surveillance SME
    CCNA, CCNA-Wireless
    1-866-606-1866

  • Need help. I am running a 27 in imac with 16 gigs of ram. Photoshop runs really fast, except when opening files. It takes 5-10 minutes to open even a small file of 1 meg. I cleaned and validated all the fonts and removed all questionable fonts. Reset pref

    Need help. I am running a 27 in imac with 16 gigs of ram. Photoshop runs really fast, except when opening files. It takes 5-10 minutes to open even a small file of 1 meg. I cleaned and validated all the fonts and removed all questionable fonts. Reset preferences and still have problem. Slow to open and in force quit "Photoshop not responding" At this point should I uninstall and start over.

    What are the performance Preferences?

  • Why are my podcasts running too fast

    my podcasts and audio books run too fast so the speech is too quick to listen to, my music seems ok - anyone experienced this problem or got suggestions for me?

    Slightly below the scrubber bar the is a box with either 1/2X. 1X or 2X.  Those are the playback speeds.  Tap on the box to change/cycle through the speeds.

  • Fans running too fast on MBP Core II Duo

    Hi there,
    I'm starting a new post 'cause the older one was getting unfruitful. Let me wrap up quickly. I've got both a MBP Core Duo and a MBP Core II Duo. I had notice that the fans on my MBP Core II Duo were very noisy compared to the MBP Core Duo. So I ran smcFanControl (NO I HAVEN'T CHANGED THE SETTINGS AND NO smcFanControl ISN'T BAD FOR YOUR COMPUTER), I just used it for MONITORING PURPOSES. Ok.
    I've capture both results in movies so you can see the differences. I've used a cloned system and compiled some code to give the cpu some meat. Here are some behaviors I've noticed:
    http://web.mac.com/michaf/iWeb/MacBook%20Pro%20Fans/MacBook%20Pro%20Fans.html
    (Just run both movies at the same time)
    1) The MBP Core II Duo runs at a minimum of 2000 rpm vs 1000 for the MBP Core Duo
    2) The MBO Core II Duo shoots very quickly and hangs it's fans much higher.
    3) After a while the MBP Core II Duo has a temp of around 68 with fans running at 4500! The Core Duo instead at a similar temp is down to 2300!
    I'm recording with my machines and it's barely usable with the fans.
    Has anyone noticed the same thing or is it my machine?
    Micha

    The movies in your link don't appear to be working so can't comment on those.
    Your post confirms what I suspect is true about C2D temps compared to CD temps, which is that the C2D is fundamentally no cooler (possibly hotter) than the CD, but Apple have doubled the fan speed in the C2D to make the C2D run cooler.
    Seems to me that Apple bent over backwards to make the CD quiet, and this resulted in them running too hot, and with the C2D they have swung the other way.
    I am using Fan Control 1.1 on my CD to steer a middle course. I have left it with 1000 rpm min but set it to start ramping the fan speed earlier and more steeply as temp rises. So most of the time it is quiet, and high temps which can be reached with the Apple settings are avoided.
    Doesn't help your C2D problem much except to suggest that you use Fan Control 1.1 to devise settings to suit your purposes. I suggest you have Hardware Monitor on continuously (hidden) so that you see what has happened to the temp over typical working sessions using different settings in Fan Control. When you have found what works you don't need to keep Hardware Monitor active.
    C2D can't need 2000 rpm the whole time!
    Mike

  • Uncompressed 8-bit running too fast

    Hi all,
    I've just been given a project in which , for some reason, the footage has been captured using two settings on two different versions of Final Cut.
    The DV-Pal captured footage is fine, but there is also uncompressed 8-bit footage and this plays back too fast. It appears to be a 24fps/25fps problem - when I set it to play back at 24 it's fine.
    Is there an easy way to either convert it or set it to play back at the slower speed combined with the other footage at normal speed?
    Thanks,
    Tom

    You can scroll in the browers to find the frame rate of this footage.
    PAL needs to be slowed down by 4%. You may want to convert PAL to NTSC in Compressor or look into the Nattress plugins to see if he has an easier solution.
    http://www.nattress.com/
    Good Luck
    Z1

  • Videos run too fast with latest Flash player

    I am trying to learn a 3D program and some of them use Flash Player to run.  But when I run the video, they run so fast that I can't keep up with them.  There is no audio with the video tutorial as it is just a video.  Any suggenstion as to how I can slow the videos down so I can keep up with the tutorial?  Any and all help will be appreciated.

    If they're FLV files, I'd recommend VLC media player. IT has "speed controls" in the interface that Flash Player doesn't. They range anywhere fom half speed to 1/32 to frame by frame if necessary.

  • IPhoto 8 Slideshow runs too fast when I export

    I painstakingly created a slideshow for a friend to use during her wedding rehearsal next weekend. It was created so specific photos come up during lyrical points in each song. Worked phone in iPhoto but when I exported to Quicktime so she could have the CD to use it runs differently and now the pictures are not in sync with the lyrics. Can anyone help me?

    This is a know issue with iPhoto, precision audio syncing. You're best bet would be to useiMovie HD 6 to build the slideshow. With it you can have multiple audio tracks where you can add the audio, crop, fade in and out and match precisely to the photos. From there you can export to iDVD or Quicktime.
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto (iPhoto.Library for iPhoto 5 and earlier) database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger or later), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 6 and 7 libraries and Tiger and Leopard. Just put the application in the Dock and click on it whenever you want to backup the dB file. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.
    Note: There's now an Automator backup application for iPhoto 5 that will work with Tiger or Leopard.

  • Fan runs too fast after SMC update

    About a week ago I updated the SMC of my Macbook 7.1 (mid 2010).
    I even leaved it sometime  (days or weeks) on the list of software updates without installing, as it said I should not touch until it was done and it was to fix some compatibility with hardware that I don't have. So I did it at a time I would not do anything.
    Since then, the fan began to work at full speed almost permanently, sometimes it slows down to normal operation (really normal, increase rotation when the device heats up, slow down to 2k rpm when it is cold).
    I have formated the HD twice, because I tought that had done something wrong, but the problem persisted, so I used the hardware diagnostics and found two error numbers, one for the fast run:
    4SNS/1/40000001:TN1D - - 110.00
    And another for the extensive test:
    4SNS/1/40000001:TN1D - - 1.000
    I searched these numbers but the results are not good nor precise, peaple said it's related to thermal detector or the logic board permanently damaged.
    My current SMC version (after the update) is 1.60f6
    I don't know the old version of SMC.
    I installed iStat PRO widget, from where I can see that all thermometers are operating normally (these must be the source of the control of the fan) and the fan running at 6,200 rpm.
    I even tried to install Fan Control system pref component, but it can only increase the commanded speed of the fan at any time, never decrease.
    I also tried to reset SMC as said in http://support.apple.com/kb/HT3964 , sugested in https://discussions.apple.com/thread/1306035
    Is there a way to roll back to the old SMC version?
    Or to install some program to overwrite the wrong control?
    Thank you.

    you need to bring it to an Apple store or AASP to have it properly diagnosed.  Only Apple certified technicians have access to what those diagnostic codes mean.

  • [ERROR CODE DPL.DS.5107] problem when deploying an app (Bad version number)

    Dear colleagues,
    please find attached a Java exception trace, where I tried to deploy a sample application to my CE 7.1 (only Java version).
    I use JDK version 1.6.0_06: do you know this problem? Do you have any hints?
    Compatibility level is put to "6.0": I read only about problems related to JDK 1.5.xx versions.
    The consequence is that the component cannot be deployed sucessfully.
    Kind regards,
    Daniel
    [ERROR CODE DPL.DS.5030] Clusterwide exception: server ID 7584050:com.sap.engine.services.deploy.exceptions.ServerDeploymentException: [ERROR CODE DPL.DS.5107] Exception during initial start of application de.dkoller/instantdlv~ear in container webservices_container.
            at com.sap.engine.services.deploy.server.application.StartInitiallyTransaction.makeStartInitially(StartInitiallyTransaction.java:195)
            at com.sap.engine.services.deploy.server.application.StartInitiallyTransaction.prepare(StartInitiallyTransaction.java:143)
            at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:419)
            at com.sap.engine.services.deploy.server.application.StartTransaction.doStartInitiallyGlobal(StartTransaction.java:449)
            at com.sap.engine.services.deploy.server.application.StartTransaction.doStartInitially(StartTransaction.java:437)
            at com.sap.engine.services.deploy.server.application.StartTransaction.prepare(StartTransaction.java:178)
            at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:419)
            at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:444)
            at com.sap.engine.services.deploy.server.application.ParallelAdapter.super_MakeAllPhases(ParallelAdapter.java:334)
            at com.sap.engine.services.deploy.server.application.StartTransaction.makeAllPhasesImpl(StartTransaction.java:550)
            at com.sap.engine.services.deploy.server.application.ParallelAdapter.runInTheSameThread(ParallelAdapter.java:248)
            at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesAndWait(ParallelAdapter.java:389)
            at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3387)
            at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3373)
            at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3276)
            at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3249)
            at com.sap.engine.services.dc.lcm.impl.J2EELCMProcessor.doStart(J2EELCMProcessor.java:99)
            at com.sap.engine.services.dc.lcm.impl.LifeCycleManagerImpl.start(LifeCycleManagerImpl.java:62)
            at com.sap.engine.services.dc.cm.deploy.impl.LifeCycleManagerStartVisitor.visit(LifeCycleManagerStartVisitor.java:34)
            at com.sap.engine.services.dc.cm.deploy.impl.DeploymentItemImpl.accept(DeploymentItemImpl.java:83)
            at com.sap.engine.services.dc.cm.deploy.impl.DefaultDeployPostProcessor.postProcessLCMDeplItem(DefaultDeployPostProcessor.java:80)
            at com.sap.engine.services.dc.cm.deploy.impl.DefaultDeployPostProcessor.postProcess(DefaultDeployPostProcessor.java:56)
            at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.doPostProcessing(DeployerImpl.java:741)
            at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.performDeploy(DeployerImpl.java:732)
            at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.doDeploy(DeployerImpl.java:576)
            at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.deploy(DeployerImpl.java:270)
            at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.deploy(DeployerImpl.java:192)
            at com.sap.engine.services.dc.cm.deploy.impl.DeployerImplp4_Skel.dispatch(DeployerImplp4_Skel.java:875)
            at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:351)
            at com.sap.engine.services.rmi_p4.server.ServerDispatchImpl.run(ServerDispatchImpl.java:70)
            at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:62)
            at com.sap.engine.services.rmi_p4.P4Message.execute(P4Message.java:37)
            at com.sap.engine.services.cross.fca.FCAConnectorImpl.executeRequest(FCAConnectorImpl.java:872)
            at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:53)
            at com.sap.engine.services.cross.fca.MessageReader.run(MessageReader.java:58)
            at com.sap.engine.core.thread.execution.Executable.run(Executable.java:108)
            at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:304)
    Caused by: java.lang.UnsupportedClassVersionError: Bad version number in .class file
            at java.lang.ClassLoader.defineClass1(Native Method)
            at java.lang.ClassLoader.defineClass(ClassLoader.java:654)
            at com.sap.engine.boot.loader.ResourceMultiParentClassLoader.loadClassLocal(ResourceMultiParentClassLoader.java:198)
            at com.sap.engine.boot.loader.MultiParentClassLoader.findClassInLoaderGraph(MultiParentClassLoader.java:302)
            at com.sap.engine.boot.loader.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:256)
            at com.sap.engine.boot.loader.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:228)
            at com.sap.engine.services.webservices.server.deploy.ws.WSInitialStartProcess.generateJAXWSFramework(WSInitialStartProcess.java:265)
            at com.sap.engine.services.webservices.server.deploy.ws.WSInitialStartProcess.generateJAXWSFramework(WSInitialStartProcess.java:220)
            at com.sap.engine.services.webservices.server.deploy.ws.WSInitialStartProcess.execute(WSInitialStartProcess.java:140)
            at com.sap.engine.services.webservices.server.deploy.WSBaseAbstractDProcess.makeProcess(WSBaseAbstractDProcess.java:316)
            at com.sap.engine.services.webservices.server.deploy.WebServicesDeployManager.makeStartInitially(WebServicesDeployManager.java:687)
            at com.sap.engine.services.deploy.server.application.StartInitiallyTransaction.makeStartInitially(StartInitiallyTransaction.java:182)
            ... 36 more

    This forum is for the Sun Java System Web Server, not the Sun Java System Application Server. You will likely have better success by posting your question to the Application Server forum(s) at:
    http://forum.java.sun.com/category.jspa?categoryID=109

  • While loop running too fast

    I have a while loop that is writing globals into shift registers. When the loop finishes i write these shift registers to a 2d Global array. Everything works great, my problem is that i am writing about 14000 readings/sec into the shift registers with a wait of 0 in wait until next multiple. File is way too big. If i change wait to 1, i get 500 readings/sec, too small. I need a way to slow this loop down, or put a delay in that is less than 1ms. Any help is Greatly Appreciated.
    Thanks
    Mike

    Pincpanter has some good ideas and is probably what you will need to do. 
    Keep in mind that tuning this way is very system dependant.  Changes in processor, processor speed, memory access speed, OS processes running, etc. will all affect the amount of time that LabVIEW takes and therfore takes a lot of tuning for each system.
    I just wish I had an even better answer, but I don't.
    Bob Young
    Bob Young - Test Engineer - Lapsed Certified LabVIEW Developer
    DISTek Integration, Inc. - NI Alliance Member
    mailto:[email protected]

  • Are my fans running too fast?

    Hello,
    recently I got my rMBP; the basic specs, I am really happy with it, no displays issues or any wierd sounds, but when my Mac gets a bit higher load (e.g. playing Trine 2, my MBP gets around 60 degrees celsius at CPU and 65 at GPU) the fans run at around 5000 rpm, while the left fan is alway faster by about 300 rotates. Hands down, the sound is ok, but I am worried about the speed, is it normal to get such high rates? At minimal load, it is about 1900 rpm so you can't hear it all.
    Thanks for all your answers

    I've seen fan speeds close to 6000rpm reported here, so I wouldn't worry. The computer is doing what it is supposed to do: increase the fan speeds as needed to keep it cool. Enjoy your new computer.

  • Please help: OEL clock running too fast

    Hi,
    I have tried everything I could find on the internet,
    I have downloaded the latest OEL 64bit, installed it on a server (Asus m/b + AMD Phenom™ X4 Quad-Core cpu).
    The clock runs 3 times faster than it should, how do I fix this?
    Tried all the "noapic" etc options on older RHEL discussions in the grub.conf, but nothing works.
    PLEASE someone help!
    We are trying to do a OEL + 11g setup.

    As a sidenote, please reconsider the previously proposed NTP solution.
    Even with systems without clock problems, there will always be a difference in clock speed between computer systems and also with the other systems surrounding them.
    Almost any computer system is using remote services, or provides services, or even has a setup where multiple systems are used to provide a single task (for example: the task of having a standby database using dataguard). If diagnosis of events on multiple systems, or diagnose of the sequence of events or tasks is needed, the clocks needs to be in sync. Otherwise diagnosis will be hard or impossible, or simply done wrong.
    NTP is the solution for that by carefully examine the local clock speed, and compare it to the networked time sources, and adjusting the clock accordingly.
    This is the reason most datacentres have timeservers internally with which computer systems can sync, so the clock is in sync on all systems. These timeservers are internal, thus need no internet access for the time clients. It is advised to use a 3rd party time source for the timeservers (like using timesources on the internet, or have a special card which sync with some atomic clock) But please mind you can do without.

Maybe you are looking for

  • Using Google Maps Street View on My MacBook Pro

    Recently, I have been getting "Plug-In Missing" in the place of a video in a blog post. Also, when I try to use Street View in Google Maps I get a box that tells me I need to install Adobe Flash Player 10 or later to be able to use Street View. Shoul

  • Is it even possible?

    is it possible to change where you print out to in java? as in physical printer (not print stream). on mac box, osx, windows, unix, anything?!? it doesnt seem anyone knows or acknowledge this. is it possible at all?] thanks

  • Photosmart D7560 printers suddenly shooting blanks

    I am flummoxed by this problem and flabbergasted by HP's suggestion: get new printers.  So I'm hoping someone here can help! I have two Photosmart D7560 printers, each attached via USB to a Windows 7 Pro computer (2 different computers.)  They both h

  • Projection Goes Black With Use of Audio Output Jack

    Any video projection I do when using the extended desktop as a second display begins to flicker or go completely black whenever I put a line into the headphone jack. If I unplug the line, the projection comes "back on" and is perfect. This seems to b

  • Handling Unit Print

    Hi experts, I have created a Handling Unit with a few materials inside, i need to know if there is a way to print the materials list packed in that handling unit, Thanks in advance Regards.