Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

Learning how to use a quadrature encoder

Solved!
Go to solution
Here is my first post....
 
My question involves use of NI cDAQ 9411 and a Unimeasure TTL encoder.  This is all very new to me, actually my first endeavor. First off, I am wanting to veryify my pinout connections, I have tried a few configurations based on the help topics I have reviews.  I am unsure if the Ao and B0 channels need to be connected?  I am using the encoders to build up a deflection / load measurement system.  I have seem mutltiple ways to hook these things up.  (The pinout of my devices are in the attached PDF document)
 
Also, I am curious if there are any tutorials specifically for the NI9411 and an encoder.  I have been trying to use signal express, but I keep getting "Clock" errors.  I have not got  to the point to actually see counting or measuring when I pull on the encoder string.  Perhaps there is a good tutorial explaining the use of clocks? 
 
Thanks! 
0 Kudos
Message 1 of 4
(5,413 Views)
See pages 9, 11 and 13 of the user manual.
A0 and B0 are the inverted signals of A and B and are useful in noisy environment or in the case of long cables. The user manual shows both wirings.

I would suggest to first test the wiring with MAX (Measurement and Automation eXplorer).
0 Kudos
Message 2 of 4
(5,403 Views)

JB,

Thank you for your reply.  I am going to go through my hookups again, I will then use the MAX to check verify my wiring.

0 Kudos
Message 3 of 4
(5,402 Views)
Solution
Accepted by topic author jwolf

After many hours of searching and help I found a solution to the issue.  The issue had to deal with providing an external power source to the 9411 modules.  THe 9411 apparently could not power my 5 volt encoder.  Fortunalty, this was an easy fix.  Thanks!

 

My next question is in regards to using multiple encoders with my chassis.  I have been spending the day sorting though the various posts trying to sort through the best way to make this happen.  I am unsure if I should by using "Tasks" or if I should be using the Express DAQ Assistant.  I am using cDAQ 9172 and the 9411 modules in slots 5 and 6.  I would like to aquire continous information from the encoders.

 

I would appreciate any assistance.

 

Thanks! ~J

0 Kudos
Message 4 of 4
(5,111 Views)