Read_pos and read_encoder return conflicting information

I am doing a test that requires my motor to move to 3 positions multiple times during the test. It is a stepper motor running closed loop with an encoder. When I use read_pos to verify the movement, it reports that I hit the same location every time. However, read_encoder returns different values each time. The resolution of the stepper is 51200 steps/rev and the encoder is 10000 counts/rev. Why does the encoder report different positions without the step postion being different? Thanks
Chuck Cottle
Advanced Inspection and Measurement

How much difference is there when reading the encoder counts? If it is just a few counts (or just one count) I would agree that this is due to a microstepping problem.
Unfortunately not all microsteps are created equal. I.e., if you tell the motor driver just to advance one microstep, and then advance one more, the actual displacmenet may be somewhat different for each microstep (but the motor will reach exactly the same position if the number of microsteps equals one full step). So if the 7344 detects a (minor) following error it will issue a calculated number of microsteps to correct this following error - but probably will not reach the desired position exactly since the calculation assumes that each microstep pulse will cause the same dr
ive displacement.
Also, I have heard of problems when the ratio encoder counts to steps per rev. is NOT an even number, rounding errors may occur.
There is an excellent on-line essay about stepping motors, including possible microstepping problems, by a certain Mr Jones. Just do google search for 'jones on stepping motors'.

