Currently, the get_visa_device code assumes that all connected devices are valid and will return a valid name when queried with the '*IDN?' command. This is not always going to be the case, especially on computers where there are lots of instruments plugged in. This should be rewritten to be as general as possible, and ignore all devices that give errors like:
VI_ERROR_RSRC_NFOUND
Timeout errors (more than once, move on to a new device)
Currently, the get_visa_device code assumes that all connected devices are valid and will return a valid name when queried with the '*IDN?' command. This is not always going to be the case, especially on computers where there are lots of instruments plugged in. This should be rewritten to be as general as possible, and ignore all devices that give errors like: