Read Encoder Position Error -70012

I am using the "Read Encoder Position" and I keep getting error #-70012.  There are no errors up to this point and it does not SEEM to affect the way my program runs.  Does anyone know what this error is? 
I did try to look up the error # to no avail.
Thanks.

Have you seen this?

Similar Messages

  • Time of reading encoder position

    Hello,
    I want to ask you people where can i learn function execution times of NI 7358 board? I'm developing driver for this card on QNX 6.5. When i send read encoder position package to 7358, the first data comes to RDB register after around 10 ms for first time. Is it normal? Is there any documentation file that includes all function execution times (average)?
    Best regards.

    Hi erhan,
    I'm not too surprised that once the motion has started, the "Read Axis Status" function takes more time. The card should devote more resources towards managing the movement. That being said, the timing help document is only in reference to the individual function calls and as you stated the Read Axis Status alone has no latency. 
    Unfortunately, besides this timing help document, there isn't other documentation that is released that discusses the execution timing. If this is a bigger concern, I would try benchmarking the process on multiple computers.
    Paul M
    National Instruments | Applications Engineer | www.ni.com/support

  • Read Encoder Position is too slow, why?

    I am controlling a telescope using close-loop servo mode of 7342. What I want is to use get current position of my motor using encoder and since the position value is critical to my telescope motion system I need a fast read back of that value. However, the action is very slow, about 20ms a cycle. Is there any specification on the speed of this function? Is there any solution to speed it up? Are there any new products which is faster than this card?

    The NI-735x family of motion controllers allows you to read the position much faster. The position is read from a shared register that the motion board updates. Since it is a register read, the host takes very little time to get the position information.
    The NI-733x/4x families of motion controllers do send a command to the motion board that the motion board has to process and then return the data. Typically this should only take a few milliseconds or less for a read. But it is dependent on what else the motion board is doing. Things that can effect the time it takes to respond to a host request are number of axes used in arc moves, and short bursts of multiple commands sent to the board. The board has a FIFO that is 16 commands deep. If you send down multiple commands followed by a read position, each command in front of the read command has to be processed first. Which could explain why you are seeing a 20 ms read.
    In NI-Motion 6.1.x we have changed the driver software to help load balance the host request with the rest of the processes running on the board. In most cases this helps performance.
    What version of our driver software are you using? How fast do you really need to get the position information?
    Thanks,
    Rodger S.

  • Measurement error in reading Encoder Pulses

    I am using PCI-6601 card to read a Linear Encoder which gives 2000 pulses per mm of distance.The accuracy of the Linear encoder is 2Microns.In my application I am measuring a distance of 7mm.But the card is reading with an error of 30 to 50 Microns error.We had checked up all the factors related to mechanical and Encoder.In fact the same application was earlier working with Advantech Encoder card which has provisons to connect the A,B,A Bar,B Bar inputs from Encoder.There was an accuracy of 0 to 5Microns.But the application was replaced with NI Card because of the continuous problem of the Digital I/O Card used from Advantech.
    Mail me the possible causes and also the troubleshooting procedures for correcting the above problem

    Hi,
    What I think is happening is there might be some noise on your signal lines. The PCI-6601 counters are capable of detecting a pulse as small as 20ns. If the Advantech card can't detect pulses at that small a resolution, it might be ignoring "noisy" pulses that shouldn't be there. Are you reading more pulses than you should be or less?
    There are a couple things I might be able to suggest to clean up your signal. The counters support several different encoder modes. Try using X4 Encoders. An X4 encoder counter increments or decrements on each edge of channels A and B. Whether the counter increments or decrements depends on which channel leads the other. Each cycle results in four increments or decrements. I believe this X4 mode is more noise resi
    stant than the standard mode.
    Another thing you might want to consider is applying a filter to the input signals (debounce or deglitch filters). Each PFI line coming from the I/O connector can be passed through a simple digital filter. The filter operates off a filter clock and a fast internal sampling clock. It samples the signal on the PFI line on each rising edge of the sampling clock. A change in the signal is propagated only if it maintains its new state for at least the duration between two consecutive rising edges of the filter clock (one filter clock period). The frequency of the filter clock determines whether a transition in the signal may propagate or not.
    6601/6602 User Manual
    http://digital.ni.com/manuals.nsf/webAdvsearch/DD0DBB6404BC139886256721007CF16D?OpenDocument&vid=niwc&node=132100_US
    Hopefully one of these suggestions will do the trick. Have a good day.
    Ron

  • Getting error while reading the positional flat files

    Hi,
    I have a requirement to read a Positional Flat file and convert into XML through oracle B2B. I have created a positional flat file .ecs, XSD and parser .ecs file using the blog http://anuj-dwivedi.blogspot.in/2011/10/handling-positionaldelimited-flat-files.html and updated the same in the server.
    I have created a agreemnt for inbound scenario But while testing the inbound scenario i am getting an error in B2B as :
    Error Code     B2B-50083
    Error Description     Machine Info: Description: Document protocol identification error.
    Error Level     ERROR_LEVEL_COLLABORATION
    Error Severity     ERROR
    Error Text     Document protocol identification error.
    I have tried all the possible ways but getting the same error.
    Please guide me to overcome this.
    Thanks,
    Nishanth

    Nishanth,
    Have you followed the step#2 correctly -
    Copying the parser ecs in the installation directory and adding an entry in XERegistry.xml (of all machines if domain is spanned across multiple machines)
    Also make sure that you have provided Identification Value, Identification Start Position and Identification End Position correctly in Document Defintion. Please remember that start position starts from 1 (instead of 0)
    Regards,
    Anuj

  • Error 70012 dvd reader

    hello, does anybody knows about dvd error 70 012 after upgrading in moutain lion 10.8.5… french system thanks

    Peruse the hits from a google search for error 70012. There are many.

  • Position error

    I am having encoder position issues.
    I am using 3 Kollmorgen servos attached to 3 AKD Ethercat drives. I have a cRio running as the Ecat master. All of my Vis are running in scan mode on the cRio.
     I am building a capstan pulling system that will have a constantly changing velocity based upon position within a 3 meter repeating cycle. I change the velocity based upon sensor input every mm of the cycle and then start the 3 meter cycle over. The velocity various from 1 RVS to 10RVS.  I use the encoder position to determine my position within a cycle. The system runs great for around 5 minutes and then my encoder goes crazy. Even when I stop the servo the encoder continues to increase. In the help for the “Reset Position” command I noticed that encoder values higher than 2^52 can be unstable. Does this apply to user units or RAW encoder pulses?
      I have tried the following methods to try and fix the problem.
    Test and verified that the issue occurs in the Axis test panel.
    I just set a long move at a given speed. After a time the position error goes crazy as in 4.0 e +12 and the position continues to increase after the servo stops.
    I removed my units and used just encoder pulses and again after a few minutes the same thing occurred.
    Changed my VI so that after each 3 meter cycle the encoder was reset to zero. Again after roughly the same amount of time the issue occurred.
    One strange thing is that I can still control the servo accurately. If I tell it to go 100mm it goes 100mm, but once there I cannot read the position because it returns a very large and inaccurate number.
    A further observation is that I can recover by resetting the cRio. This makes me think that the encoder number is exceeding some register U32 or U64. If that were the case I would have thought that resetting it after each cycle would have fixed it. Unless when you reset the position you are just setting an offset that is subtracted for the actual encoder from that point forward.
     I am sure that I have confused you all but any and all help is greatly appreciated.
    Perpetual LabView noob…..
    Jeff Lee

    Hi Jeff,
    I have a few questions for you to help me get a better understanding of the issue:
    - What version of LabVIEW software is your application written in (2010? 2011 SP1?, 2012? etc)?
    - Have you tried swapping your motor with a different one?  Or your Drive?  Did you still observe the same behavior?  If possible, I think this would be a useful test to help narrow down the issue.
    - What does your motion system look like at a high level (What components are involved and how are they connected to eachother)?  Does the encoder feedback connect back to the drive or back to your cRIO controller?  
    Andrew T.
    National Instruments

  • Motor position error

    As a beginner in motor contol,
    one of my motor systems consisted of Thorlab Z612B(0.4 nm/step, 8 micrometer blacklash) and Precision MicroControl DCX-PC100.
    The motor was used in XY scanning; the x direction(fast axis) will move in small interval continuously in a y position (slow axis).
    Normally, we use more than 32 by 32 data points.
    In roughly thinking,  the image shape of scanning should be a rectangular or squre type in XY surface depending on the ratio of each data points.
    But, the returning X to the start point, or final X is shifting as time goes on, therefore parallelogram shape in XY surface. (please see the attachement. the number in micrometer)
    Of course, I checked the complete of motion for each interval X, and then read the current position.
    I had better notify we have already calibrated PID and motion(v & a) parameters by the tunning program.
    Is the second problem related to whether Motor or Controller?
    메시지가 02-27-2008 09:09 PM에 labmaster에 의해 편집되었음
    Attachments:
    aaa.jpg ‏35 KB

    Hi labmaster,
    It's hard to say whether or not it is the motion controller or the drive that may be causing the error. It could be something else entirely. I have a few questions for you to help figure out where the problem might be occurring
    1) I see that you said you are reading the position each time you complete a move. Is the position you are reading ever changing significantly from the expected position, or do you always get the position you expect?
    2) This may be a gradual problem that shows up when you make a large number of different moves. What happens if you start from the beginning and only move to each corner of the rectangle you are trying to cover, do you still get that parallelogram shape?
    3) What kind of feedback setup are you using (encoder, ADC, something else?) for your closed loop, and how do you have it configured in Measurement & Automation Explorer?
    Regards,
    Vijay S.
    National Instruments

  • Reading relative position on multiple axis

    Hi all,
    I need to read the relative position on two axis via the encoders. I have open loop steppers with encoders. I can read the encoder position on one axis easy enough be we need to read the encoder position of two axis simultaniously. I have looked at high speed capture but this only supports one axis. We have the top end motion card 7358. Taking two reads of the encoders a different times is not good enough for our application - any ideas? I guess I could write a DSP program, if this is the answer does anyone know of any examples? I was hoping there would be an easier way to solve this challenge.
    TIA
    -Martin
    Certified LabVIEW Architect

    Dear Martin.D
    To effectively measure and monitor the position of the encoders, use the DAQmx functions. And use a digital trigger with the source as the encoder channel that starts recording data as soon as the encoder is initialised. Look at the Cont Acq & chart samples Int-Clk-Dig Start VI in the examples or from NI.com examples and use this for your two lines. Set the sample clock for both lines as the same so that both are synchronised. The VI is an adaptation on the example using the two lines. Set your relevant sources and what outputs you desire. Please let me know how you get on with this.
    Xiaofengliu, your -70006 error code typically corresponds to an error on the axis input. If you receive this error code when using a Load DAC function, it is
    most likely due to an improper 'DAC' input. This error is common when
    using the flex_load_dac function in a text based programming language.
    The DAC input requires a resource identifier for the DAC to be used.
    This identifier is not just a simple number, but rather a hex id number
    unique to each axis. The resource IDs for DAC outputs are listed below.
    Please see the link I have attached below to guide you through and resolve your error:
    http://digital.ni.com/public.nsf/allkb/6484CBEC9C4​3189486256FDB004CF7F6?OpenDocument
    Many thanks for using the NI forums and I look forward to your reply.
    Kind regards
    David
    Applications Engineer
    National Instruments UK

  • Adobe Media Encoder Unknown Error

    I'm trying to export an Adobe Premier Pro file on Adobe Media Encoder. Each time I try, it gets about halfway through, then this error message comes up:
    - Source File: /Users/A25/Library/Caches/TemporaryItems/Incubus Trailer Rough Cut.prproj
    - Output File: /Users/A25/Desktop/Odyne Theatrical Trailer.mp4
    - Preset Used: HDTV 1080p 25 High Quality
    - Video: PAL, 1920x1080, 25 [fps], Progressive
    - Audio: AAC, 160 [kbps], 48 kHz, Stereo
    - Bitrate: VBR, 1 Pass, Target 32.00, Max 40.00 [Mbps]
    - Encoding Time: 00:07:07
    Mon Apr 15 12:48:21 2013 : Encoding Failed
    Error compiling movie.
    Unknown error.
    I've tried different video presets (1440x1080, 1920x1080 etc), but this message has appeard every time. Any ideas how to export it?
    Thanks

    Please read here:
    "Error compiling movie" when rendering or exporting with Premiere Pro CS3, CS4, CS5, CS5.5, CS6
    and here:
    Adobe Forums: FAQ: What information should I provide when asking a question on this forum?
    Jeff

  • Initialization error [-70012] in Mavericks

    Have a MBP 15”, Early 2011 with a 2 GHz Intel Core i7, 8 GB 1333 MHz DDR3, 1 TB 72000 rpm HD fused with a 120 GB SSD, running OS X 10.9.1 (12B42) the original CD/DVD SuperDrive is removed for the SSD, but installed into an USB case and connected external via USB.
    After installing the SSD and fuse it with the HD, the original, now the external CD/DVD SuperDrive, via USB connected, worked fine under Mountain Lion but now, since upgraded to Mavericks, OS X 10.0.1, it works only with CD’s and even opens DVD’s but the DVD Player does not work at all (initialization error [-70012]) and prevents to watch any DVD movie.
    I researched the Apple discussions boards and others but found not any helpful solution. There are not any DVD or iDVD files on my system. Checked visible as well as invisible files and documents. The Terminal also indicates that there is no such CD or DVD (iDVD) “No such file or directory”.
    However, the System Profiler shows clearly that there is a MATSHITA DVD-R   UJ-8A8: connected with “ Firmware Revision:          HB14 / Interconnect:          USB / Burn Support:          Yes (Apple Shipping Drive) / Cache:          1024 KB / Reads DVD:          Yes / CD-Write:          -R, -RW/ DVD-Write:          -R, -R DL, -RW, +R, +R DL, +RW / Write Strategies:          CD-TAO, CD-SAO, CD-Raw, DVD-DAO.”
    Resetting NVRAM/PRAM did not resolve the issue either. Tried to use 0xED Editor but the command at the “DVDPlayback.framework: /System/Library/Frameworks/DVDPlayback.framework/Versions/A”, brought no indicators of “Internal” or the equivalent hex code. Any smart individual out there, which can help, step by step to get the DVD Player working?
    Thank you.

    Logical or not, and that is your opinion, it is how it works and doesn't work. Sorry but the built in DVD Player App only works with the Superdrive installed inside the system.
    Maybe you applied the HACK in Mt Lion, and don't recall you did it, and when you upgraded to Mavericks is got overwritten.
    Been like that for years with many different versions of OS X and DVD Player App.
    If the Superdriove is installed inside the system you can use the DVD Player App with another DVD drive connected by USB but the Superdrive must be installed inside the case, and or connected to the secondary SATA connector.

  • Macbook pro external DVD drive initialization error 70012

    This is an answer to my own question and a comment about finding answers to questions on Apple forums.
    The situation
    I have a Macbook Pro, late-2009 model. In 2013, the internal DVD or optical drive died. I purchased an Apple external DVD drive to be able to read DVD disks, listen to audio, and watch video content. Because the computer I own was built to read only the internal DVD drive, it did not recognize this new external drive. When I plugged it in, I received an error: A valid DVD drive could not be found [-70012]. Or , or DVD could not be found, initialization error[- 70012].
    The question
    Given this situation, my question was, how do I solve DVD initialization error 70012?
    The answer
    Since my Apple Care plan had long since expired, before spending time and money at the Apple store to solve this, I decided to look online. After searching general sites and more and more specific sites, I found several posts on forums about my problem. The most helpful of these, with respect to an external DVD drive, was posted on CNET, by Topher Kessler (June 10, 2011 2:24 PM PDT):
    http://www.cnet.com/news/addressing-dvd-player-error-70012-when-using-external-d rives-in-os-x/
    The key to his advice was twofold:
    1. Hardware: The Macbook Pro was programmed to recognize the internal DVD/optical drive alone.
    2. Software: The preferences in the Macbook Pro were set to open Apple's DVD Player when a disc is inserted into the drive.
    To play audio or video discs on an external drive, the computer needed to be instructed to recognize the external drive, plus appropriate software needed to be opened. Mr. Kessler's advice went from hardware (i.e., get a new internal drive), to software (i.e., use different audio or video software), to operating system (i.e., alter the code in the operating system). Like with Goldie Locks, the first was too expensive, the last was too invasive, but the middle option was just right.
    I searched for free software to display audio and video on my external drive and found two that could do the job quite nicely. There are others, but these seemed to be the most recognized and highly rated:
    1. MPlayerX (http://mplayerx.org/download.html)
    2. VLC Media Player (http://download.cnet.com/mac/media-players/?rpp=30)
    So, I didn't have to buy an internal DVD drive and I didn't have to alter the code of the operating system. I just needed to download free software, install, and play.
    The points to learn
    1. Computers involve both hardware and software, therefore solutions to computer problems can require fixes to one, the other, or both.
    2. The simplest solution, and the least expensive, is to be preferred over the more complex.
    3. What went wrong for someone else is not necessarily what happened to your computer or software.
    4. What solved someone else's problem may not solve your problem.
    5. Just because nobody has posted information on how to solve your problem doesn't mean there isn't a solution to it.

    Hi Duane,
    Thanks for the info! That's some catch-22 for DVD Player... but useful info. I guess I'll just pick up a generic DVD-ROM to replace the drive with.
    As to the external drive, do not USB 2.0 cases run at the same speeds at Firewire 400 cases? (the same drive has no issues on other machines for playing dvds... just the lampshade iMac)

  • What function is used to read Angular Position form a Task?

    I have created a DAQmx task in MAX. This task configures a counter on a PCI-6259 to take the A and B counts from an encoder and give the Angular Position. What function do I use to read the value since I am no longer reading counts I am reading the position?
    Thank you in advance for any advice!
    John O'C
    Staff Test Systems Engineer
    Woodward, Inc.
    Skokie, Illinois, USA
    "Life is not a journey to the grave with the intention of arriving safely
    in a pretty and well preserved body, but rather to skid in broadside,
    thoroughly used up, totally worn out, and loudly proclaiming...
    Wow...What a Ride!"
    Solved!
    Go to Solution.

    Hi Izzy,
    I have Created the task in MAX. The task takes input into the counter from an encoder and converts it to angular position. Do I still use the DAQmxReadCounterF64 function to read the counter? I am guessing that I do and that the function returns the angular position rather than the raw counts. Not sure though.
    Thanks for taking the time to respond.
    Regards-
    John O'C
    John O'C
    Staff Test Systems Engineer
    Woodward, Inc.
    Skokie, Illinois, USA
    "Life is not a journey to the grave with the intention of arriving safely
    in a pretty and well preserved body, but rather to skid in broadside,
    thoroughly used up, totally worn out, and loudly proclaiming...
    Wow...What a Ride!"

  • Acquire encoder position with Motion and DAQ

    Hi,
    I am trying to acquire an encoder position with Motion. It seems impossible to set the frequency of the acquisition with Motion and I must poll for the position in a do-while loop.
    I have read in a lot of threads that one can use RTSI lines to retrieve encoder position with a DAQ Board though it is acquired with a Motion board. But there are no examples at all about this.
    To sum up, I need to send Encoder Phase A to RTSI0, Encoder PhaseB to RTSI1 (which I already do), retrieve info with a DAQ device and then calculate rpm.
    Christophe
    PS: please don't answer with measure angular position.vi or explain me in what this Vi can help me

    Hi Christophe,
    I'm not sure I understood well what you need. You have the angular position and you need to know the timing, am I right? Can you use an other counter on your card to get the period (or the frequency) of your signal? From that, I think you should be able to calculate the velocity.
    I hope this helps,
    Charlotte F. | CLAD
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    >> "Du 11 octobre au 17 novembre, 2 sessions en parallèle : bien démarrer - approfondir vos connais...

  • "Column Width should be positive" error

    I have a flash chart that has a fairly simple query (whic works fine when run via SQLPLUS etc), that when I run via Apex I get "Column Width should be positive" errors. What does this mean, and how do I debug it?

    I realise that I have to have a chart query to generate the chart. The query (see below) runs perfectly fine in SQLPLUS, TOAD, SQL Developer etc, with no negative values returned.
    select null, to_char(targcompdate , 'RRRR-IW'), count(*)
    from work_tab
    where worktype = 'RO'
    and integ_priority in ('2','3','4')
    and comp_person = 'Structural'
    and targcompdate >= sysdate
    and status = 'APPR'
    group by to_char(targcompdate , 'RRRR-IW')
    order by to_char(targcompdate , 'RRRR-IW')

Maybe you are looking for

  • Hooking up a Monitor??

    Iam going to buy a G4 Hardrive and I need to know if i can hook it up to my Dell monitor and keyboard.

  • Eyedropper Current Layer sampling problem.

    Using the "current layer" sampling setting for the eye dropper before I apply any top layer adjustments (adding a top layer with a different blending more or adding an adjustment layer) it works fine. When I use any adjustment layers or any layer tha

  • How to uninstall CS6 Indesign and Photoshop silently?

    Hello, We have a situation where we have to uninstall CS6 Indesign and Photoshop from dozens of computers. I would like to do this silently using Psexec or SCCM. So far I haven't been able to figure out how to do that. We have installed both using a

  • Disable Save and Save As in Web Analysis

    I have some standard Web Analysis reports that I want to share amongst users. I've created a common folder in Workspace and saved the reports (each is just a simple grid) to the folder. If my users are provisioned as Viewers they can drill up and dow

  • Every inlineframe generates HTML, head and body tag - how to remove it

    Hi, I am using inlineframe for adding HTML content. For every inlineframe, HTML, head and body tag is generated. How to get rid out of those HTML, head and body tags? please suggest Edited by: user10302920 on Feb 2, 2011 3:59 AM