View Single Post
  #8   Spotlight this post!  
Unread 10-02-2012, 17:20
plnyyanks's Avatar
plnyyanks plnyyanks is online now
Data wins arguments.
AKA: Phil Lopreiato
FRC #1124 (The ÜberBots), FRC #2900 (The Mighty Penguins)
Team Role: College Student
 
Join Date: Apr 2010
Rookie Year: 2010
Location: NYC/Washington, DC
Posts: 1,113
plnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond repute
Re: Sending Data from Dashboard to Robot?

Quote:
Originally Posted by Pirate programe View Post
Is there a flaw in the code somewhere? Do I need to adjust some settings somewhere?
I'm not sure about the code you posted; it looks fine to me - how do you open the connections?

I think the best way for you to tackle your problem is to use UDP and split the data up into multiple packets. For an example of this, look in Build DashBoard Data.vi (VI snippet attached). You see how it rotates through sending all the data in 50 iteration cycles. The first 15 send analog data, digital data is sent on 20 and 30, and solenoid data on 40. This process repeats, and that's how the dashboard sends lots of information over UDP.
Attached Thumbnails
Click image for larger version

Name:	build db data.png
Views:	47
Size:	105.1 KB
ID:	11841  
__________________
Phil Lopreiato - "It's a hardware problem"
Team 1124 (2010 - 2013), Team 1418 (2014), Team 2900 (2016)
FRC Notebook The Blue Alliance for Android
Reply With Quote