|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Should the encoder example work right out of the box?
I uploaded the encoder example code to the robot without any modifications. When we spin the encoder (4EP) the distance indicator continually jumps between .25 and 0.
Has anyone else had this problem? |
|
#2
|
||||||
|
||||||
|
Re: Should the encoder example work right out of the box?
It sounds to me like you only have have one of the encoder signals wired.
|
|
#3
|
|||
|
|||
|
Re: Should the encoder example work right out of the box?
Both signals are wired. We tried three different encoders and all three have the same problem.
We got them working last year. |
|
#4
|
|||||
|
|||||
|
Re: Should the encoder example work right out of the box?
I agree with Joe Ross. This is exactly the symptom you would get from an encoder opened as 4x with only one of the two phases attached. Can you tell us exactly how you have the encoder connected? Which wires go to which pins on the Digital Sidecar?
|
|
#5
|
|||
|
|||
|
Re: Should the encoder example work right out of the box?
I don't have it in front of me right now, but I believe I have the wires in the following order: brown red blue, ground power signal. These go into DIO 1. I have channel B, the yellow wire, going into DIO 2.
Thanks for the help. |
|
#6
|
|||
|
|||
|
Re: Should the encoder example work right out of the box?
So after days of trying to figure this out we finally found the problem.
One of the CRIO modules is broken, but just a little. It does everything except read the DIOs. So we swapped it out and now everything works. |
|
#7
|
|||
|
|||
|
Re: Should the encoder example work right out of the box?
I'm using the example Labview encoder vi.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Can't run BuiltInDefaultCode out of the box? | whytheheckme | Java | 14 | 18-01-2010 01:19 |
| Out of the Box Camera Code | russell | Programming | 9 | 21-10-2009 05:28 |
| Need a little help with how to break out of the box | amateurrobotguy | Programming | 6 | 16-01-2006 12:56 |
| Out of the box Fundraising... | trollin1st | Fundraising | 10 | 15-09-2005 19:50 |