Similar Messages

  • HT4515 I want to buy an unlocked 4s from apple and use it permanently on a foreign CDMA cell service (IUSA Cell in Mexico).  I am getting conflicting information.  Thoughts?

    I want to buy an unlocked 4s from apple and use it permanently on a foreign CDMA cell service (IUSA Cell in Mexico).  I am getting conflicting information on whether this is possible.  Apple website says the phones are unlocked for GSM use only. 
    I called apple when i bought an Ipad to help decide on a GSM vs CDMA version and was told that if I went to Mexico with a CDMA version of the Ipad (2) that i would call the carrier give them some numbers and they would activate it.  When i returned I was to call Verizon and reactivate it in the US.  I ultimately got the GSM version so i never tested the theory. 
    I am now thinking of getting the 4S to use in Mexico permanently but want to use it on a CDMA carrier because it is half the cost per month.  But will this work?  Thoughts?

    There is no such thing as an unlocked CDMA iPhone. All CDMA iPhones are carrier locked and the carriers do not allow unlocking. All legitimatly unlocked iPhones are GSM only The CDMA side is completely disabled in them.
    You can only use a CDMA iPhone if the carrier you want to use offers one.

  • Return Cell information in a Table

    Hi,
    I have a table component with 5 rows and 6 colums and the only item i can select is a position or row.
    Is there any way i can return the information of a particular cell. Or is there any other component that can fetch me the same funcionality? I have data in the table and i have underlined them to show them as links. When users choose a particular cell i want the particular link to open.
    Regards
    Ji

    Hi,
    Are Row6.ph2 and Row7.Cell3 numeric fields ?
    It seems that you're using Javascript. In this case, you should access the value of a field using rawValue (ie Row6.ph2.rawValue).
    You also need to give a relative (this.parent ...) or absolute path (xfa.resolveNode("form.table.Row7")) to access Row6 and Row7, for example :
    this.rawValue=(Number(this.parent.Row6.ph2.rawValue) + Number(this.parent.Row7.Cell3.rawValue));
    if Row6 and Row7 are in the same subform as the total field.
    After testing the script quickly, it seems that if you put the rest of the script in the layoutReady event, it works fine.
    if (this.rawValue <8) {
         this.presence = "hidden";
    } else {
         this.rawValue = this.rawValue - 8;
         this.presence = "visible";
    I don't really know why it doesn't work in the calculate event, there is no error in the javascript console ...
    Anyway, be careful with the layoutReady event though, because if you have a really big form and a lot of script in this event, this could slow the execution / display of your form.
    Regards,
    Thomas

  • Conflict Resolver Sync Error - Unable to retrieve conflict information from the sync server

    So I have been using iTunes with my iPhone 3GS and now my iPhone 4 to sync with my Outlook for many years now  and it has been flawless.
    I recently bought a new iPad and started syncing it as well.
    Now as of late, after every 2 or 3 syncs, I get an error from iTunes displaying the Conflict Resolver and it says there are 42 sync conflicts.
    When I try use the Review Now button it shows up and the issues are between my iPhone and Outlook and are only related to contacts.
    As soon as I try to choose which record to resolve, the window immediately disappears without giving me a chance to finish and I get another dialog window with the error:
    Unable to retrieve conflict information from the sync server.
    Please try again the next time the conflict resolver window is presented.
    When I try to sync again it seems to be fine.  But then after I sync my iPad and theny iPhone again it shows up and it still won't let me resolve the conflicts.
    I have tried the following:
    1) Rest Sync History on all devices
    2) I have had iTunes replace all the contacts on the iPad from iTunes
    3) I have changed the conflict resolver to only notify when 50% of the data will be changed
    I have had no such luck.
    If I add a contact to Outlook or to my iPhone and then sync it seems to be syncing the new addtions correctly.  However, I cannot get this issue with this 42 conflicts resolved for some reason.  This has been going on for a month now.

    Here is the solution. 
    Rationale: You want to be able to have the dates on your items (notes, contacts) on your iphone to be the same as on outlook.  This will eliminate any sync conflicts.  You will also notice that if you modify something on the iphone and sync, you will lose the modification you made.
    Steps:
    1) In outlook, export the data (contacts, notes) to a CSV file
    2) Delete you notes/contacts in outlook
    3) Sync your iphone and select replace information on this iPhone (in iTunes)
    4) Now your contacts and notes will be empty on both your iPhone and Outlook
    5) Now import your contacts and notes from the CSV files back into outlook.  What this does is put the current date and time on every individual item
    6) Sync your iPhone to iTunes normally
    7) everything will work correctly now with no sync issues and no conflicts.
    Sherali

  • I get an error -626 and ndsconfig returns a value of 78.

    Hello guys,
    Here is a brief summary of the network design. We have a School server in the Network A. The Main eDir is in a Network B.
    The school server to access the Main eDir goes through a DNAT configured on our firewall.
    During the different steps I can browse my ldap on the main eDir without any issue.
    This to complete the information about Existing Tree Information, Local Server Configuration and Linux User Management Configuration for example.
    However, at the moment of the eDir configuration (I use the GUI) the software returns an error -626 and ndsconfig returns a value of 78.
    Our issue seam to arise when using the NCP for replication I guess. The questions are: is it possible to DNAT NCP and if it is what is missing?
    Of course, if I were installing another server on the Network B and try with the same settings it will work.
    I have seen in different posts that replication is not possible through NAT. However I can't find anything regarding the ncp protocol that would explain why our DNAT shouldn't work.
    I opened these ports.
    389 LDAP
    636 LDAPS
    524 NCP
    427 SLP
    8443 iManager
    8009 NRM
    8030 iMonitor
    8028 iMonitor
    Is there a formal documentation that I can relate to?
    Thank you in advance and I wish you already a great weekend.

    It could potentially work, but normally it does not work unless you do
    some really interesting stuff with routing. Here is why:
    When one server looks up how to reach another server, the way that
    referral is given includes the target server's IP address, as seen by the
    target server. As a result, if you are on 17u2.16.0.1 for serverA, and
    you ask to talk to serverB which has address 192.168.0.1, the referral
    (within the NCP packet) will tell the server to access 192.168.0.1. Since
    neither 172.16.x.x nor 192.168.x.x are routable normally, and since you're
    using DNAT, the addresses won't get to their destination and you have a
    connection problem (-626).
    The ability NCP has to provide addresses to clients and servers via
    referrals, NDS Pings, and the like is really powerful because it means, in
    a network that allows it, that any client/server can find any
    replica-hosting server to be accessed directly. The downside of this is
    that technologies which mess with the network layer by hiding IP addresses
    break the way clients would access servers.
    LDAP, for example, doesn't usually report anything about how to reach a
    server. Normally a client knows which server to ask from the very start
    and then goes there. Even with eDirectory, if an LDAP client accesses an
    eDirectory server that does not have a replica of the desired object, then
    by default the eDirectory server (not the LDAP client) goes and follows
    referrals to find and return the object.
    For these reasons, NAT is normally not supported between eDirectory
    servers. Could you make it work? Probably assuming you can get your
    routers to handle things properly, but it's going to be more than just
    dropping things in place and hoping they work, and it will be more than
    just allowing TCP/UDP ports through.
    Good luck.
    If you find this post helpful and are logged into the web interface,
    show your appreciation and click on the star below...

  • TS3992 im loosing my data on my iphone ..... .  and its returning back ..... this happining every week .... pleas help me

    im loosing my data on my iphone 5 for couple of days  ..... .  and its returning back ..... this happining every week .... pleas help me

    I can't answer that if you won't give us enough information on which to base an intelligent answer.
    We are not psychic.
    WHAT ARE YOU SYNCING THE DATA TO?
    Who is your carrier?
    Where on the face of the planet are you?

  • Conflicting information regarding running chkdsk on replica volumes.

    I am seeing conflicting information on using chkdsk on replica volumes.  I have a disk replica that appears to have a corrupted file that is preventing the tape backup from completing.  I have seen suggestions on TN that using chkdsk /f against
    the replica volume could fix the problem but I also see information on Technet (.bb795857.aspx) that it could also cause a loss of all recovery points.  Has anyone successfully run this against a replica volume in DPM 2012 R2 with no loss of recovery
    points?
    Thanks,

    Hi,
    Running chkdsk on the Replica can be done without with out too much concern as Shadow copy volume is still online and VSS can track changes made to the Replica and perform copy-on-write (cow) to maintain current active snapshot.
    Running chkdsk on the "recovery point" volume takes some precautions.  You need to cancel any running and all future scheduled jobs that effect the datasource whose recovery point volume you want to run chkdsk on.  This is because while chkdsk
    has taken the volume offline to have exclusive use, any writes to the replica could lead to invalidating the shadow copies.  In theory, VSS Shadow copy protection mode should prevent that, but to be safe, I would take the extra precaution.  
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT]
    This posting is provided "AS IS" with no warranties, and confers no rights.

  • Conflicting information over availability of BT In...

    I live in St Austell, which is one of the 6 pilot areas for FTTP and according to recent press releases it has already gone live but when I look around all I am seeing is conflicting information.
    According to the line checker at the BT Infinity page I am not in an area that is enabled yet for fibre optic and Sam Knows says St Austell won't be getting FTTC until December of 2012 but if I do the postcode check at BT Wholesale it says FTTC is already enabled... We are about 100m from the nearest cabinet and I saw BT digging up the road outside our house over a month ago.
    Currently I'm on an LLU ADSL2 connection through Xilo and the line rental is through Sky, so I don't know if that is confusing matters but I've been unable to get any kind of clear answer from BT on when we are likely to get access to a fibre optic connection and whether it will be FTTP or FTTC. It could be a week or it could be a year... Since I work from home via the internet a genuinely fast unlimited broadband connection is something I'd like to see enabled as soon as possible.
    Is there any way to cut through all this conflicting information and find out what options we will have and when?

    I noticed a person asking for help help identifying the cabinet they are connected to and when/if it's due Infinity.
    Dean a BT forum Mod replied and he mentioned "and others".
    It might be worth contacting... See Message #13 and the contact form is in #15. 
    They will probably need address/post code/phone number... anything you can think of that will help them to identify your location.
    It may take 72hrs or so to get a reply due their workload.
    Note when you use a checker  the only way to get an accurate result is by entering a telephone number.... if you have BT line.
    The Post code result is only for an area and within that area some cabs have been done and some haven't.
    Please Click On any Text in Blue as that automatically links to information.
    PC (NDEGR)

  • Window has detected and IPS Address Conflict

         To Whom this my concern,  I keep getting this message, which, I had mention in the subject line.  I have reset my wifi box and the box, that Charter gave me quit a few times. But, this message keeps on coming up, for some odd reason or another. 
         I was just wondering.  I had a Hp Lap Top 2000, that some one had stoolen off me, quit a few months, ago. I reported it to the police station and HP and they said that they could not do anything about it. Because, I absolutely lost my serial number, that I had written down.
        But, I used the same email addresses and Passwords on both computes. So, I was just a wondering if the person could be useing the lap top, that I had gotten stoolen from me and this is the way, this is why this message keeps popping up on my computer.
        Oh, I even called up Charter and mention it to them and they absolutely could not figure out what is going on either. So, I just thought, that I would text it on the internet.  To see if any one absolutely knew what was going on.
    Well, if you want to get in touch with me.  My email address it [Personal Information Removed]  or
    [Personal Information Removed].
    If you could help me out. I would appreciate it and awful lots.
                                                                                                                                                        Yours Sincerely,
                                                                                                                                                         Mr. Rockie A. Bates

    Hi @Rockiebates1949 ,
    Thank you for visiting the HP Support Forums and Welcome. I have looked into your issue about your Window has detected and IPS Address Conflict on your Home Network. This error message indicates that another computer on the network is using the same IP address that your computer is using. Each computer on a network must have a unique IP address. To fix this problem, run the Network troubleshooter.
    I hope this helps.
    Thanks.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom to say “Thanks” for helping!

  • I have bought a film from itunes and the credit has come out of my account, but i can't find the film anywhere, it said it was downloading, then i left the laptop and on return i couldn't find the film. how do i find the film?

    i have bought a film from itunes and the credit has come out of my account, but i can't find the film anywhere, it said it was downloading, then i left the laptop and on return i couldn't find the film. how do i find the film?

    Maybe it is in the Purchased category of iTunes,
    Try going there

  • REJECT_CODE Vendor information and/or Operating Unit information is missing

    hi
    i am using Oracle Applications : 11.5.10.2.
    i am trying to load suppliers and suppliers data into oracle AP.
    i tried doing this with some sample data.
    i executed the following code below :
    insert into AP_SUPPLIERS_INT (VENDOR_INTERFACE_ID, VENDOR_NAME, SEGMENT1, STATUS)
    values (*10006*,'XXX Financials2','199999','NEW');
    i then ran the following process:
    Supplier Open Interface Import
    the supplier was added without errors
    i then inserted a record into the
    AP_SUPPLIER_SITES_INT table :
    vendor_interface_id =*10006*,
    LAST_UPDATE_DATE= SYSDATE,
    LAST_UPDATED_BY          ='123',
    VENDOR_SITE_CODE = 'true test' ,
    CREATION_DATE     =SYSDATE ,
    CREATED_BY     ='123' ,
    PURCHASING_SITE_FLAG= 'N' ,
    PAY_SITE_FLAG     = 'Y' ,
    ATTENTION_AR_FLAG     = 'N' ,
    ADDRESS_LINE1     ='gmmm df' ,
    ADDRESS_LINE2     ='gmmm dfdv' ,
    ADDRESS_LINE3     ='gmmm dfvdd' ,
    ADDRESS_LINE4     ='gmmm dfvdd' ,
    PAYMENT_METHOD_LOOKUP_CODE='Check' ,
    TERMS_DATE_BASIS     ='Current' ,
    ACCTS_PAY_CODE_COMBINATION_ID     = '1365' ,
    PREPAY_CODE_COMBINATION_ID     = '1470' ,
    PAYMENT_PRIORITY     = '99' ,
    TERMS_ID= '10001' ,
    INVOICE_AMOUNT_LIMIT =20,          
    PAY_DATE_BASIS_LOOKUP_CODE     = 'DISCOUNT' ,
    ALWAYS_TAKE_DISC_FLAG= 'A' ,
    INVOICE_CURRENCY_CODE     ='JMD' ,
    PAYMENT_CURRENCY_CODE     ='JMD' ,
    HOLD_ALL_PAYMENTS_FLAG='N' ,
    HOLD_FUTURE_PAYMENTS_FLAG     ='N' ,
    HOLD_UNMATCHED_INVOICES_FLAG= 'N' ,
    EXCLUSIVE_PAYMENT_FLAG= 'N' ,
    EXCLUDE_FREIGHT_FROM_DISCOUNT     = 'N' ,
    ORG_ID= '142' ,
    CREATE_DEBIT_MEMO_FLAG= 'N' ,
    OFFSET_TAX_FLAG= 'N'
    i then ran the following process:
    Supplier Sites Open Interface Import
    the process completes with a status of 'Normal'.
    below is an extract of the output :
    Supplier Sites Open Interface Import Execution Repor Page: 1
    Import Options: All
    Batch Size: 1000
    Print Exceptions Only: No
    Sites Open Interface Audit Report
    Org Id Supplier Number Supplier Name Site Name
    Total Sites Imported: 0
    *** No Data Exists for this Report ***
    Sites Open Interface Rejections Report
    Org Id Supplier Number Supplier Name Site Name Reason
    Total Sites Rejected: 0
    when i checked the AP_SUPPLIER_SITES_INT table ,
    the REJECT_CODE field has the value *'Vendor information and/or Operating Unit information is missing.'*
    I THINK ALL THE REQUIRED FIELDS ARE POPULATED
    why am i recieving this error ? is this caused by a bug? is there a required field that i didn't populated ?
    please help me to solve this ....
    thanks much!!

    Hi,
    Could you please check : Doc ID: 316368.1 of Metalink...
    Symptoms_+
    The Supplier Site Contacts Open Interface Import program is not importing certain contact
    information.
    The Supplier Site Contacts Open Interface Import Execution Report shows the following Rejection
    Reason:
    Vendor information and/or Operating Unit information is missing
    Cause_+
    The Last_name field is a required field.
    As per the Oracle Payables User's Guide.
    Appendix G-111
    AP_SUP_SITE_CONTACT_INT chart shows the LAST_NAME is a Required field
    Solution_+
    As per the Oracle Payables User's Guide.
    Appendix G-111
    AP_SUP_SITE_CONTACT_INT chart shows the LAST_NAME is a Required field
    If you test this out directly in the Suppliers window in Oracle Payables:
    Navigation: Suppliers-Entry
    Queried up a Supplier, then clicked into the Site field under the Contact tab.
    Entered the contact information and omitted the Last Name, when trying to save the record,
    the system gives the following message:
    *'FRM-40202: Field must be entered' and the cursor is on the Last Name field. This is a required*
    field and is the intended functionality.
    Hope this will help
    Regards,
    S.P DASH

  • HT5622 I changed my Apple password and I get the information at the wrong email address.  The correct email shows in my Apple account.  Why is the mail going to the wrong email? How do I fix it?

    I changed my Apple password and I get the information back at the wrong email address.  My email address is right under my Apple ID.  How do I get this corrected?

    AWDunams wrote:
    Okay so I associate the e-mail address as the apple ID and that seems to be a wrong assumption.  I did go to my Apple ID and changes the e-mail address and the password but for the same and only Apple account I have ...
    That is good.  In that case, your one and only account has not changed, just the login credentials you use for it.  All your previous purchases will remain associated with that account, and the new login.
    In essence, an AppleID is an email, but it has two parts.  One is the login email address and password everyone traditionally thinks of as an AppleID.  But that in turn is linked to an account with Apple.  As long as you use the manage Apple ID portal to just change the email address and/or password for your exisiting AppleID, then the internal account tracks along with those changes as well.
    However, on your iOS devices, you will need to log out and then log back in with the new login credentials:
    settings -> iTunes & App Stores - tap your AppleID, and choose log out.  Then log back in with the new email address and new password.

  • Please explain me how I can use Form feed(\f) and Carriage return(\r)

    what is Form feed(\f) and Carriage return(\r)?
    Please explain to me.
    Thank you.

    These control characters aren't used much these days except that if you example a Windows or MSDOS text file in a binary editor you'll find each line ends with "\r\n". However when reading or writing text through classes these carriage returns will be added and removed automatically so your program doesn't see them.
    The controlls date back to teletype machines which operated rather like typewriters. Cariage return, as it's name implied, caused the print head to move back to the start of the line, line feed advanced a line (without, necessarilly, returning the carriage) and formfeed skipped to the next page.
    Newline on these machines was always "return, linefeed" because executing the carriage return on these machine could take too long. The early machines had only a single character buffer so that they had to executed the characters as quickly as they arrived. So doing the linefeed after the carriage return gave the carriage more time to return. On some teletypes if you did "linefeed, return" then the first character of the new line would often be printed somewhere in the middle of the line.
    This is the origin of the MSDOS/Windows end of line sequence.
    Many printers will still respect formfeed if printing is direct. Some will take carriage return without linefeed to allow you to start again overprinting the same line.
    However printing, these days, is seldom direct but done in bitmap form.

  • Vendor information and/or Operating Unit information is missing.

    Hi,
    I am new to the interface and learning programing can any body pls help me on this accept i will be thank full
    I am running AP_SUPPLIER_SITES_INT and i got an error as
    Vendor information and/or Operating Unit information is missing.
    and also pls give me the diff b/w org_id and operating unit why the tables end with _all.
    Thanks in advance
    Thanks and regards
    Goutham
    Message was edited by:
    goutham konduru

    check out these:
    http://www.oracleappshub.com/oracle-application/_all-tl-vl-vf_vl_a_avn-and-what-else/
    http://www.oracleappshub.com/beginner/understanding-multi-organization-structure-in-ebs-part-1/

  • How to get Apple ID and password that is different to iTunes store account which I have already activated and completed contracts, tax information and bank information I want to create a Paid Books Account use apple ID

    I was given this address from the Apple customer support team.
    I have an active existing iTunes store account and use the same Apple ID for signing into my iTunes Connect Account that distributes Apps.
    I have created some books using the iBook author and in order to distribute content on the iBookstore I have been told electronically that I need a new Apple ID and password that is different to iTunes store account which I have already activated and completed contracts, tax information and bank information valid until 2013?
    I want to create a Paid Books Account using the same email address, tax information and bank information. This has been most frustrating, as I cannot get passed the sign in section and there is no contact person I can speak to. I was of the understanding the iTunes connect account and the Developer programs which I paid good money for is all what I needed to be paid for selling iBooks on the iBookstore???
    I only have one email address and wish to also use it for the Paid Books Account. I have books ready to be exported and published.
    I am also having trouble locating and downloading iTunes Producer. I understand I need to have the Paid Books Account active to access the iTunes Producer program. Please help.
    See additional information below:
    What device did you use to connect to the store?  Mac computer
    Which operating system is installed?  Mac OS X v10.7.x
    What version of iTunes is installed on your computer?  iTunes 10.6
    Choose the iTunes Store or App Store for your country:  Other
    Please select your country:  Australia

    Hi Lrwill,
    If the apps that are on your son's iPad were purchased under his Dad's Apple ID, then signing your Apple ID onto the iPad will not help you with updating those apps.
    Also, if the iPad was sync'd with his Dad's iTunes library, then hooking it up to your computer/iTunes library, will require you to reset the iPad, and everything that was loaded under the other Library and Apple ID will be wiped out.
    Can you provide a little more info about what was set up under which Apple ID and what iTunes library the iPad was sync'd with?
    Cheers,
    GB

Maybe you are looking for