View Single Post
  #1   Spotlight this post!  
Unread 19-04-2016, 17:02
MasterEric's Avatar
MasterEric MasterEric is offline
Bacon. 'nuff said.
AKA: Eric Myllyoja (E2)
FRC #2137 (Oxford Robocats)
Team Role: Programmer
 
Join Date: Dec 2012
Rookie Year: 2013
Location: Oxford High School
Posts: 64
MasterEric is an unknown quantity at this point
Can you programically retrieve match number?

Put this under general programming since this is somewhat of a platform-independent question, but I specifically use LabVIEW.

I was looking through the methods to retrieve information from the Driver Station, and found some cool ones to retrieve connection status, robot status, even alliance position and color (Blue 3, Red 2 etc.). These are extremely useful for the purpose of logging, knowing whether you are connected to the field, knowing which log is which, and so on.

My question is whether the current match number can be retrieved as well. I did not find a VI for it, and I couldn't open up the alliance position VIs to see how they worked (they just run a method in a DLL file somewhere). However, match number is broadcast to driver stations, as shown by this documentation page (scroll down to "Identifying Logs from Matches").

I'd love to know if anyone's done this before or can help me find a solution or workaround.
Reply With Quote