![]() |
PWM inputs
1 Attachment(s)
We seem to not be able to get this encoder to give us a PWM value. It's a MEA3 magnetic 360 degree absolute encoder. It is wired correctly. Does it need to have a jumper like the PWM output? And how can I read this PWM signal? I'm not sure on what to do! :(
|
Re: PWM inputs
can you post code of both opening and reading (begin and periodic/teleop)
|
Re: PWM inputs
Sorry I went to bed, but we also completely scrapped the code because for some reason there is no way to not save in labview..... UGH
|
Re: PWM inputs
1 Attachment(s)
Here is the code we have. We eventually will hook this up to functions but for now, we just need it to give us feedback. And based on the encoder, does it need to be seated completely back into the housing? Here is a link to the datasheet... which is terribly written on how the thing actually goes together...
http://www.usdigital.com/assets/gene...atasheet_1.pdf |
Re: PWM inputs
The Encoder functions you are using are not PWM functions (measured pulse).
They are Digital input functions (on/off). I'd try the Analog output from that encoder instead. Quote:
|
Re: PWM inputs
Quote:
And is there a way to measure the time on or off and then treat it as the angle? |
Re: PWM inputs
Experimentation is necessary.
Some ideas in this thread. |
| All times are GMT -5. The time now is 11:19. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi