View Single Post
  #40   Spotlight this post!  
Unread 11-03-2012, 14:07
PSHRobotics PSHRobotics is offline
Registered User
FRC #1182
Team Role: Programmer
 
Join Date: Feb 2010
Rookie Year: 2008
Location: Missouri
Posts: 38
PSHRobotics is an unknown quantity at this point
Re: Transmitting data to the cRIO from the Driver's station via TCP/UDP

Quote:
Originally Posted by Greg McKaskle View Post
I glanced through the forum posts, but couldn't find how you are doing the UDP. Where was it running? Make sure you build and Run as Startup so that you are running the new code. The behavior shouldn't change between the debug-run and the build-run.

If you don't figure it out, post the code or pictures of it.

Greg McKaskle
Thanks for taking the time to respond. I have added pictures because I am not really sure what we are doing wrong. The robot receive code is in the periodic tasks vi and the dashboard send is in the dashboard main vi.
Right now the image processing is in the same loop as the udp send, but we did separate it from this loop to check if that was slowing down the code, but there was no difference in effect.

Again, the problem is that when we "run as startup" we get enough watchdog errors to make the robot essentially undrivable.


Edit: forgot to note the "larger" sized photo is the send and the smaller is the recieve
Attached Thumbnails
Click image for larger version

Name:	dashboard send.JPG
Views:	44
Size:	47.7 KB
ID:	12277  Click image for larger version

Name:	robot receive.JPG
Views:	46
Size:	43.4 KB
ID:	12278  

Last edited by PSHRobotics : 11-03-2012 at 16:53.
Reply With Quote