View Single Post
  #7   Spotlight this post!  
Unread 30-01-2009, 11:49
adamdb adamdb is offline
Registered User
#1583
 
Join Date: Feb 2005
Location: Parker, CO
Posts: 64
adamdb has a spectacular aura aboutadamdb has a spectacular aura aboutadamdb has a spectacular aura about
Re: DIO not working in autonomous.

Greg,
We did use the execution highlighting and did not see any errors (a previous version of the code passed the error signal through so we could look at it).

Phil,
If you look at the datasheets, the GPIO lines have a 10K pullup resistor. I did verify with a multi-meter that this was the case and that closing and opening the switch made the voltage at the signal line do what we expected. I also verified that NONE of the signal lines (set as outputs) changed output voltage when expected, so I don't think we have a numbering issue.

We also at one point added a switch to our Labview control panel and connected it to the LED and on-screen LED indicator. The on-screen indicator turned on and off just like expected, but the voltage didn't change on any of the GPIO signal lines.


Thanks all for the great suggestions. I know there must be one of those "Duh" things that we are doing wrong somewhere, but I sure can't see it yet.

Thanks,
__________________
Adam Bryant
Programming Mentor
Team 1583
Ridge View Academy Rambotics
Reply With Quote