|
Re: how to identify roboRIO
That's a better idea than our thought of going off the roboRIO id. Doing it your way, if we have to swap roboRIOs, then we don't need to touch code, just make sure the "I am a test chassis" jumper is NOT in place. When I read this, I first thought of putting a "I am the competition chassis" jumper in place, but if the jumper got lost, then we'd lose time making up one at a competition, so "I am a test chassis" it is. I suspect we'll have enough DIO to get us by....
My curiousity *is* piqued, though, so if anyone has a way to do it, I'm interested. I remember that it was possible to pull the serial number from LabVIEW. I suspect they never put the appropriate 'hook' into wpilibj to expose that functionality, though I suspect a clever person with the right documentation could pull it off using HALUtil and friends....
Last edited by fovea1959 : 18-01-2015 at 11:40.
|