|
How to identify cRIO?
Is there a way to identify the cRIO that Java is running on? Our robot code needs a little tweaking based on whether or not it's running on the competition bot, the practice bot, or the mule board....
In Labview we could get a bundle that had the name, serial #, and mac address, as I recall. I see the kRioSerialNum constant in com.ni.rio.NiRioConstants, but have no idea what method I would feed it to....
I know I can lay a file down on the cRIOs to identify them (either just for this, or as part of a Preferences object), but prefer something that I don't have to (remember to) redo after a cRIO format or reimage.
|