NI Motion witth incremental encoder and precise position

I am currently working on a project that requires me to get the precise position (mesure) with an incremental encoder with 2 channels A and B. I am Using NI Motion, NI UMI-7774,NI PCI 7550, and Labview 10

Hey that's great!
I think you're in the wrong forum: http://forums.ni.com/t5/Motion-Control-and-Motor-Drives/bd-p/240
jigg
CTA, CLA
teststandhelp.com
~Will work for kudos and/or BBQ~

Similar Messages

  • NI Motion with incremental encoder and precise position

    I am currently working on a project that requires me to get the precise position (mesure) with an incremental encoder with 2 channels A and B. I am Using NI Motion, NI UMI-7774,NI PCI 7550, and Labview 10 

    That should work!

  • What hardware do I need to monitor the signal from an incremental encoder?

    We are trying to implement a feeding
    solution for one of our cutting machines and I’m not quite sure how to proceed. 
    I have attached a document from the NI website that outlines exactly what we are
    trying to do but does not go into detail on any of the concepts like programming
    and implementation.
    1.) We have a NI DAQPad-6015
    connected to a SC-2345 which has one SCC-CTR01 module installed.  Which this
    configuration can we read the incremental encoder signal and use to setup our
    cutting machine as outlined in the attached document?  If not what is the
    minimum amount of hardware we need to sample the signal from the incremental
    encoder and obtain both the direction and magnitude of the
    movement?
    2.) If we wanted to use the
    information obtained from the encoder and subsequently send a signal to a
    stepper motor controller or perhaps a PLC what additional hardware would be
    needed.
    Thanks,
    Chris  
    Attachments:
    Incremental Encoder Example.pdf ‏94 KB

    Hi Chris,
    For quadrature encoder measurements your
    hardware is not the ideal equipment. The 6015 doesn't provide X4
    decoding. That means, that the board counts only one raising edge of
    one phase. Still, if you connect phase A and B to the counter inputs,
    it will count up and down, depending on the direction of the axis, but
    as already mentioned, you will loose 75% of the available resolution. Here is some more information about this topic.
    The document that you are referring to recommends a PCI-6624
    and this is in fact a much better option. This board provides X4
    decoding and isolated inputs not only for phase A and B but also for
    the Z-index (not available for the 6015).
    If you need a USB-solution and if you can work with TTL voltages, you might have a look at the USB-6218, that provides isolated I/Os.
    For motion control there are various options. E. g. you could use an NI motion control device like the PCI-7332,
    but there are also options to communicate with external motion
    controllers through CANopen, RS232 or various fieldbusses. Depending on
    the solution that you choose, you may need a bus interface that
    provides support for your programming software.
    I hope that helps,
    Jochen KlierNational Instruments
    Message Edited by Jochen on 09-24-2008 09:24 AM

  • How to check a incremental encoder by multimeter

    hi
    i have a robotic machine i am facing problem in one convyer that convyer not taking step i have a dout on encoder i want to check that encoder  by multimeter how i can check it encoder make -- Baumer GI342 A707123. so help me to check this

    Hi amit1980,
    Let me make sure I understand you correctly-
    You have a machine that includes a conveyer. You have an incremental encoder and you would like to debug your system using a multimeter.
    When you wrote "that conveyer not taking step" do you mean that it is a stepper motor that is not moving at all?
    An incremental encoder generates pulses that overlap on the two lines. By counting the pulses and which order they occur on the two lines you can determine the distance, speed and direction travelled.
    If the motor is not moving at all then the encoder will generate no pulses.
    You can do a sanity check of your encoder with a multimeter. You can read the voltage of one of the tracks while you very slowly turn the shaft of the motor. Very very slowly. The rotor has to turn slowly enough that the multimeter will have time to detect the change in voltage. If you just spin the motor the pulses will happen too quickly for the multimeter to see them. This encoder has 2048 pulses per revolution. To be able to see one transition you would have to move the shaft 1/2048th of a turn.
    If you just want to make sure that the encoder is producing any pulses at all then you can just set your multimeter to AC mode and spin the motor. A non zero voltage while spinning will mean that pulses are being generated.
    If you need more information that this- such as the direction, whether the tracks are overlapping properly, or especially velocity- you will need to use a scope rather than a multimeter.
    Since the encoder only produces pulses when it rotates, if your motor really isn't moving at all then the encoder is not likely to be the problem and you should investigate further up.

  • Incremental encoder, velocity, position and direction

    hi,
    A incremental encoder(With channel A and B)
    I know that the velocity is proportionate with the frequence of the pulses and we can find the position with a simple edge count. But it's a bit difficult to find out the rotating direciton even if the principe is very evident.
    are there any exemples for these kinds of application?

    PCI-MIO-16E-1 --> DAQ-STC --> see paragraphs concerning DAQ-STC in this
    file
    Unfortunately I have never used a SC-2345. But after a short overview of its specifications, it seems that you will need one SCC-FT01 to connect the A channel to the counter source and the other to connect B to the auxiliary line that will set the direction. See schematic in the file mentionned above. So your hardware will allow you to take this measurement.
    See this example to see how to configure a DAQ-STC counter for position measurement.
    1) Simple event counting
    2) Up/down counting. Direction is given by hardware --> auxiliary line of the counter (DIO6 for counter 0 and DIO7 for counter 1)
    3) Start the counter
    4) Read periodically the counter value
    5) Reset the task when finished
    Don't be troubled by the BNC-2120. Use your SC-2345 instead. Obviously you will need to adapt the number of encoder pulses/rev to suit your encoder.
    Add a shift register to store the position from one iteration to the other and compute the difference to determine the direction.
    If you want to add the velocity, than you have two options :
    1) If the accuracy must not be very high, then you can compute it (delta position / loop time).
    2) If you need high accuracy, then it will necessary to use the second counter to measure the frequency of channel A. In order to avoid errors due to vibrations it is recommended to use the LS7084 in this case.
    As you can see here, there are 3 methods to measure a frequency.
    Obviously, the examples will not work with your DAQ-card because the 660X is a NI-TIO type counter.
    If you want to measure the velocity at the same time than the position, then you will need to use the first method (Inverse period measurement) because the others will need 2 counters. (your card has only 2 counters and one is already used for the position measurement).
    There is an example of period measurement for DAQ-STC that ships with LV (Measure Period (DAQ-STC).vi).
    1) Single period measurement
    2) Source specification --> internal timebase
    3) Gate specification --> channel A
    4) Start task
    5) Wait for one pulse on Gate. I recommend to add a timeout to not enter in an endless wait if there is no pulse.
    6) Read number of pulses of the internal timebase.
    7) Check if counter overflow
    8) Reset task
    You will need to combine both examples in one vi.
    I hope this is clear enough to help you.

  • How do i use my NI 6216 daq to find a angular position of an incremental encoder

    i have a ni 6216 daq baord and an incremental encoder (i dont know the pulses per revolution of encoder). How do i write a labview code to get the angular positon of a motor wihch is interfaced with the encoder. How can i know the pulses per revolution of the incremental encoder.
    Thanks.

    Hi, 
    My name is Thomas and I am an application engineer at National Instruments.
    I looked through some of the information we have on file for incremental encoders and found a couple of documents that may be of help to you. 
    Follow this link for some general documentation on setting up an incremental encoder to measure the angular position of your motor.
    Follow this link for some example code off of which to build your application.
    As you alluded to, we are going to need to know at how many pulses per revolution your encoder runs. Which encoder are you using? With a bit of research we can hopefully learn the specifications for your specific encoder. 
    Best Regards,
    Thomas B.
    National Instruments
    Applications Engineer

  • Incremental encoding

    I recently finished encoding a 2 hour iDVD project from iMovie on the Varsity Baseball season - It took nearly 4 complete days of computer time to finish this!!!! Needless to say - I missed my deadline for some of the graduation parties I promised this to!
    Now - looking at the DVD on a TV I wish to tweek the menu. Will I need to wait 4 days again to watch this re-encode the entire mess?
    Is there a way to incrementally encode assests of the project?
    As a second question - - I have an older PowerPC G4 Mac (1.25GHz with 3/4 GB RAM) What is the best platform for encoding? Are the new multi-core Intel Macs best? If I eventually upgrade my hardware, would I be better off with a multi-processor/multi-core PPC tower, or an Intel based Mac?
    What has more impact - amount of physical ram, available hard disk swap space and disk speed, or CPU speed?

    in addition to Len's advice...:
    the biggest "brake" while encoding is the size of free disk space! iDVD needs at last 10 - 15GB free on internal drive (ext. drives don't matter, to be precise: start-up partition, for people, who have partitioned their drives…)
    going under that size forces iDVD to do zilliones of read/write operations from/to RAM<<>>HD; and because we speak of >10GigaBytes, even a good portion of RAM doesn't help that much…
    other factors, as Len has mentioned are CPU (G4, G5, Intel, M/GHZ), RAM, HD speed, bus speed, usage of int. only/fw connected hd, and even content of project is time relevant…
    on my antique hardware (see specs), I have to calculate a factor of 8x - 10x for encoding a project… Cube computes at nite… 100% quite.... hmmm ;-)))
    Will I need to wait 4 days again
    you have to encode the whole DVD again, sorry to say that, but, cleaning up your drive (=>export some big space eaters to ext. drive), I'm sure it will be done much faster…
    helpful?solved?

  • Incremental Encoder Velocity VI Help

    Howdy Everyone,
    I am currently working on a project that requires me to get the velocity of an incremental encoder with 2 channels A and B. I already have the counts for A and position but I still did not find any VI that calculates velocity. I am currently using a Wireless Data Aquistion System "WLS-9163" with NI-9215 module.
    Any help would be really appreciated.
    Thanks.
    Mechanical Engineer

    Velocity is:
    Actual Sample - Previous Sample / Sampling Rate.
    1.Create Channel: CI - Position Linear Encoder
    2. The sample rate can be set using the Sample Clock Vi. One of the inputs is Rate.
    3.Use Counter 1DBL 1Chan N Samples in order to set the number of samples read.
     This way you'll get an array with "position values" sampled using the specified rate (at 2.). So you have to compute:
    pos[i] - pos[i+1] / rate  =>> velocity
    Paul
    PS: Sorry for VIs in German but I think it's easy to find them also in English, in DAQmx

  • Exporting to Media Encoder and file locating issue

    Ok, Now I've read a LOT of threads trying to find a solution to this but none of them have answered my problem exactly, so here's what I have:
    Running a New computer with a clean install of Windows 7 64 bit and Adobe CS4 Master Suite
    Hardware:
    Dell Precision M6400
    Intel(R) Core(TM)2 Duo CPU  T9900 @ 3.06 Ghz, 3.07 Ghz
    12.0 GB Ram
    Premiere ran fine for a while, but soon I've run into a problem where I try to export to the Media Encoder and I keep getting the error:
    "Could not read from the source. Please check if it has moved or been deleted"  over and over
    I have deleted recently imported media one at a time to try and locate what's causing it since it wasn't doing this before, but no luck.  So I restarted the program but now the Premiere project won't open.  The task bar loads until about 2/3 in and stops there indefinitely, I've left and came back to it 2 hours later and it hadn't moved.  I back tracked and found a previous save that will open, but it still will not export, it still says "Could not read from the source. Please check if it has moved or been deleted".  And as soon as I update anything and save a new file that one will not open either.
    I've tried recompressing each video file into a format I know works well with Premiere but still no difference. 
    This problem has plagued my workflow for a while now and I can't take it anymore.  I've had to restart clean project files to try to work around it but I lose so much progress, and the work around by rendering the premiere file through After effects hasn't worked either.  The error I get there says "Dynamic link server is busy".
    Here's what the problem is not:  It is not because I uninstalled CS3 or any other previous version, I've never had it on this computer.  It's not a plugin problem, I don't have any plugins on this install except for the default ones that Came with Adobe Master Suite for Premiere Pro. 
    Someone please help me, this is ridiculous that I have had to trouble shoot the program this much.  Both CS4 and Windows 7 have been around for over a year now and neither are in Beta Editions

    Wow, sorry, forgive me if I've seen most forums work with a lot less, and your dismissiveness led me to assume you hadn't read my post.
    All of this is new and up do date as far as Adobe and Windows updates go, that's Version 4.2.1.
    My projects for this are all in NTSC Widescreen DV 24P, the particular sequence that I render from is in that format as well, although regardless of which one I use the problem keeps occurring. 
    My renders for my recent purposes have been compressed in .h264, IPOD video Large.  The codec I'm rendering in also doesn't seem to matter, because I've tried this in .avi., .mov, .h264, .wav, etc. and all with various settings that I thought might help, but the encoder quits encoding 4 seconds in and gives me the error that it can't find the media.
    And I didn't mention the media type and what not because it seems irrelevent of what I use this problem keeps happening.  I'm pretty sure it's a problem with the project file or perhaps the media encoder or both.
    And I don't know what you mean by "disks"
    Do I have a Raid set up on my hard disk?  No, I have two 0.5 TB hard drives, Programs on one (C:\) Projects on the other (D:\). 
    What address am I saving the scratch disks to?  I use the default of "same as Project".  Have I tried Clearing it?  Yes.
    I don't think I'm getting at what you're asking.
    And I don't think I've ever used an .xlsm (which is excel?) file and I've definitely never used a Power point project (PPS?) file in my projects.  And they open in their respective programs, although I'm not sure why you asked about that.  Again I'm not sure I know what you mean.
    The Premiere Project (.prproj) file is what I'm trying to open when the progress bar stops at 2/3 the way through and forces me to terminate the process with the task manager to close it.
    It would help to mention that all my projects are animated and I use premiere to cobble them together, so no problems that relate to transferring media from a camera to the computer would apply here.  Most of the files I get out of Maya are in Default .avi or .mov files, and I also use a handful of .wav files for the dialogue and .jpgs for cards and placeholders. 
    I believe that this problem began when I updated a few of the files in my project, but I've been doing that for weeks without incident.  I've been updating them by saving over the old media file with the updated one of the same name, length, and type. 
    I don't work exclusively with Premiere, in fact it's not what I usually use, that would be Final Cut Pro.

  • Incremental encoder: reset counter on pci 6014?

    I want to connect an incremental encoder with A, B and Z to a PCI 6014 card. I found some VI's for counting A and B (DAQmx->Counter->Count Digital Events; DAQmx->Counter->Measure Posititon) . However I can't figure out what to do with the Z. Is there a way to reset the counters by Z? (I am using labview 2009)
    Thank you very much!

    Sorry, my fault. I didn't see you have an E-Series device.
    Resetting your counter with a digital trigger is possible for Counter/Timer devices but not for your PCI 6014.
    You can reset the counter with DAQmx by stopping and starting the task again. You could read your Z index on a digital input, if the input goes high (or low) you could reset the counter.
    DAQmx: Count Digital Events with Option to Reset Counter
    http://decibel.ni.com/content/docs/DOC-6576 
    I think this is the only way for the PCI 6014. Since you have to go through several software layers, the performance goes down a bit. If it is possible, i would recommend to change to a M-Series device...
    Cheggers
    Sascha E.
    Group Leader Applications Engineering
    National Instruments Switzerland

  • Encoder and analog feedback together

    I am using a PCI 7344 board that will operate up to 4 axis with both encoder and transducer feedback.
    The user will have the ability to switch between the two types of feedback whilst on the fly with the system momentarily executing a stop command before re-configuring itself in the other mode be it encoder or transducer. This works fine.
    My problem is - when I am in encoder feedback mode, I do not get a feedback reading from my transducer as my primary feedback device is the encoder and as such the output given is for the primary device. I need to be able to see the analog feedback device whilst operating with the encoder and primary feedback.
    I may have a solution to this, by using one of the feedbacks as the secondary feedb
    ack although could not find any information regarding secondary feedback on NI's web site.

    Hello,
    First of all, analog feedback can not be used as secondary feedback. When you are running on analog signal as your primary feedback, you should be able read encoder data calling the Read Encoder Position.flx. When you are running on encoder as your primary feedback, you should be able read analog data calling the Read ADC.flx. If you do the enabling/disabling properly when you are switching from one feedback mode to other, you should be able to read all the signals.
    Hope this helps!
    Regards,
    Yusuf C.
    Applications Engineering
    National Instruments

  • Motion 5: Setting constant speed on position change

    Hi there,
    Can anyone shed some light on how to get rid of the smooth movement setting when moving an object from A to B. Motion appears to accelerate and decelerate the object to make it look smoother. However, I want to set an object to move at the set speed straight away, not accelerate up to it.
    Thanks in advance

    This is for Mo4, not Mo5, but I assume the same thing holds. The default keyfame setting is Bezier. If you right click on the position keyframe and select linear, it should do what you want.
    Russ

  • Precise positioning of components

    i was wonderin how could i precisely position textarea components in an applet???i understand that layout managers arent supposed to be used when precise positioning is concerned...
    also, can there be any way where u can draw string or write text on a graphics objectlike drawrect-->rectangle????

    use setLayout(null) on the applet.
    use textarea.setLocation(x,y)  to position the component
    use textarea.setSize(w,h)      to set the size of the component
    overide the paint method of the applet and use :
    graphics.drawString(string,x,y);
    graphics.drawLine(x1,y1,x2,y2);
    graphics.drawRect(rect.x,rect.y,rect.width,rect.height);Noah

  • I want to measure rpm using 100 ppr incremental encoder via digital input

    i want to measure rpm using 100 ppr incremental encoder  via digital input max speed (4000 rpm)
    am using 9178 c-DAQ chassis and 9426 digital input module
    pl provide me example code for this

    Hi asaccullo.
    The recommended settings for encoders are using the counters in the daq cards. Using digital I/O’s is not recommended, the encoders send digital signals but one of the main differences between using digital IO vs counters is that counters are designed to handle these type of events.
    Here I found several examples in ni.com/code that you might check:
    Imitation Quadrature Encoder with DAQmx Counter Tasks
    Use Counter Frequency to obtain an Encoder Rotational Speed
    An Elvis is a daq device, so this should work for you.
    I also found an example for myDAQ, it uses the DIO but with a counter task in the set up.
    Regards,
    steve.bm
    AE | NI

  • Incremental Loads and Refresh Date

    Hi all,
    Thank you for taking the time to review this post.
    Environment
    Oracle BI Applications 7.9.6 (Financial & Project Analytics)
    Oracle E-Business Suite 11.5.10
    Question
    I have a Test BI Apps 7.9.6 in a Test environment that is connected to a static EBS 11.5.10 data source. As part of my testing phase I'd like to do multiple Incremental Loads to get an accurate performance impact and timing study for the final pre-approval before migrating to Production. I can get a refresh of EBS which has a week's worth of transactions after my Initial Full Load. What I'd like to do is change Refresh Dates to "trick" the Incremental Load into only loading one days worth of data at a time, rather than the full week's worth of data in the Incremental load. Is this possible, and if so, how?
    Example timeline:
    Today - Initial Full load using Test EBS as of today
    1 week later - Refresh static Test EBS from Production with a week of transactions
    Post Refresh - Run daily Incremental jobs using static Test EBS
    First Incremental Load - Today's position + 1 day,
    Second " " - Today's position + 2 days,
    Third " " - Today's position + 3 days, etc
    As always all comments and solutions greatly appreciated.
    Kind Regards,
    Gary.

    Say on the 01st of the month, you did a Load.
    Then on the 08th of the month, the source EBS system was itself refreshed.
    What you want to do is to run a single day refresh on the 08th for all data from the 01st to the 02nd of the month), and then another single day referesh -- whether on the 08th or on the 09th , you don't care -- for all data from the 03rd to the 04th.
    Unfortunately, the refresh is from last refresh date to current date. You can't define "refresh upto date". Therefore, your first 'incremental' refresh on the 08th would refresh all data from the 02nd to the 08th in one shot. What you could try to do is
    a. After the first load on the 01st, shutdown the BI DWH.
    b. When the EBS test source is refresh on the 08th, reset your SYSTEM CLOCK ON THE BI DWH DATABASE SERVER to the 2nd (or 3rd) of the month.
    c. Now, when you run a refresh, BI will extract all data from the 01st to the 02nd or 03rd (even though EBS is as of the 08th).
    d. Once this is done, shutdown BI DWH.
    e. Reet the SYSTEM CLOCK ON THE BI DWH DATABASE SERVER to the 3rd or 4th of the month.
    f. Run another Incremental Refresh.
    ... and so on ...
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

Maybe you are looking for

  • TS1292 How do I redeem a card with a code that does not work?  The support store takes me in circles?

    Help and support sends you in circles and does not help redeem a card with a code that does not work.

  • File to Multiple Idocs, Error: Tag MESSAGE1 found instead of tag IDOC BEGIN

    Hi, I have configured my file to multiple idocs scenario using the following blog - /people/claus.wallacher/blog/2006/06/29/message-splitting-using-the-graphical-mapping-tool Now when i try to execute this scenario it is scenario it is giving me the

  • MIRO: Changes in tax calculation

    Dear Experts, My requirement is regarding tax calculations (Basic Excise Duty, Edu. cess, Higher Edu. Cess) in MIRO transaction. We calculate all these duties in this transaction with a taxed code which is based on fixed percentages for combination o

  • Data Structure

    I have been searching online for this answer for quite a long time so i hope you guys can help. I would like to know the name of the data structure used when a program stores data to a file by writing each data entry in one line. So for example if I

  • Has anyone else been lied to by Customer Support?

    Last October I purchased a new Galaxy SIII. Had unlimited Data and a 250mb Canada data plan as I had unlimited Canada data plan and Verizon told me I couldn't have it anymore so they gave me 250mb. Was willing to accept losing unlimited data but not