pyvisa / pyvisa-py

A pure python PyVISA backend
https://pyvisa-py.readthedocs.io
MIT License
282 stars 120 forks source link

Read multiple scopes in one script #328

Open MaximLMC opened 2 years ago

MaximLMC commented 2 years ago

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?"))