Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Should the encoder example work right out of the box? (http://www.chiefdelphi.com/forums/showthread.php?t=82316)

joecap5 10-02-2010 00:49

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?

Joe Ross 10-02-2010 00:55

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.

joecap5 10-02-2010 01:11

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.

joecap5 10-02-2010 08:54

Re: Should the encoder example work right out of the box?
 
I'm using the example Labview encoder vi.

Alan Anderson 10-02-2010 10:48

Re: Should the encoder example work right out of the box?
 
Quote:

Originally Posted by joecap5 (Post 916928)
Both signals are wired. We tried three different encoders and all three have the same problem.

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?

joecap5 10-02-2010 19:41

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.

joecap5 12-02-2010 00:48

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.


All times are GMT -5. The time now is 11:54.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi