Go to Post Gracious Professionalism, it's hard to describe, but I sure know when I'm not living up to it. - rsisk [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
  #3   Spotlight this post!  
Unread 02-26-2010, 11:39 AM
heydowns's Avatar
heydowns heydowns is offline
Registered User
AKA: Jeff Downs
FRC #1511 (Rolling Thunder)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Ra-Cha-Cha
Posts: 142
heydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond repute
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.
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
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


All times are GMT -5. The time now is 09:59 AM.

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