I am trying to use an LPD3806 rotary encoder with a 1608G DAQ. I have been able to use the counter pins to get and count the Phase A and Phase B pulses from the encoder, however, I cannot figure out how to get the direction of the encoder (whether it's rotating clockwise or counterclockwise). The main issue is that I cannot find a way to get the readings of both channels (from the encoder) simultaneously. Whenever I try to run the c_in_scan function (part of the MCC python API), I get an error stating that the 1608G DAQ does not support the use of c_in_scan. Hence, I cannot get synchronous readings from the encoder.
Question
Mitesh
Hello,
I am trying to use an LPD3806 rotary encoder with a 1608G DAQ. I have been able to use the counter pins to get and count the Phase A and Phase B pulses from the encoder, however, I cannot figure out how to get the direction of the encoder (whether it's rotating clockwise or counterclockwise). The main issue is that I cannot find a way to get the readings of both channels (from the encoder) simultaneously. Whenever I try to run the c_in_scan function (part of the MCC python API), I get an error stating that the 1608G DAQ does not support the use of c_in_scan. Hence, I cannot get synchronous readings from the encoder.
Any help would be appreciated.
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now