PICO_NOT_FOUND error on Linux with Python

Forum for discussing PicoLog
Post Reply
Victor_Helium
Newbie
Posts: 0
Joined: Wed Jan 12, 2022 8:36 am

PICO_NOT_FOUND error on Linux with Python

Post by Victor_Helium »

Hello,
I am currently using Picolog 1216 on a Linux computer. Everything was working fine for the last 2 months but since a few days, we are not able to connect to the picolog anymore.

I am running the simple code from https://github.com/picotech/picosdk-pyt ... Example.py

The issue appears when one asserts the pico, line 20 of the github code (assert_pico_ok) :

Code: Select all

Traceback (most recent call last):
  File "", line 20, in 
    assert_pico_ok(status["openUnit"])
  File "/home/victor/.local/lib/python3.8/site-packages/picosdk/functions.py", line 160, in assert_pico_ok
    raise PicoSDKCtypesError("PicoSDK returned '{}'".format(PICO_STATUS_LOOKUP[status]))
picosdk.errors.PicoSDKCtypesError: PicoSDK returned 'PICO_NOT_FOUND'
Do you have an idea of how I could fix that ?

Thank you very much,

Post Reply