08-05-2007 09:33 AM
08-06-2007
11:52 AM
- last edited on
09-30-2025
02:01 PM
by
Content Cleaner
Hi Xiaofei,
Our 6062E DAQ cards can be used with either our DAQmx drivers or our older Traditional DAQ (Legacy) drivers. The example that I've provide below is for use with our DAQmx driver set. If you’re using Traditional DAQ drivers I would recommend upgrading to our newest DAQmx drivers. You can click here for help determining what version of DAQmx works with your version of LabVIEW.
To do hardware timed quadrature encoder applications you will want to use the counters on your 6062E DAQ card. Click here for a guide to using quadrature encoders on E-series DAQ cards. Unfortunately, our E-Series cards do not support Z-indexing as described in the following developer zone tutorial: Quadrature Encoder / Position Measurement. However, you should be able to use your encoders without using Z-indexing. Each of your encoders will use one counter source and one digital line for your A and B inputs. The counters will count the edges of the A input while the digital line determines the direction (Up or Down). A good example can be in the example finder under the following location: (Help » Find Examples » Hardware Input and Ouput » DAQmx » Counter Measurements » Count Digital Events » Count Digital Events.vi). This example should give you a good start for use with encoder. You will just want to replicate the code for your additional encoder.
I hope this helps,
Paul C.