LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

IP address not used correctly at RT Ping Controllers.vi

It seems to me that the IP address provided to RT Ping Controller.vi and RT Reboot Controller is not used correctly.

What I do is: Set the Subnet flag true and give a numerical IP adress to RT Ping Controller.vi

What I get is the controller information for the controllers on the subnet, even if the IP does NOT match.

Why do I do this? I want to acquire the MAC of the controller specified by the IP to use it for the reset vi.

What I do second is: Set the subnet flag true and give an IP address to RT Reboot Controller.vi and provide a MAC address. The IP address does not match to the controller with the MAC given. The controller with the MAC reboots, independent of having a different IP.

What is going
on here and how can I get the correct MAC for an IP easily (i.e., without looking it up in MAX and typing it in somewhere)?
0 Kudos
Message 1 of 2
(3,126 Views)
Try setting the Local Subnet value to FALSE and pass in the IP you want to ping. You should get just details back on the target you specified, including it's MAC address. If the IP isn't a valid RT target, you will get an error.

When Local subnet is set to TRUE, it will attempt to ping all controllers on the local subnet (regardless of the IP address passed in)--requiring you to search the resulting array for the IP you are interested in (and yep.. it might not be there).
0 Kudos
Message 2 of 2
(3,126 Views)