I am trying to set up communication with a 2204A, using Python 3.9 (64 bit) on Windows. I downloaded and installed the 64 bit PicoSDK, and I installed the GitHub python wrapper repo (https://github.com/picotech/picosdk-python-wrappers).
Following the Readme in that repo, I tried executing the verification code:
Code: Select all
from picosdk.discover import find_all_units
scopes = find_all_units()
for scope in scopes:
print(scope.info)
scope.close()
Code: Select all
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\Daniel Merthe\AppData\Local\Programs\Python\Python39\lib\site-packages\picosdk\discover.py", line 46, in find_all_units
device = driver.open_unit()
File "C:\Users\Daniel Merthe\AppData\Local\Programs\Python\Python39\lib\site-packages\picosdk\library.py", line 134, in open_unit
return Device(self, self._python_open_unit(serial=serial, resolution=resolution))
File "C:\Users\Daniel Merthe\AppData\Local\Programs\Python\Python39\lib\site-packages\picosdk\library.py", line 146, in _python_open_unit
handle, status = self._python_open_any_unit(resolution)
File "C:\Users\Daniel Merthe\AppData\Local\Programs\Python\Python39\lib\site-packages\picosdk\library.py", line 163, in _python_open_any_unit
resolution = self.DEFAULT_RESOLUTION
AttributeError: 'Ps6000alib' object has no attribute 'DEFAULT_RESOLUTION'
Any help would be greatly appreciated.