|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
Re: How to change module slots in code
This year the modules MUST stay in their original slots :
Analogs in 1 and 2 Digitals in 4 and 6 Solenoid in 8. They should not be moved around ![]() Analog Module 1 (Slot 1) must be installed to enable battery voltage monitoring. Digital Module 1 (Slot 4) must be installed and connected to Digital Sidecar for the Robot Status Light to be attached. Rest of the modules are optional if a team is not using them. |
|
#3
|
|||
|
|||
|
Re: How to change module slots in code
Thanks!
-Matt |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to build a VEX programming module | bblack7489 | FIRST Tech Challenge | 78 | 09-06-2011 16:03 |
| how do i change the db? | explodingcan | 3D Animation and Competition | 3 | 15-02-2008 18:35 |
| How to make vex programming module | Eisner664 | General Forum | 2 | 20-04-2006 19:00 |
| how to convert Easy C code into real code? | TheHolyLancer | Programming | 1 | 29-01-2006 09:09 |
| How do I change my gallery picture? | MarkF | CD Forum Support | 2 | 26-03-2003 10:26 |