I cloned the picosdk-python-wrappers and followed the installation instructions.
PicoSDK (64-bit) - installed
setup picosdk python module - successful
My system:
Windows 10 enterprise, 64-bit operating system
Python3.9.13 64-bit - preinstalled
I tryed multiple examples (e.g. block.py from the folder anyScopeExamples) from picosdk-python-wrappers without success. I often get the error messages: ERROR: Cannot load library picoipp.dll followed by a bunch of problems. For example:
ERROR: Cannot load library picoipp.dll
ERROR: Cannot load library picoipp.dll
ERROR: Cannot load library picoipp.dll
ERROR: Cannot load library picoipp.dll
Traceback (most recent call last):
File "c:\Users\User1\Desktop\test_dev_python\block.py", line 9, in
with find_unit() as device:
File "C:\Users\User1\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\picosdk\discover.py", line 34, in find_unit
device = driver.open_unit()
File "C:\Users\User1\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\picosdk\library.py", line 134, in open_unit
return Device(self, self._python_open_unit(serial=serial, resolution=resolution))
File "C:\Users\User1\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\picosdk\library.py", line 146, in _python_open_unit
handle, status = self._python_open_any_unit(resolution)
File "C:\Users\User1\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\picosdk\library.py", line 163, in _python_open_any_unit
resolution = self.DEFAULT_RESOLUTION
AttributeError: 'Ps6000alib' object has no attribute 'DEFAULT_RESOLUTION'
I tryed it with/without installed PicoScope 6 and connected PicoScope 5444D MSO.
Is the problem known or can someone help? Thanks a lot in advance...