View Single Post
  #8   Spotlight this post!  
Unread 15-02-2010, 00:37
Unsung FIRST Hero
Mike Betts Mike Betts is offline
Electrical Engineer
no team
Team Role: Engineer
 
Join Date: Dec 2001
Rookie Year: 1995
Location: Homosassa, FL
Posts: 1,442
Mike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond repute
Re: Limit Switch Draws Tears

Quote:
Originally Posted by z2daj View Post
... Dig1 = new DigitalInput(1, 1);`...
In your original post you state that the swich is wired into input 4 on the digital sidecar. And, as Alan pointed out, the cRIO digital module should be plugged into slot 4.

Therefore, I would guess that the statement above should be

Dig1 = new DigitalInput(4, 4);

Or am I missing something?

Regards,

Mike
__________________
Mike Betts

Alumnus, Team 3518, Panthrobots, 2011
Alumnus, Team 177, Bobcat Robotics, 1995 - 2010
LRI, Connecticut Regional, 2007-2010
LRI, WPI Regional, 2009 - 2010
RI, South Florida Regional, 2012 - 2013

As easy as 355/113...