I have four scopes connected via USB and I would like to communicate with them at the same time using pyvisa so how can I check which one is connected and loops over them , thanks
import pyvisa
rm = pyvisa.ResourceManager()
rm.list_resources()
('USB::INSTR', 'USB2::INSTR', 'USB3::12::INSTR')
inst = rm.open_resource('usb::12::INSTR')
print(inst.query("*IDN?"))
I have four scopes connected via USB and I would like to communicate with them at the same time using pyvisa so how can I check which one is connected and loops over them , thanks import pyvisa rm = pyvisa.ResourceManager() rm.list_resources() ('USB::INSTR', 'USB2::INSTR', 'USB3::12::INSTR') inst = rm.open_resource('usb::12::INSTR') print(inst.query("*IDN?"))