Help with setting up Python SDK (Picoscope 5242D)

Come here to introduce yourself, who you are, and what you do
Post Reply
tommytai
Newbie
Posts: 1
Joined: Tue Mar 12, 2024 12:05 am

Help with setting up Python SDK (Picoscope 5242D)

Post by tommytai »

Hi, I am a new user to Picoscope and the Python SDK wrapper. I tried to follow https://github.com/picotech/picosdk-pyt ... /README.md as much as possible, but still received errors, that are frequently encountered in the forums. Even after combing through the possible solutions, none seems to have worked.

I would be grateful if someone could help assist me.

The problems I have are:

1. When testing "from picosdk.discover import find_all_units", I received "AttributeError: 'Ps6000alib' object has no attribute 'DEFAULT_RESOLUTION'"
2. When running any of the PS5000A examples, I received "picosdk.errors.PicoSDKCtypesError: PicoSDK returned 'PICO_NOT_FOUND'"

Thanks for help!

bennog
Advanced User
Advanced User
Posts: 208
Joined: Mon Nov 26, 2012 9:16 am
Location: Netherlands

Re: Help with setting up Python SDK (Picoscope 5242D)

Post by bennog »

The 6000 version libs are gone do nothing for you.
I am not sure if you need the 5000 or the 5000a library's
My guess would be the 5000a because the 5242D is fairly recent.

O and when running your examples the picoscope software must be closed (not running at all)


Benno

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

Re: Help with setting up Python SDK (Picoscope 5242D)

Post by Martyn »

I would suggest running the ps5000a examples directly and not using the discover driver function

https://github.com/picotech/picosdk-pyt ... 0aExamples
Martyn
Technical Support Manager

Post Reply