View Single Post
  #6   Spotlight this post!  
Unread 19-04-2016, 23:54
scca229 scca229 is offline
FTA acquiring knowledge
AKA: Nate
FRC #0060
Team Role: Mentor
 
Join Date: Apr 2014
Rookie Year: 2011
Location: South of Phoenix, Arizona
Posts: 209
scca229 has a spectacular aura aboutscca229 has a spectacular aura about
Re: Can you programically retrieve match number?

Quote:
Originally Posted by MasterEric View Post
Apparently this method creates a TCP connection on port 1741 (at least for me) which then listens for requests; when one is received, it is sent through a local variable to the WPI_DashboardRetrieveStatusInfo.vi, where 10,000 bytes are read, then the data is sent to be processed by WPI_DashboardProcessTCPPacket.vi. It does some weird byte stuff that I can't for the life of me interpret, then it reads it, parses it, and passes it out through Power and Errors.

Would this work if I ported it to the robot, or are these port 1741 requests only sent to the dashboard?
The port 1741 part has me wondering if the robot would ever see it since that is not one of the ports that is white-listed through the FMS. Am I reading section 2.4 of the Game Manual correctly in this instance?
__________________
Nate
Reply With Quote