|
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
|