|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#3
|
||||
|
||||
|
Re: Check for Enhanced I/O
If you are using the "Enhanced I/O" mode (truly the enhanced mode, using the DriverStationEnhancedIO class) you can call DriverStationEnhancedIO::GetDigitalConfig() using any legitimate channel number. If the board is not present, it will return DriverStationEnhancedIO::kUnknown.
We had to do this when using the EnhancedIO, wrapping all our runtime EIO calls inside an "if" checking that the Cypress board was plugged in. Without that, repeatedly setting outputs/reading inputs through the DriverStationEnhancedIO would spam errors through to the Driver Station diagnostic window causing poor connectivity between DS and robot. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Analog Out on the Cypress PSoC (enhanced modeO | gokul | Programming | 5 | 02-23-2010 02:05 PM |
| 'Enhanced IO Missing' error | Ethan E | Java | 2 | 02-19-2010 10:51 PM |
| Power for system check | SciDKelly134 | General Forum | 3 | 02-16-2009 12:10 PM |
| Digitally Enhanced Scouting System, DESS | falconmaster | General Forum | 1 | 04-16-2007 01:05 PM |
| 842's "Digitally Enhanced Scouting System" | ChuckDickerson | General Forum | 6 | 04-06-2007 11:44 AM |