![]() |
Get cRIO device name?
The imaging tool allows you to assign a name to a cRIO. Does anyone know how to access this name? Would gethostname be appropriate? I'm interested in discerning between the practice and competition bots.
Thanks. |
Re: Get cRIO device name?
Yes, you can get the host name by:
Code:
#include <hostlib.h> |
Re: Get cRIO device name?
We use the IP address to discern between practice and competition robots.
|
Re: Get cRIO device name?
We've used a jumper on a Digital Input, to ground - present on one bot and absent on the other, reading 0 and 1, respectively.
|
| All times are GMT -5. The time now is 13:36. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi