I have a project where I am usually connected to the T7 by USB, but I need to know if a network is present on the Ethernet jack. Is there a command to see if the Ethernet port is connected without actually opening an Ethernet port? Basically see the connection status of the phy, IE are the lights on the jack flashing.
I know the LabJack is using Microchip microcontrollers, and I assume they are using the Microchip Ethernet Stack and phy drivers. If so there is a command to see if the phy is connected that can be used to see if it is plugged into a switch, even if no connection to the stack is made. If that is accessible through any of the commands, that would be perfect.
I don't need to communicate with the Ethernet, just know if it is plugged in.
Thanks,
John Vickers
I suggest you read ETHERNET_IP and see if it returns what looks like a valid IP:
https://labjack.com/support/datasheets/t7/ethernet
That method works, I figured it out just a few minutes after posting the response. To anyone else looking to do something like this, the LabJack reports and IP of 0.0.0.0 when no network connection is available.
John Vickers