I'm trying to use an absolute shaft encoder with an NI MyDAQ. I'm powering the encoder using the 5VDC pin on the DAQ. Does the ground pin--AGND vs. DGND--I connect the shaft encoder to matter?
I started with the DGND since I was powering the encoder with DC, but my angle reading steadily "floated" down. For example, I would initially read a angle max of "-170" and an angle "min" of -130. However, the two extremes would then begin to float down to -171 and -131, -172 and -132, -173 and -133, and so on.
I switched over to AGND, but I experienced the same phenomenon. I realize my problem is independent of ground pins, but I'd like to know which GND pin is the correct pin for my application or if it truly doesn't matter.