View Single Post
  #1   Spotlight this post!  
Unread 19-01-2015, 20:01
tcjinaz tcjinaz is offline
Tim
FRC #3853
Team Role: Mentor
 
Join Date: May 2011
Rookie Year: 2011
Location: Arizona
Posts: 206
tcjinaz has a spectacular aura abouttcjinaz has a spectacular aura about
Simulator Encoder problems

I'm baack!

We're trying to hook up the encoders on the robot simulator. Just getting in the code in Begin, then trying it, results in this error in a popup on the DS (see EncoderErrror.PNG). Code is in BadEncodder.PNG. Code was copied from the ecoder exaple, with the controls converted to constants.

Sim runs OK with with this code diabled. I tried these combinations of DIO's 3,4; 5,6; 0,1; 1,2. Same error every time.

Any ideas? We're having an awful time putting a program onto a 4slot cRIO that has been constructed similarly. Keep getting the dreaded waiting for robot to respond.

TIA,
Tim
Attached Thumbnails
Click image for larger version

Name:	EncoderErrror.PNG
Views:	29
Size:	100.6 KB
ID:	17902  Click image for larger version

Name:	BadEncodder.png
Views:	23
Size:	32.6 KB
ID:	17903  
__________________
Software Mentor
3853 Pridetronics[

Reply With Quote