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!

Similar Messages

  • 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~

  • Linear actuator controlled with external encoder and smart motor - randomly stops

    Hi,
    This is my first experience with Labview or any sort of programming for that matter.  I am using an Animatic Smart Motor Model: SM1720M version 4.15b with an Ultra Motion Bug linear actuator: 4-2B.125-SM17-3.2-1NO-B/EC4 and a 600 series optical encoder.  I am trying to write a VI that allows me to manually control the linear actuator using the encoder.  I attached the one I have been using, but for some reason it randomly stops working, generally  when the actuator is extended about an inch and 2 1/2 inches.  It stops in the same general area, but not the exact same spot.  Any ideas?  Any help would be much appreciated!
    Attachments:
    Manual Command.vi ‏29 KB

    1. The VISA Clear and VISA Close should be outside the loop. You do not want to be re-initializing the VISA session each time through the loop.
    2. You have the port initialized to use line feed as a termination character. When using termination character, you should not use Bytes at Port. Just set the byte count input of VISA Read to a constant larger than the longest message you expect to receive.
    3. With the termination character you do not need the waits between or before the reads.
    4. The 10 ms Wait in the outer loop is rather meaningless when the start button is True. The VISA Write takes much longer than 10 ms for the string you are writing. It does make sense to have a Wait in the False case.
    5. The start button is set to Latch When Released mechanical action. With that setting it retuns to False every time it is read. The result is that the code in the True case only executes one time for each press of the button. Is that what you want?
    A state machine architecture is more flexible and more robust.
    As to why it stops in a particular place, you have not given us nearly enough information to even guess. What is the relationship between motor speed and displacement? Where do you do anything with the encoder? What is the format of the encoder output? How far does the motor move at various speed settings during one iteration of the outer loop? Where is the command to stop the motor when it gets to where you want it? 
    What error messages, if any, do you get when it stops?
    Lynn

  • PCI 6024E with incremental encoder

     I have a 6024E board, and want to measure the rotated angle of the gear with the encoder. How to connect the board's pins to the encoder's, how to programming it in Labview? Thanks!

    Please have a look at this document which describes how to use a quadrature encoder with an E-Series device like the 6024E.
    Best regards,
    Jochen Klier
    National Instruments Germany

  • Uploading data file with specific encoding and other metadata

    Hello everyone.
    I've been recently testing Microsoft Codename "Data Hub". When select the option to upload a CSV or XLSX file to populate my database, it basically has two problems, in my opinion:
    1. It would be great if I could select the file's encoding. If my file is in Spanish, it won't properly load latin characters (e.g. accents, or special characters). The information ends up showing with a bunch of weird characters.
    2. It also doesn't let me select which character to use as data separator. It uses the comma as the default. Some of the data might contain commas, so I usually change the separator to a pipe in my CSV files.
    Does anybody know any workarounds?
    Thanks.

    Hey there, and apologies.  I wanted to reach out and see if this is still a problem for you.
    I also wanted to check if this is a question about Azure SQL Database or something else?
    Thanks Guy

  • Problem with media encoder and re-opening projects

    Dear all, I'm a newby and I'm having a very strange problem.
    I've made my first premiere project and all seems ok in the preview. Then I've tried to exported it in avi using media encoder. This is a 1024x682 color movie, 25fps, duration about a minute. Avi export setting was xvid compression, and after a long wait (10 min) and nothing started, I've re-tried with divx. After some more time, media encoder blocked and I needed to put it down with windows task manager. Then I closed normally premiere.
    After re-opening premiere I've selected the saved project, but it do not open and a message appear (in my language, so I'm trying to translate): "Impossible to open a sequence of the project. It was not possible to associate any sequence preview file or codec to this kind of sequence."
    Moreover I've tried do create some other simple projects but none of them can be opened!
    More info: Premiere pro CS4, Win XP sp3 32bit, PC AMD64 3200+, 3 GB ram.
    Inside project: a couple of avi non compressed video and a couple of jpg still images. And some transitions and text. Background music. Very simple.
    I hope you can let me know how to get back to my project, and also to export in avi. Help! Thanks!
    Addition:
    PS: maybe the codec error I attach can be the cause? How to solve?

    Unfortunately, both Sherlock and G-Spot do not see the Adobe MainConcept CODEC's correctly. Adobe uses a naming convention, that they do not understand, but it's done to "hide" those CODEC's, so that other programs do not overwrite them.
    Now, there have been reported instances, where a full-paid version of PrPro has "reverted" to the trial version. The trial version cannot do anything with regard to MPEG.
    In those cases (do not know the causes), the fix has been to uninstall CS4, run the Adobe Clean Script CS4 several times, rebooting between each run, then installing CS4 again, then updating it. This has worked in every case, that I can recall.
    What caused the full-paid versions to revert is a mystery to me, and I have yet to hear of the cause.
    Sounds like your full-paid CS4 now thinks that it's the trial version. The steps above should get it fixed for you.
    Good luck,
    Hunt

  • Motion with JPEG black and white

    When I zoom in on a black and white JPEG photo, it goes out of focus unless I click drop shadow or motion blur. What's going on here? Why does it go out of focus, and why should "drop shadow" or "motion blur" make it sharper?

    You editing in a video format designed for television display, but you're not monitoring on the correct device. The addititional effects you apply make the image more acceptable on a computer screen but defeat the format for what it's designed. If you working in video you have to monitor on a video display, regardless of your final delivery format.

  • 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

  • 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

  • Connecting Yaskawa Sigma FSP Motor Drive With UMI-7774 and PCI-7344

    Hi,
    i have PCI-7344 and UMI-7774  that i want to connect to this Servo motor drive of Yaskawa.
    1)  How do i know if this motor drive is compatible with the pci-7344 and umi7774 ?
         for example:  inside the UMI manual is written that the Motor drive must support "Sinusoidal Commutation"
         i look indside the Motor Drive manual and i dont found anything about this.
         this is link to the motor drive: 
         http://www.yaskawa.com/site/products.nsf/products/Servo%20Amplifiers~fspsigma.html 
         http://www.yaskawa.com/site/products.nsf/products/Servo%20Amplifiers~fspsigma.html?openDocument&seq=...
    2)  How do i connect the feedback and control lines  from the UMI to the Motor drive?
    i'll appreciate any help including posting a link to a tutorial that helps to understand the signals from the motor drive and the encoder
    And also the umi-7344  (Phase A,  Phase B, Hall sensor, inhibit, Fault, etc... )
    Some powerpoint or Pdf tutorial that National instruments provide will help as well.
    P.S.  i read the manual of the UMI-7774 and the pci7344 manual, but i'm yet not understand what i need to do
    in order to configure my motion system :
    PCI-7344  , UMI-7774  ,  Motor Drive (Sigma FSP Yaskawa) ,  Servo Motor (Yaskawa)
    Thanks for any help.
    Regards,
    Moti
    Solved!
    Go to Solution.

    Dear Nate,
    Thank you for repling to my posts, i really appreciate that.
    The links you provide is very helpfull.
    i'm enginner in my education, but not in this area (i'm information systems eng.)
    i decided that i need to learn more about it (ni-imaq, ni-motion, line-scan camera, servo, servo drives, encoder signals, motion i/o, umi, pci7344, etc..)
    So, i download the manual and help files that is needed to my application i want to build
    (high speed machine vision of color line-scan camera connected to motion with rtsi synchronization and also digital i/o)
    and now i'm reading ALL this, its huge amount to read, and not all the thing i understand in the begining (english is not my lang..)
    Thanks again for the replies.
    Best Regards,
    Moti

  • 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

  • 7344 with the incremental encoder

    Hi
         The system uses the 7344 control and UMI7764 with the incremental encoder feedback. Before the system is power off, I want to record the value of the encoder to the flash ROM of the 7344. Then next time,  I can read  this value to know exactly the status of the system when it is power on.
          But the question is that it doesn't work when I try to solve this with the Object Management nodes. So, will you please give me some instructions or maybe some example code like this?
          Thanks in advance!

    Could anybody please give some instructions?
    Thanks!

  • LabVIEW USB-6366 sample 2 AI and Encoder Value triggered with X1-Encoder (not with sample clock) - Help needed, please

    Hello World,
    after 10 years of LabVIEW experience I'm totally lost.
    This is my first project with DAQmx and I don't know how to handle it.
    My setup: Windows7; LabVIEW 2012 DevSuite; X-Series USB-6366
    My goal: Trigger the encoder value and 2 Analog Inputs
    I would like to get one result for the encoder value and each of the two analog inputs for each change of the encoder value (not more!!! I don't want to sort a huge amount of data afterwards)
    I've been able to configure it with the Measurement and Automation Explorer, but have no clue how to get this in a LabVIEW configuration.
    All examples I could find are reading the analog Inputs and the Encoder with SampleClock. That's not what I'm looking for.
    I would greatly appreciate if someone could guide me to my solution.
    I've attached the exported confiuration of the Measurement and Automation Explorer.
    Thanks in advance, best regards,
    Balze
    P.S.: Sorry I had to ZIP the *.nce file, because NI doesn't allow to attach *.nce files
    Solved!
    Go to Solution.
    Attachments:
    configData.zip ‏290 KB

    Hi RupiDo, hi Kevin P.
    thank you for your effort and your willingness to help me. I aprreciate it!
    @ RupiDo:
    I'm aware of the DAQmx Timing.vi but where do I find I/O filtering (which context menue?)
    DAQmx is a Monster for me. It's for sure felxible and powerfull but how to configure it is not obvious for me. Also the dependencies are unclear to me. I tried things and get an error at run-time that this or that is not supported, reserved, ....
    Nyquist Shannon doesn't matter very much for my task. I measure DC voltages with litlle changes. But thank you for pointing this out.
    Retriggerable property node?? Where's that? (This maybe not obvious for me, because it's a german LabVIEW I've got to work with)
    @ Kevin P.:
    Yes, it's a quad-encoder with A,B and Z but Z is still unused (and will be unused for now)
    I've got similar problems to setup your solutions.
    When I try to configure "Change Detection" I get error messages, that it's not supported. "allow buffer overwrites"??? I seached for it very thoroughly,but without success.
    I looked at a lot of examples but always found solutions with buffered aquisition. I'm already willing to use buffered aquisition, but I even can't setup this.
    I FEEL SO STUPID Over 10 years LabVIEW experience and the first DAQmx project let's me stumble.
    I tried a buffered aquisition based on an NI example. But it only works for one analog input channel. The other brings up en error (-50103). Which one of the two analog channels brings the error is randomly.
    Maybe someone could explain me, what leads to this error, that I could start understanding DAQmx.
    I've attached the VI (LV2012) and screenshots of the frontpanel and the blockdiagram.
    Thanks in advance, best regards
    Balze
    Attachments:
    Meas Angular Position-Buffered-Cont-CtrClk-1.vi ‏72 KB
    vi_panel.png ‏95 KB
    vi_block.png ‏87 KB

Maybe you are looking for

  • Hide Buttons for Business Partner - CRM 5.0

    Hi,     I am trying to implement roles in CRM 5.0. I want some buttons like "Create person" and "Create Group" to be hidden for a certain user. I have used the Object B_BUPA_RLT but still it is not working. Any suggestions ? Regards Raj

  • Problem with app (F110)

    Hi all, When I am running APP  F110 all the invoices are coming gin exception list only, And cheques r not creating and letters r not coming . can any one tell me the reason and solution please. Regards, Mahesh

  • Shared Review - Network Drive - Acrobat X PRO problem [Urgent]

    Hello, We have a licensed genuine product of Adobe Acrobat X PRO in a company. When user is using shared review pdf on network drive ; sending as attachment works normally, sending as message (with a path to the network drive) it says an error (profi

  • Advice for batch of viruses (3days in a row)

    Hi, We've been hit 3 days in a row with the same virus (variant). First day it was: wire-confirm0120.src (can't remember the name of the zip file) trans_completed6341289_pdf.zip fax-message921497.zip I'm sure we will get hit tomorrow as well and i'd

  • HT204017 Email issues after the latest update

    I updated to the latest yosemite update yesterday and it caused email issues.  I can receive emails but when I create and send emails, they just sit in my outbox.  Any ideas or suggestions?  Is there a way to revert back to the previous version of yo