Ubuntu 20.04 Pico Api doesn't work

Post your Linux discussions here
Post Reply
Arek
Newbie
Posts: 0
Joined: Thu May 06, 2021 6:35 am

Ubuntu 20.04 Pico Api doesn't work

Post by Arek »

Hi,
I have PicoScope 6403E. I already installed you software and drivers with:

Code: Select all

sudo apt-get install picoscope
Your software connects with PicoScope and works fine, but problem is when i try to use API. I build your C example from github but when i try to run it shows:

Code: Select all

PicoScope 6000 Series Driver Example Program

Enumerating Units...
Picoscope devices not found
I also tried with your python example https://github.com/picotech/picosdk-pyt ... Example.py. Same result (PICO_NOT_FOUND):

Code: Select all

Traceback (most recent call last):
  File "example.py", line 20, in 
    assert_pico_ok(status["openunit"])
  File "/home/arek/.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'
Thanks for help!
Arek

Martyn
Site Admin
Site Admin
Posts: 4483
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Ubuntu 20.04 Pico Api doesn't work

Post by Martyn »

You need to use the ps6000a examples

https://github.com/picotech/picosdk-pyt ... 0aExamples

not the ps6000 ones, these are for older models.
Martyn
Technical Support Manager

Arek
Newbie
Posts: 0
Joined: Thu May 06, 2021 6:35 am

Re: Ubuntu 20.04 Pico Api doesn't work

Post by Arek »

Thank you for answer. It works for me in python. But my final application needs C/C++ wrappers and i cant find ps6000a for C/C++ here https://github.com/picotech/picosdk-c-examples there is only ps6000

Post Reply