Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Get mac address of cRIO

Hello,

I am looking for a fast way to get the mac address of a cRIO where an application is currently running on. I know that there is a VI that can get all mac addresses of controllers in a network including the calling controller but this seems to be to slow for my purpose. I simply need the mac address of the current cRIO. Is there a fast way (VI or call inside a DLL/CIN) that will provide the mac address?

Thank you,

Christian
Message 1 of 2
(3,991 Views)

You were almost there.. You can use Ping Controllers to just get back a single controller's information.  It will be very fast since it can use a direct connection to just that target rather than having to ping the entire subnet.  I've attached a sample VI to illustrate how this works.

 

Message 2 of 2
(3,960 Views)