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.