Can I handle PICO 5444D in python?

Having problems ? let us know the details here
Post Reply
duddj707
Newbie
Posts: 1
Joined: Fri May 26, 2023 9:34 am

Can I handle PICO 5444D in python?

Post by duddj707 »

Hello, I would like to get samples of voltage level over time.
I'vs got downloaded the example code from the git.
and followed the instructions like "Installing the python driver bindings".
then, tried to execute

import ctypes
import numpy as np
from picosdk.ps5000 import ps5000 as ps
import matplotlib.pyplot as plt
from picosdk.functions import adc2mV, assert_pico_ok, mV2adc

# Create chandle and status ready for use
chandle = ctypes.c_int16()
status = {}

# Open 5000 series PicoScope
# Returns handle to chandle for use in future API functions
status["openunit"] = ps.ps5000OpenUnit(ctypes.byref(chandle))
assert_pico_ok(status["openunit"])

and got this error.

raise PicoSDKCtypesError("PicoSDK returned '{}'".format(PICO_STATUS_LOOKUP[status]))
picosdk.errors.PicoSDKCtypesError: PicoSDK returned 'PICO_NOT_FOUND'


My environment:
PicoScope: 5444D-034
Windows 10, 64 bits
Python 64 with Python v3.11
-PicoSDK_64_10.7.24.276

Following below code, my driver applied is picosdk.ps5000a.Ps5000alib

UnitInfo(driver=, variant=b'5444D/034', serial=b'HX540/0040')

from picosdk.discover import find_all_units
scopes = find_all_units()

for scope in scopes:
print(scope.info)
scope.close()

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

Re: Can I handle PICO 5444D in python?

Post by Martyn »

Your device uses the ps5000a driver so you need to look at the ps5000a examples

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

Post Reply