Go to Post FRC is not worth giving up your grades. - Gregor [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 28-01-2014, 20:16
fovea1959's Avatar
fovea1959 fovea1959 is offline
Herder of programmers
AKA: Doug Wegscheid
FRC #3620 (The Average Joes)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2011
Location: St Joseph
Posts: 325
fovea1959 will become famous soon enough
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.
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 08:39.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi