***Resubmitted for further review*** How can I do position maintenance using a digital input to capture an encoder count and adjust the move profile on the fly.

I have a rotary table (45:1 ratio) being driven by a stepper motor with an encoder attached to the motor. I am using a 7344 motion controller. I want to be able to do position maintenance on the move. The problem is that I am always moving in the same direction and the table has mechanical error. I have a home input on the table, which I have wired to the trigger input for the corrosponding axis. My thoughts were to capture the position when the table goes by the home input and compare it with the previous time and make the adjustment in the next move. I am just not sure what the best way to do this
is.

Hello,
So when you say that the table has mechanical error you mean that the number of steps per table revolution will vary from revolution to revolution? I apologize that I misunderstood this initially. What you could do is use high speed capture to read the position of the stepper every time the home switch (or some other mechanical switch) is hit for each revolution of travel. Then when the high speed capture lined is toggled you can read the current position and modify your next move accordingly. To get details about High Speed Capture please search for High Speed Capture from our Developers Zone at: zone.ni.com
There are examples programs on our website and examples available with the FlexMotion driver.
Please let me know if you have any further questions.
Re
gards,
Andy Bell
Application Engineer
National Instruments

Similar Messages

  • How can I do position maintenance using a digital input to capture an encoder count and adjust the move profile on the fly.

    I have a rotary table (45:1 ratio) being driven by a stepper motor. I am using a 7344 motion controller. I want to be able to do position maintenance on the move. I have a home input on the table. My thoughts were to capture the position when the table goes by the home input and compare it with the previous time and make the adjustment in the next move. I am just not sure what the best way to do this is. I am thinking that I want to tie the home input to one of the trigger inputs as well as the home.

    Hello,
    Your best option will be to use an encoder for feedback in your system. If you use an encoder then at the end of the move, the controller will compare your trajectory position with the position the encoder reads (the actual position) and make the necessary adjustments. Also, this is all handled transparently so you won't have to worry about any complicated programming issues.
    Regards,
    Andy Bell
    Applications Engineer
    National Instruments

  • How can I measure time between transitions at digital input

    I am using LabVIEW 6.0 to measure the time duration between 2 transitions in a digital input port. I have a set up including an HP 34970A Data Acquisition unit with the 34907A Multifunction Module plug-in. The LabVIEW program is trying to poll the digital input for level changes and then using the Time function(Tick Count) to check the times at the transitions. However this method doesn't work reliably as I have to measure time periods of 500ms.
    Is there any good way of mesuring time period with the above setup. I don't have a module which connects to the internal multimeter in the 34970A. The other stuff I have are a HP 34903A(Actuator Module) and a HP 33120A(Function/Waveform Generator).
    Any method for m
    ore accurate time measurement with the above setup will be appreciated. If not, what else do I need to make accurate time measurements.

    Frankly I doubt that you're going to be able to measure time interval with much accuracy. You're periidically polling a static digital input and how often you poll is going to vary. You could try polling as fast as possible and eliminate as many background tasks as you can. If your tolerance for the measurement is plus or minus 100 msce, then maybe you'll get a decent measurement most of the time. If it's plus or minus 5/10 msec, then it will never happen. The pc's clock is just not that accurate and a software timed loop on Windows is not deterministic enough. Get a counter/timer board for something really accurate or use a scope to capture the waveform.

  • How can an unconnected indicator read an FP digital input?

    SYSTEM DESCRIPTION:
    A Dell desk top computer with a Field Point system attached. There are a variety of modules including analog input, 2 digital inputs, relay out, Strain gage input, quadrature input. The system is running XP. The Labview program is written in v6.1.
    PROBLEM
    In an application written by others, I have found 4 front panel indicators that react to Field Point digital inputs. On the block diagram, the indicators are not wired to anything. They have no local variables and no global variables associated with them. How can they be reacting to the FP inputs? The problem is that one of the indicators reacts to the wrong input and I need to fix it.  See "In(Rescue)Limit, In(Cargo)Limit, 4067 Out Limit and EStop".
    Also, when the vi is launched, it starts up the FP system and the vi has no FP vi's in it and none of the sub-vi's have any FP vi's in them either. Any clues how this could be working?
    I have attached the vi. There are other vi's in this project, just too many to include unless more information is needed.
    Thanks,
    Chris Dreike
    Advantage Automation, Inc.
    [email protected]
    310-214-2175

    Chris,
    It doesn't look like you attached the VIs.
    You can use front panel DataSocket binding to link an indicator or control to a FieldPoint ethernet item. Right-click on the indicator and choose Data Operations>>DataSocket Connection.
    Regards,
    Aaron

  • My computer has a white screen at start up and sits for hours. How can I fix my computer?

    My computer has a white screen at start up and sits for hours. How can I fix my computer?

    Take each of these steps that you haven't already tried. Stop when the problem is resolved.
    Step 1
    The first step in dealing with a startup failure is to secure the data. If you want to preserve the contents of the startup drive, and you don't already have at least one current backup, you must try to back up now, before you do anything else. It may or may not be possible. If you don't care about the data that has changed since the last backup, you can skip this step.   
    There are several ways to back up a Mac that is unable to start. You need an external hard drive to hold the backup data.
         a. Start up from the Recovery partition, or from a local Time Machine backup volume (option key at startup.) When the OS X Utilities screen appears, launch Disk Utility and follow the instructions in this support article, under “Instructions for backing up to an external hard disk via Disk Utility.” The article refers to starting up from a DVD, but the procedure in Recovery mode is the same. You don't need a DVD if you're running OS X 10.7 or later.
    b. If Step 1a fails because of disk errors, and no other Mac is available, then you may be able to salvage some of your files by copying them in the Finder. If you already have an external drive with OS X installed, start up from it. Otherwise, if you have Internet access, follow the instructions on this page to prepare the external drive and install OS X on it. You'll use the Recovery installer, rather than downloading it from the App Store.
    c. If you have access to a working Mac, and both it and the non-working Mac have FireWire or Thunderbolt ports, start the non-working Mac in target disk mode. Use the working Mac to copy the data to another drive. This technique won't work with USB, Ethernet, Wi-Fi, or Bluetooth.
    d. If the internal drive of the non-working Mac is user-replaceable, remove it and mount it in an external enclosure or drive dock. Use another Mac to copy the data.
    Step 2
    If the startup process stops at a blank gray screen with no Apple logo or spinning "daisy wheel," then the startup volume may be full. If you had previously seen warnings of low disk space, this is almost certainly the case. You might be able to start up in safe mode even though you can't start up normally. Otherwise, start up from an external drive, or else use the technique in Step 1b, 1c, or 1d to mount the internal drive and delete some files. According to Apple documentation, you need at least 9 GB of available space on the startup volume (as shown in the Finder Info window) for normal operation.
    Step 3
    Sometimes a startup failure can be resolved by resetting the NVRAM.
    Step 4
    If you use a wireless keyboard, trackpad, or mouse, replace or recharge the batteries. The battery level shown in the Bluetooth menu item may not be accurate.
    Step 5
    If there's a built-in optical drive, a disc may be stuck in it. Follow these instructions to eject it.
    Step 6
    Press and hold the power button until the power shuts off. Disconnect all wired peripherals except those needed to start up, and remove all aftermarket expansion cards. Use a different keyboard and/or mouse, if those devices are wired. If you can start up now, one of the devices you disconnected, or a combination of them, is causing the problem. Finding out which one is a process of elimination.
    Step 7
    If you've started from an external storage device, make sure that the internal startup volume is selected in the Startup Disk pane of System Preferences.
    Start up in safe mode. Note: If FileVault is enabled, or if a firmware password is set, or if the startup volume is a Fusion Drive or a software RAID, you can’t do this. Post for further instructions.
    Safe mode is much slower to start and run than normal, and some things won’t work at all, including wireless networking on certain Macs.
    The login screen appears even if you usually log in automatically. You must know the login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    When you start up in safe mode, it's normal to see a dark gray progress bar on a light gray background. If the progress bar gets stuck for more than a few minutes, or if the system shuts down automatically while the progress bar is displayed, the startup volume is corrupt and the drive is probably malfunctioning. In that case, go to Step 10. If you ever have another problem with the drive, replace it immediately.
    If you can start and log in in safe mode, empty the Trash, and then open the Finder Info window on the startup volume ("Macintosh HD," unless you gave it a different name.) Check that you have at least 9 GB of available space, as shown in the window. If you don't, copy as many files as necessary to another volume (not another folder on the same volume) and delete the originals. Deletion isn't complete until you empty the Trash again. Do this until the available space is more than 9 GB. Then restart as usual (i.e., not in safe mode.)
    If the startup process hangs again, the problem is likely caused by a third-party system modification that you installed. Post for further instructions.
    Step 8
    Launch Disk Utility in Recovery mode (see Step 1.) Select the startup volume, then run Repair Disk. If any problems are found, repeat until clear. If Disk Utility reports that the volume can't be repaired, the drive has malfunctioned and should be replaced. You might choose to tolerate one such malfunction in the life of the drive. In that case, erase the volume and restore from a backup. If the same thing ever happens again, replace the drive immediately.
    This is one of the rare situations in which you should also run Repair Permissions, ignoring the false warnings it may produce. Look for the line "Permissions repair complete" at the end of the output. Then restart as usual.
    Step 9
    If the startup device is an aftermarket SSD, it may need a firmware update and/or a forced "garbage collection." Instructions for doing this with a Crucial-branded SSD were posted here. Some of those instructions may apply to other brands of SSD, but you should check with the vendor's tech support.   
    Step 10
    Reinstall the OS. If the Mac was upgraded from an older version of OS X, you’ll need the Apple ID and password you used to upgrade.
    Step 11
    Do as in Step 9, but this time erase the startup volume in Disk Utility before installing. The system should automatically restart into the Setup Assistant. Follow the prompts to transfer the data from a Time Machine or other backup.
    Step 12
    This step applies only to models that have a logic-board ("PRAM") battery: all Mac Pro's and some others (not current models.) Both desktop and portable Macs used to have such a battery. The logic-board battery, if there is one, is separate from the main battery of a portable. A dead logic-board battery can cause a startup failure. Typically the failure will be preceded by loss of the settings for the startup disk and system clock. See the user manual for replacement instructions. You may have to take the machine to a service provider to have the battery replaced.
    Step 13
    If you get this far, you're probably dealing with a hardware fault. Make a "Genius" appointment at an Apple Store, or go to another authorized service provider.

  • My free apps purchased using my cousin's apple id won't open anymore on my iphone but apps donwloaded using my own apple id still works. Why is it like that and how can I make apps purchased using my cousin's apple id work on my iphone? Help!

    My free apps purchased using my cousin's apple id won't open anymore on my iphone but apps donwloaded using my own apple id still works. Why is it like that and how can I make apps purchased using my cousin's apple id work on my iphone? Help!

    Welcome to the Apple Community.
    Delete the apps purchased by your cousin and purchase your own.

  • How can i get my 2nd laptop to read home sharing with my other laptop and mac mini.

    how can i get my 2nd laptop to read home sharing with my other laptop and mac mini.

    if I take the laptop off site, i loose the connection
    Of course you do because you're no longer on the same network.
    Connect to your work's VPN connection and then share the files

  • I had Premier pro given me by the college I attend and do no use wi fi and do not use cloud. My laptop completely died and will be sent back to Apple for exchange. How can I reinstall Premier Pro on a new Apple computer since the old one is completly dead

    I had Premier pro given me by the college I attend and do no use wi fi and do not use cloud. My laptop completely died and will be sent back to Apple for exchange. How can I reinstall Premier Pro on a new Apple computer since the old one is completly dead and could not be unregistered?

    Hi,
    You have not specified which version of Premiere Pro was given to you. If you don't have the disc (which i suppose you don't have) you will have to download it online.
    As far as your registration is concerned, for Premiere Pro CS6 or earlier you will have to reach Adobe chat support for further help: http://helpx.adobe.com/contact.html
    For Premiere Pro CC and later, you will not have much problems reactivating it.
    Thanks,
    Rameez

  • I'm using Premiere Elements 11, which automatically opens in a project window for HD. I want to reset the default for SD. How can I reset the defaul for opening a project?

    I'm using Premiere Elements 11, which automatically opens in a project window for HD. I want to reset the default for SD. How can I reset the default for opening a project?

    scottypet
    For Premiere Elements 11 and 12, you cannot change its default project preset from NTSC AVCHD Full HD1080i30 or its PAL counterpart PAL AVCHD Full HD1080i25 to something else.
    For each project, you can set the project preset manually if you do not want the program to take over setting the project preset based
    on the properties of the first drag to the Timeline.
    To set the project preset manually, open the project to the Expert workspace, go to File Menu/New/Project and Change Settings.
    In the Change Settings area, change the project preset. Before you exit that area, be sure to have a check mark next to "Force Selected Project Setting on This Project" in the new project dialog.
    Then you import your source media, using the appropriate Add Media choice.
    ATR Premiere Elements Troubleshooting: PE11: Accuracy of Automatic Project Preset (New Project Dialog) Setting
    If you want a version of Premiere Elements that uses the default project preset of NTSC DV Standard or its PAL counterpart PAL DV Standard, then you need to look to a version of Premiere Elements earlier than 11.
    Please let me know if you have any further questions on this or need clarification.
    Thank you.
    ATR

  • Dream Spark Programs downloaded for MBA program - How can I open them?

    Hi,
    I downloaded Visio and some other programs below for my class through Dream Spark. However, I cannot open the programs. I have a Office 365 Home account on my Windows 8.1 computer under an Outlook email address. When I try to switch the user to my student
    account I can't sign in. I have tried for several days.  Here is the screen I get and I can't get any further.  How can I open these programs?
    wo days now. See screen shot below.

    Hi,
    Look at the screen shot you added. Do you see the Account option on the left? You need to add your student account in that place. Once done you can start switching accounts. My guess would be that there is only one account available to choose from right
    now and that is your home account.
    Maurice
    p.s. This forum is intended to ask questions about training and certification so your question might be somewhat misplaced here...
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer. Thank You

  • I just bought a iTunes card and its not accepting it.  It already sent it to the support team and they said they were going to get back to my within 24 hours and i am trying to buy a program in the app store for work.  How can I expedite this process?

    I just bought a iTunes card and its not accepting it.  It already sent it to the support team and they said they were going to get back to my within 24 hours and i am trying to buy a program in the app store for work.  How can I expedite this process?

    Has it been 24 hours?
    I take it this was a gift card.  iTunes Store:  Invalid, Inactive, or Illegible codes http://support.apple.com/kb/TS1292 - gift cards
    I don't know if this provides an alternative means: https://expresslane.apple.com ; select 'iTunes' in the first column; 'iTunes Store' in the second column
    If you are really desperate you could buy the app yourself, then request reimbursement.

  • I have double IDs for Itunes.  How can I delete one without losing my music.  Also, I want to synce my new desktop computer with my older i4s.  All devices are registered to do so.  However, last time I tried I almost lost all music and Itunes BARELY supp

    I have double ID's for Itunes.  How can I keep all my music and get rid of the ID that I do not want.  It was an issue when I tried to transfer music ..  I contacted Itunes and they BARELY helped me get the music back.  They also would only allow me to chose one ID to replenish the music (wich was lost) to my new device.  So, I chose the ID that showed more music.  I am irritated that I still have 2 ID's and can't really figure out why they both have the same music.   Oldest to newest purchases are shown on both id's.  Also, I am afraid to sync now because they told me it was a one time deal.  When docked my phone to my new computer all of the music is shown on my computer now.  However not on my I phone. 

    I had the same problem. I solved by (I use Windows7, should be same for OSX):
    1. copying the library from the older computer to the new computer, at the usual itunes media location.
    2. on new computer's itunes preference (advance), uncheck the box "Copy files to iTunes media folder when adding to library"
    3. open up this folder of media copied over from old computer, just drag over to itunes library, cursor will turn into plus sign.
    4. since you unchecked the box for "Copy files to iTunes media folder when adding to library", you are in effect only growring the new computer's itunes library's database. Your media files are already under the folder on the new computer.
    Now when you connect iphone to this new computer and tells you it wants to erase your iphone's library in order to sync with this one, go ahead, click yes. Why is this ok now? Because you've copied all your files over to the new computer. So when you sync again, your existing files are there on the new computer.
    You should export play lists on the older computer to be imported on the new computer though.

  • My iphone is broken,and i came to store to change a new one today. When I come home, I found I lost my backup and may be mistake is made during before backup.The information in my previous iphone is really important for me? how can I get the backup back?

    my iphone is broken,and i came to store to change a new one today. When I come home, I found I lost my backup and may be mistake is made during before backup.The information in my previous iphone is really important for me? how can I get the backup back?

    If you don't have a backup then the only possible solution is to go back to the store and see if they can get your old phone and create a backup of that. I know very often that Apple employees will wipe the returned iPhones clean before shipping them back to wherever they ship them.
    When you say your old phone was "broken" does this mean it is dead and won't turn on?
    Do you have a Time Machine backup of your computer, or a clone that might have this info on it?
    Other than that I hate to say you may be out of luck. Time Machine and/or a cloning program performed regularily will inevitably save your a** in situations like this.
    Good luck
    PM

  • HT204053 I share an iTunes account with my daughter, I just got an ipad and need to set up with my own I'd for iCloud sync  how can I keep my apps and music?

    I share an iTunes account with my daughter, I just got an ipad and need to set up with my own I'd for iCloud sync  how can I keep my apps and music?

    ColleenMcG wrote:
    You can continue to share the same iTunes account ID with your daughter and set up a separate iCloud account with a different ID.
    => is this a different iCloud account for each device?  I thought iCloud account ID had to match some iTunes account ID, for which we only have one i Tunes account?
    You need to set up a separate iCloud account for each person that does not want to share their iCloud data.  If you share an iCloud account with someone, any data you both sync with the shared account is merged, and you end up with each other's data on your device(s).  If, for example, you owned two devices and someone else in the family also owned two devices, you would both want your own iCloud accounts, and you would each set up your personal iCloud account on the two devices you own.  In other words, you want a separate iCloud account for each person to be used on the devices they own.  Each iCloud account has to have a separate Apple ID.  The ID does not need to be the same as the ID used for iTunes.  Many families perfer to share the same iTunes account/ID, but maintain separate iCloud accounts with different IDs to keep there data separated.
    ColleenMcG wrote:
    It does not need to be the same as the ID used for iCloud.
    => what ID, iTunes?  So I can have a separate iCloud account "only" ID which I also assume must be some [valid] email address?  The children currently do not have email accounts anywhere.
    Yes, I was referring to the iTunes ID not needing to be the same as the ID used for iCloud.  In order to set up an Apple ID your children will need to have a valid email address that can be verified by Apple.  Apple requires this so they have a way of contacting the owner if there is a problem with the account, such as when you may need to reset the password on the account.  When you set up the ID, Apple will send a verification email to this email account and you will need to click on the verificating link in the email to complete the process.  If they don't currently have an email account you can just set one up with gmail or another free email hosting service.  They don't have to use the account but you will need it to set up the ID.

  • Bought a new Ipod for daughter for Xmas. How can I use ICLOUD to sync Itunes only to her IPOD

    Bought a new Ipod for daughter for Xmas. How can I use ICLOUD to sync Itunes only to her IPOD and not everything else on my iphone etc?

    On the iPod turn off iCloud for calender, contacts and other things (Settings>iCloud) and turn off automatic downloading for apps and books (Settings>Store).
    Aldso go to Settings Messages and Facetime and add her own email calling/messaging address and delete the Apple ID calling/messaging address.

Maybe you are looking for

  • Data Federator authentication modes

    In Data Federator (3.0 SP1 or previous), Is there any authentication mode similar to AD/LDAP in BOE? What are the options available for dynamic logon, while connecting to a database via JDBC in the DF Data source definition screen? Thanks Tiji

  • How do you reset the PMU on an ibook G3?

    My man just got a refurbed ibook G3 and on the first night it went to sleep and it won't seem to charge and I've read that the PMU needs to be reset but I don't know how to do this.  Can someone help?

  • How do you save text in a text box?

    So I'm supposed to set up these PDF forms so that people can fill them out online and save/print them. I added a bunch of text boxes and checkboxes, which all work, but when I filled out a test form, saved it, closed it, and reopened it, the boxes we

  • TS4058 Why  has iChat been taken from me?  I don't want to upgrade to Lion!

    Why  has iChat been taken from me?  I don't want to upgrade to Lion!

  • Why is the photo only black in Edit mode with iPhoto 11?

    Why is the photo only Black in Edit mode? Everything works fine, except when I try to edit a photo, it shows as only Black. I have tried every fix talked about on this forum, and some others - nothing fixes it. Is this a Feature ? or is it a bug that