Can't run find_all_units() from picosdk.discover (ERROR: Cannot load library picoipp.dll)

Post general discussions on using our drivers to write your own software here
Post Reply
leo.lim
Newbie
Posts: 0
Joined: Tue Apr 18, 2023 12:51 pm

Can't run find_all_units() from picosdk.discover (ERROR: Cannot load library picoipp.dll)

Post by leo.lim »

Hi everyone,

I already looked around for such a problem, but it seems no one already solved it.
I successfully installed PicoScope 7 T&M and PicoSDK packages on my Windows 10 machine for my PicoScope 4424A device.
The problem arises when I run the testing python code (found it at https://github.com/picotech/picosdk-python-wrappers)

Code: Select all

from picosdk.discover import find_all_units

scopes = find_all_units()
it returns the following

Code: Select all

Python 3.11.3 (tags/v3.11.3:f3909b8, Apr  4 2023, 23:49:59) [MSC v.1934 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from picosdk.discover import find_all_units
>>> scopes = find_all_units()
ERROR: Cannot load library picoipp.dll
ERROR: Cannot load library picoipp.dll
ERROR: Cannot load library picoipp.dll
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 "", line 1, in 
  File "C:\Users\llimongi\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\picosdk\discover.py", line 51, in find_all_units
    raise DeviceNotFoundError("Could not find any devices on any drivers.")
picosdk.errors.DeviceNotFoundError: Could not find any devices on any drivers.
Anyhow, if I open the PicoScope 7 exe file it sees my device, and it is able to correctly control it as well.
I further specify that I only ran one program at a time, that is the python code and the PicoScope program, as I already know that the device can only be controlled by a program at once.
I couldn't find any solution nor by myslef nor online, and I hope someone here will be able to help me.
Thanks in advance to whom will answer :)

Leonardo

Post Reply