View Single Post
  #1   Spotlight this post!  
Unread 03-02-2009, 22:34
manderson5192 manderson5192 is offline
Registered User
AKA: Matt Anderson
FRC #0948 (Newport Robotics Group: NRG (pronounced eNeRGy))
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Bellevue, WA
Posts: 62
manderson5192 is on a distinguished road
How to change module slots in code

Hey guys,

Whenever the electrical team moves the modules around in the cRIO and doesn't put them back where they go, our software runs into a problem. Basically, the console output talks about mis-allocated ports for each of the modules in the cRIO (this makes sense). It also seems to shut down all the outputs from the system (PWMs, digital, etc).

I tried calling the SetDefaultDigitalModule function from SensorBase.cpp, but that didn't seem to do the trick.

I'm clearly missing something. Has anyone gotten this to work?

Thanks,
-Matt
Reply With Quote