Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   General Forum (http://www.chiefdelphi.com/forums/forumdisplay.php?f=16)
-   -   Digital Side Car Ports Imput Problem (http://www.chiefdelphi.com/forums/showthread.php?t=89669)

pathogen4815 20-01-2011 17:21

Digital Side Car Ports Imput Problem
 
Allright, so we are programming our mechanum bot, and we have 4 sim motors and gearboxes, the digital sidecar and wires, the encoders, and Crio all hooked up. We are only getting encoder values on every other port on the digital side car (3,4 7,8 11,12) we replaced the wires, and the same thing happened. We cehcked the wires, and they are all working. We replaced the sidecar with a brand new one. We got the same pattern. So we replaced the Main Gray Cable that connects the sidecar to the module. Same thing..... We then replaced the actual modual. The same thing happened. We are stuck now. Anyone know what is wrong?:eek: We get a NAN reading on the ports that are not giving encoder values

zbanks 20-01-2011 18:09

Re: Digital Side Car Ports Imput Problem
 
How are you wiring them?

The red & brown cables are +5V/GND respectively, the blue/yellow are the only outputs. They're labeled A & B on the encoder housing.

(I'm guessing this is your situation since, if memory serves me correctly, red & brown are on the outside. Also, with 4 encoders, you should only need 8 inputs, not 16)

What language are you programming in? Are you using the built-in encoder class?

bls0620 20-01-2011 22:01

Re: Digital Side Car Ports Imput Problem
 
So I'm assuming you programmed all the DIO ports for the encoders? If not, you might want to recheck your program.


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

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