Quote:
Originally Posted by bharrison6
I'm sorry I missed this earlier. Yes we want to decode it and use it rather than use analog because it will be more precise. I think all I need to do is figure out how to read the duty cycle of the PWM input. I know its not easy but I think it is supposed to be possible. Regardless if we can figure out how to do it then we just put a low-pass filter on it and run it as analog.
Since you ask, do you know how to decode the signal and if not will using a pwm w/ low pass filter effect the quality of the analog signal vs just buying a regular analog absolute encoder?
|
I just looked at Lab View and found the PWM Get Value function under the WPI -> I/O -> PWM -> Get Value. I am guessing I can't just plug the pwm into the digital side car can call this function since the Digital Side Car to my knowledge only outputs PWM, it can not read the PWM?