You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using several USB to serial devices. I want to recognize them before connecting (via pyvisa-py). To do that I use the following code:
deffind_device_VISA(vid=None, pid=None, vendor=None, serial=None,
fmt='ASRL{}::INSTR'):
'''Find a USB to serial converter and format VISA identifier'''tty=find_port.list_devices(vid=vid, pid=pid, vendor=vendor,
serial=serial)[0][3]
returnfmt.format(tty)
I am using several USB to serial devices. I want to recognize them before connecting (via pyvisa-py). To do that I use the following code:
Where find_port is in the package: https://github.com/vascotenner/usb-ser-mon/tree/package
Can Lantz provide a more familiar way? Should this be included in lantz? How?
The text was updated successfully, but these errors were encountered: