Go to Post This is one area where you want an old hand in the room to show you how to work on this thing. .... If you survive it, electricity hurts really bad. - ebarker [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT -5. The time now is 18:13.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi