View Single Post
  #5   Spotlight this post!  
Unread 03-03-2010, 11:24
gokul gokul is offline
Registered User
FRC #0571
 
Join Date: Jan 2006
Location: CT
Posts: 25
gokul is an unknown quantity at this point
Re: Can we detect if PSoC is connected or not ?

Quote:
Originally Posted by Tom Line View Post
I know that in labview, if the board is not connected and you have error reporting turned on the first message you get on your user diagnostics screen is one reporting that there is an error or the board is not plugged in.

Since I believe that information is getting packaged up and sent from the robot, I'd wager you can unpackage it on the robot to check it against a string etc.

This is all in labview, however, and I'm not sure what language you're using. I haven't dug deeply into the pre-packaged error information, though I know you can see it in one of the clusters when running the code from your developement computer as well.
My first line says Windriver C/C++ so it is not Labview.

The error message is local to the driver station laptop - it is not coming from the robot (as Alan also points out).
Thanks