Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

quadrature encoder read

Hi.
I'm a new user to labview, so try to be as soft as possible.
I want to control an electric motor(24v, 3I) via labview.
I use labview 6i(budget,budget) and a pci6024e board.
I have a quadrature encoder connected to the motor and I've build
the pid vi to control it.
1.what is the best way to connect the encoder?
i have tried to use software counters, with no luck so far.
2. I need to find a way to build a vi that can give me the response of a known transfer function to a pulse.is there a vi example or do I need to build it by solving the DE?

Thank you
ran
0 Kudos
Message 1 of 2
(2,995 Views)
Hi Ran,

There are a few examples of either counting digital pulses on your quadrature encoder, or measuring the revolution frequency (frequency measurement). Depending on your application you will need to connect your device to your E series card to either the gate (frequency, period and time measurements) or the source (simple event counting) of the counters. These are decribed clearly in the E Series Help File. http://digital.ni.com/manuals.nsf/websearch/0E0DFDBB7706687A86256F6300560584?OpenDocument&node=10968_US

In addition, we have a few examples and tutorials on this website. You can simply make quick searches with the few key words i have just mentionned.

You also have to make sure that the signal coming out of your encoder is in the appropriate format (5V digital). In some cases, you would need a voltage divider.

As for the second question, I would need some clarification. You can definately process the information you have acquired in any way you want. You can search for our VIs by selecting the search button in the function pallette. Most data processing VIs are for analog signals.

Best regards,

Nathan Yang
_______________
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,984 Views)