How do you find out if a comm port is already in use before you switch to that port. I am using a script that switchs between many different piece of equipment, and I would like a way to find out if the port is already in use before the script tries to switch and hangs on port already in use.
Thanks
Thanks