Servo motor gets stuck in the loop

My project is to control two motors from the pedals with LabVIEW in combination with UMI-7774 and PCI 7350.

I use a traditional format of State Machine to simultaneously control two motors according to the absolute position mode.

In one of the first States, both motors are wound manually by using the speed mode (to make a desired voltage).

In a later State, the motors are wound to a position specified by the user when you press a foot switch. When you press the other pedal, they are then held in the previous "original" position

After the first "Tension" indicate when the winding engine and the course due to the pedals is running, the program gets stuck in the State of wind.

Although drivers are told to go to a specific position, they never move and that's why the program is unable to move to the next State.

I've attached a screenshot of the winding State where the program is stuck (the engines are not mobile, so when the final position is to compare it with the desired position, the loop continues to go).

Help, please.

CAT

I solved the problem.

States "Wind engine left" and "Right wind engine" speed has been put back to zero. When the program moves toward States of wind/flow, the speed is always zero (the engines cannot move).

I simply set the speed value desired in each of the States LBL/RBL (that allowed the engine to get to the position of desire).

Thanks for all the help,

Catherine

Tags: NI Software

Similar Questions

  • Cannot connect to Youtube. The first page load, try to register and gets stuck in a loop.

    Pretty much what the title says. I try to load Youtube, and during the initial page load, it automatically attempts to connect. I don't know why, but it can not open my session and gets stuck in a loop. I don't have the patience to see if that solves finally itself, especially when I can sign very well in other browsers. The same thing happens whenever I try to connect to my Google account, as Youtube is related to Google.

    Many issues of the site can be caused by corrupted cookies or cache. To try to solve these problems, the first step is to clear cookies and cache.

    Note: This will be temporarily you disconnect from all the sites that you are connected. To clear the cache and cookies to do the following:

    • Go to Firefox > history > clear recent history or (if no Firefox button is displayed) go to tools > clear recent history.
    • Under "Time range to clear", select "all".
    • Now, click the arrow next to details to toggle the active details list.
    • In the list of details, see the Cache and Cookies and uncheck everything.
    • Now click the clear now button.

    More information can be found in article to clear your cache, history, and other personal information in Firefox .

  • HP w1907: implementation gets stuck to the 'HP invent' blue Boot Screen

    Hi all

    I have HP w1907 desktop... I use it since 2008.
    Last month I format to have the new windows 7 in it... Previously I was also working with win7 Ultimate.

    But it's keep restarting after the use of 4-5 minutes and so I installed the entire operating system yet.

    It worked very well... after 3-4 weeks, when I started it, it gets stuck at the 'HP invent' blue Boot Screen.

    This display has the instructions to enter the "Boot Menu", "Setup" and "System Recovery" by pressing key "F11" aor "Esc", "F10".  It is just there for ever.

    If I try to enter the 'Boot' Menu by pressing the 'Esc' key, I get the message "Loading Boot Menu... ", but then it hangs there forever just.  If I try to enter the "Setup" Menu, I get a similar result - it says 'enter the Setup... ". "and just hangs there.  By pressing the "F11" key does not seem to do anything.

    Any ideas on how to solve this problem?

    Searching the forums I tried to reset the BIOS - who I've got from here:

    http://h30434.www3.HP.com/T5/desktop-lockups-freezes-hangs/powering-up-gets-stuck-at-Blue-quot-HP-in...

    and

    http://support.HP.com/us-en/document/c01080282

    After doing this too, the result is null

    Please help me...

    I'm in a hurry...

    Thank you.

    Date and the incorrect time can certainly cause problems.  What happens usually, however, is that the sites Web will not be opened because the State in which the certificate is not up-to-date.  I have not heard of the time and date causing the computer does not start.  I think that you need to change the CMOS battery.  Here's a guide on how to change it.  The guide has also some good troubleshooting information.

    Once the battery has been replaced, we'll see what happens.

  • Laptop stops randomly and gets stuck on the saving settings

    Basically, we have some laptops 10 + this will stop randomly and get stuck on the "saving settings screens.

    Here are the different models of toshiba R500-R600 M10 M9 M5

    We changed versions of bios etc, reimagee them, even used an image of windows xp disc rather than soe.

    Hardware tests OK and customers do not something in particular, some when others when you connect using applications office, back in after a while. Some use docking stations, others not.

    All ideas

    Hello

    Just a question: are you an authorized service provider?
    I ask this question because it looks like you are an ASP because you have so many laptops and you have tested different things.

    It's really hard to say what the reason is for this but I think that in this case, you should contact Toshiba directly. Maybe it s a known issue and it can be fixed in a few minutes.
    So ask for it and wait for a response.

  • Lenovo Y410P was stuck in the loop of auto repair, but it came out

    So my Lenovo Y410P was stuck in the loop of auto repair, I tried holding the power button and F11 and on as the third seeks the laptop turned on as usual. But now I'm afraid to turn my phone off, how do I know if the problem is solved? And if it is not, what should I do?

    TookMeAWhile wrote:

    So my Lenovo Y410P was stuck in the loop of auto repair, I tried holding the power button and F11 and on as the third seeks the laptop turned on as usual. But now I'm afraid to turn my phone off, how do I know if the problem is solved? And if it is not, what should I do?

    Check the system for corruption files by running sfc/scannow in an elevated command prompt.

  • Sometimes, the Lenovo Y40 gets stuck on the Lenovo screen?

    The Y40 I bought in July sometimes gets stuck on the Lenovo screen where the laoding circle does not appear. It happens only intermittently, but occurs more often after long use (more than 45 minutes). Technical support already tells me to reset the BIOS and restore windows. Do you know the guys from any thing that can cause this problem? Would it be a HARD drive broken or damaged OS? Thank you!

    I've already sent my laptop in for repair. The technical support representative said that it was either a HARD drive or motherboard problem

  • I have a Macbook pro (2011 model). It gets stuck on the start screen on to half way through commissioning. This happens whenever the mac turns on. The problem is solved when I reinstall Yosemite to boot to Recovery Mode disk utility.

    I have a Macbook pro (2011 model). It gets stuck on the start screen on to half way through commissioning. This happens whenever the mac turns on. The problem is solved when I reinstall Yosemite to boot to Recovery Mode disk utility. However, the next time you start, the startup process is blocked to halfway to new (on the screen with the toolbar and the status of apple). I want a more permanent solution to reinstall the operating system every time. Would appreciate someone's suggestions and thanks in advance.

    Replace your hard drive.

    You have a backup of trust? If not, buy a disc of exterrnal for that as well.

    The progress bar from the left end at the beginning of the commissioning indicates that your drive has been so damaged, it could not be mounted. Five minutes of progress bar is shown as it does the equivalent of disk utility (ERD [Directory]). If you have reinstalled several times and the problem is not fixed, your drive is in solid form.

  • Everything I print gets stuck in the queue, but the document is printed

    ORIGINAL TITLE: Spooler

    I installed a printer on a pc windows 7 64. Everything I print gets stuck in the queue, but the document is printed. The printer is on the network, I tried to restart the spooler and erased the record of the spooler, but perisisted of the question, given that the document gets stuck, no other agency will be able to print, remove the paper and print again to print but the file gets stuck again on the queue. I tried to change the IP address, but the same thing happened. Can someone help me?

    Hi, Omorguz,

    Printer brand and model, if you please.

    Start > run > type services.msc

    Press enter

    Scroll down to print spooler

    Select stop

    Let Windows stop the spooler

    Control Panel > printers and Faxes folder

    Right-click on the printer icon, then select open

    If you see pending orders in the queue, select the

    Click file > cancel all Documents

    If a job shows the deletion, but never finished, open the command prompt window

    Start > run > type cmd

    Press Ok

    Enter Net Stop Spooler

    Press enter

    Wait for the DOS window opens and is

    Open the command prompt window

    Type Net Start Spooler

    Press enter

    If that does not cancel the print job:

    Your directory of spools Windows XP is located at

    C:\WINDOWS\SYSTEM32\SPOOL\PRINTERS

    It will usually contain files like these:

    FP00008
    FP00008. SHD

    There are two files for each remaining print job.  Just delete these and restart the computer.  Your queue should now be provisioned.

    If you are printing over a network, and the queue is not clear after the above steps:

    Go to the computer that has the shared printer connected and perform steps 1 & 2 above.

    If this does not work, then go to the computer when he was sent to the printing of the task and perform the steps 1 & 2 on this computer.

    Run chkdsk

    Start > run > type CMD

    Press Ok

    Type C: chkdsk/r/f

    Press enter

    You will receive a message re: volume must be locked and you want to start scanning reboot?  Press y and press enter

    Type Exit to close the CMD window

    Restart the computer for the scan at startup

    This will check the integrity of your data on the hard drive of computer as well as find and fix errors that could corrupt your data or program files.

    I even recommend that you uninstall the printer and when you are done uninstalling, restart computer.

    When you reinstall the printer, reinstall it using the compatibility mode

    How to install a hardware device using the compatibility mode driver.

    http://social.technet.Microsoft.com/forums/en-us/w7itprohardware/thread/80cae5ee-dc98-4A2F-8284-a1ab826059b7

    It works on Windows 7 Professional, comprehensive and business - Windows XP Mode - it's free

    It's the best of both worlds: the new Windows XP Mode allows you to run Windows XP older right on your Windows 7 desktop business software.

    http://Windows.Microsoft.com/en-us/Windows7/products/features/Windows-XP-mode

    e FAQ or choose a link from the top of this page.
     
  • When I send a message it gets stuck in the Outbox and won't unless I click on the message until it is "BOLD" with a print, then delete.

    Forwarded messages or new messages are not automatically leave and get stuck in the Outbox.  If I leave it alone, I get a message that there was an error and the message could not be sent.  However, if I leave the message stuck in the Outbox, the message gets actually released several times until I have go into the Outbox and delete the message.

    Compacting files try one at a time.

    To defragment:

    Start | All programs | Accessories | System Tools | Disk Defragmenter. Just above that you'll also see disk cleanup. I was running first and also in the other Options tab, the third option to get rid of old that take place of restore points.

    Bruce Hagen
    MS - MVP October 1, 2004 ~ September 30, 2010
    Imperial Beach, CA

  • My computer is stuck in the loop "Update Configuration". Boots only in safe mode.

    My computer is stuck in the loop "Update Configuration". Boots only in safe mode. I tried to do a system restore, but an error message appears that says:

    To perform an offline system restore, you must specify which Windows installation you want to restore. For example, if the installation is in "C:\Windows:" should be restored, enter the following command: rstrui.exe/OFFLINE:C\Windows

    I typed in the "run" command, and it didn't work either. VIsta came installed on the computer, so I don't have a disc to insert and reboot with. Help, please!
    Thanks, Ben

    OK, I found how to fix this problem.

    Go to this site download and buy the repair for Vista disc. Burn it to a disc.
    This link will guide you in burning instructions
    http://NeoSmart.NET/wiki/display/G/Burning+ISO+images+with+ImgBurn
    Start your computer with the disk and follow the instructions
    http://NeoSmart.NET/wiki/display/G/Burning+ISO+images+with+ImgBurn
  • Documents get stuck in the printer queue and I have to restart so that they print

    often, when I try to print a document or web page, or anything, the document will get stuck in the queue for the printer.  the printer will tell me 1 post pending but nothing prints.  I have to restart my computer to print the document.

    No answers so I'll try to help. I don't have a printer for many years. A practical tool, I used to use repeatedly put my printer icon on my desktop or in the taskbar. Try it! Go to Control Panel, open Printers and faxes, right click on your printer and choose Create shortcut and click Yes. Once on your desktop then drag it to the taskbar when you have a page open it will be more accessible. Open it and click on the printer and click Cancel all documents. From what I remember when the print queue of the printer is over load it won't print and clicking on cancel all documents throws to the queue. Check the menu options to set your preferences. I hope this helps!

  • Question from windows vista - get stuck on the Welcome screen.

    I recently had my computer startup problems - it gets stuck on the home page, even if I restart it continues.  If I'm doing a ctrl + alt + delete, and then it displays the desktop.  I have no updates that must be accomplished.  you have an idea why this is stuck?  Thank you!

    Restore point:

    Try typing F8 at startup and in the list of Boot selections, select Mode safe using ARROW top to go there > and then press ENTER.

    Try a restore of the system once, to choose a Restore Point prior to your problem...

    Click Start > programs > Accessories > system tools > system restore > choose another time > next > etc.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

     

    If restore work not and you do not have a Vista DVD from Microsoft, do a repair disc to do a Startup Repair:

    Download the ISO on the link provided and make a record of repair time it starts.

    Go to your Bios/Setup, or the Boot Menu at startup and change the Boot order to make the DVD/CD drive 1st in the boot order, then reboot with the disk in the drive.

    At the startup/power on you should see at the bottom of the screen either F2 or DELETE, go to Setup/Bios or F12 for the Boot Menu.

    When you have changed that, insert the Bootable disk you did in the drive and reboot.

    http://www.bleepingcomputer.com/tutorials/tutorial148.html

    Link above shows what the process looks like and a manual, it load the repair options.

    NeoSmart containing the content of the Windows Vista DVD 'Recovery Centre', as we refer to him. It cannot be used to install or reinstall Windows Vista, and is just a Windows PE interface to recovering your PC. Technically, we could re-create this installation with downloadable media media freely from Microsoft (namely the Microsoft WAIK, several gigabyte download); but it is pretty darn decent of Microsoft to present Windows users who might not be able to create such a thing on their own.

    Read all the info on the website on how to create and use it.

    http://NeoSmart.net/blog/2008/Windows-Vista-recovery-disc-download/

    ISO Burner: http://www.snapfiles.com/get/active-isoburner.html

    It's a very good Vista startup repair disk.

    You can do a system restart tool, system, etc it restore.

    It is NOT a disc of resettlement.

    And the 32-bit is what normally comes on a computer, unless 64-bit.

    See you soon.

    Mick Murphy - Microsoft partner

  • I train for adobe flash, but it gets stuck in the Middle download saying "close idvault. Cannot find where to close the application.

    I train for adobe flash, but it gets stuck in the Middle download saying "close idvault. Cannot find where to close the application.

    Click Start, type: Internet Options

    Press enter

    Select the "Advanced" tab

    Under reset Internet Explorer settings, click "reset".

    This should restore the Internet Explorer default settings.

    Then reinstall Flash Player

    http://get.Adobe.com/flashplayer/

    ----------

    Flash Player

    Troubleshoot installation of Flash Player for Windows

    http://kb2.Adobe.com/CPS/191/tn_19166.html

    Troubleshooting player stability and performance

    http://blogs.Adobe.com/JD/2010/02/troubleshooting_player_stabili.html

    Uninstaller

    http://kb2.Adobe.com/CPS/141/tn_14157.html

    Flash Player Support Forum

    http://forums.Adobe.com/community/webplayers/flash_player

  • When I create two keyframes at the same position between keyframes at different positions this way adds a loop. How can I get rid of the loop?

    When I create two keyframes at the same position between keyframes at different positions this way adds a loop. How can I get rid of the loop? I was just by dragging the handles on the vertex point, but I want to get rid of the loop together.

    Focus on the Bezier handles on the motion path in the Composition window. You can select the tool pen (g) and hold down the Alt/Option key to select the tool convert Vertex (it looks like a V on the side) and then fix the handle manually or click on the top of the trajectory to change it to a straight line. You can also play with spatial interpretation Keyframe.

    To avoid this, you can change the interpolation of keyframes in space to linear preferences. Most of the time I don't like straight so I keep my default value of Bézier.

  • Pavilion dv6: hard disk gets stuck in a "loop", the private resources applications

    I have a HP Pavilion dv6 (dv6-6145dx) with 4 GB of RAM and Windows 7 x 64 installed, 500 Gb HD (Hitachi , 40% brand free).  It worked very well for a time very, very long time.  Recently installed Office 365 month last for professional use, which I was concerned might be a resource hog, but usually works very well.  I also AVAST! Antivirus Pro is installed.

    Last week, I started noticing a strange problem that I had not seen before.  Some applications have become desensitized.  I noticed the hard drive light was constantly.  So I tried to close some applications (including Outlook), thinking that I was running resources.  But the deadlock problem continues.

    Listening to the hard drive, I could hear this "stuck in a loop.  Something like "click-[bunch of quick clicks] - click-click-[break].  Repeats every 2 seconds.  Continues to go on and on.  If I leave the computer alone for about 15 ~ 20 minutes, I discover it has recovered.  But once I run the intensive program of any disk, this repeats itself.  It doesn't matter if it's a 3rd team application or system (such as the launch of Event Viewer).

    To try to limit this, I started in safe mode with network.  I thought that if it was driver related, it wouldn't happen.  I launch the event viewer and still, the loop of the hard drive goes.  All gloomy.

    My antivirus is up to date. I ran a full scan of the system (F2) and no errors.  I ran the monitor resources and Process Explorer in the hope of identifying what that either method was this... couldn't see just guilty.  I also created a new user and logged in with this account... has always been able to experience this problem.  It is therefore not associated user account.

    I'm at my wit's end.  I am grateful that I have another computer I can use, but this should not be the case.

    Anyone who is familiar with this kind of hard disk behavior consumes resources?

    "If you keep an open mind, life will give you more opportunities."

    I ran another system test and eventually got more details:

    "Disk hard Test" failed

    "Fast hard disk 1" (303)

    "Complete hard drive 1" (305)

    OK, so from what I've found, it's a serious error means that the hard drive has failed.

    He is a computer 4 years.  I never had a hard disk failure in a laptop before, and I had many laptops up to nearly 8 years, without any hard drive problem.  The drive inside is manufactured by Hitachi... they don't exactly have the best reputation.  Anyway, all the research that I have met never goes into detail as to what might have caused the failure and if some readers have a reliability problem.  The answer is always "you need to replace your hard drive."

    Anyway, I will not try to diagnose it further.  I send my laptop in for repair (still under warranty - exhausted soon, phew!).

Maybe you are looking for