How can i detect if the ENET 485/2 device is active and i can connect to a port. When i request a connect, for example serial.open, and the ENET 485/2 is switched off, the detection time for testing if the port exist takes a long time.
Then i have to restart my computer when i want to connect it later, even when i had turned on the enet device by now.
What have i to do to prevent restarting my computer after a try to connect a enet device what is switched off?
Thanks so far.