PicoScope 7 Software
Available on Windows, Mac and Linux
Code: Select all
from picosdk.ps2000a import ps2000a
import ctypes
no_of_devices = 2
for i in range(no_of_devices):
ps2000a.ps2000aCloseUnit(ctypes.c_int16(16384 + i))
markku wrote: ↑Sat Jul 04, 2020 11:34 amHi!
Should the following work for multiple 2405a devices on Raspberry Pi 4 (Buster, 4.19.118-v7l+) / Python 3.8:
For me, it returns 12 for both devices and the one device that was unresponsive "pico not found" stays that way.Code: Select all
from picosdk.ps2000a import ps2000a import ctypes no_of_devices = 2 for i in range(no_of_devices): ps2000a.ps2000aCloseUnit(ctypes.c_int16(16384 + i))
Thanks!