I am currently trying to write a python script to capture picoscope data and automatically calculate some duty cycles. I am using the PicoSDK Python Wrappers from the github, https://github.com/picotech/picosdk-python-wrappers.
I have followed the installation instructions and have installed the picosdk folders, as well as ran the setup.py listed in the instructions. I made sure my bit versions matched also.
I am trying to run the ps3000aExamples before working on my own project. However, I cannot get any examples to work.
Running the ps3000aBlockExample.py gives me an error of
"File 'ps3000aBlockExample.py', line 22, in
assert_pico_ok(status["openunit"])"
"File 'C:\Python27\lib\site-packages\picosdk\functions.py", line 160, in asswert_pico_ok raise PicoSDKCtypesError("PicoSDK returned '{}'".format(PICO_STATUS_LOOKUP[status]))
picosdk.errors.PicoSDKCtypesError: PicoSDK returned 'PICO_INTERNAL_ERROR'
My Picoscope 3504 is connected and works with the Picoscope software. Has anyone run into this issue or know how to fix it? Thanks in advance!
I managed to fix the issue somehow! I reinstalled the whole package and made sure to restart my computer after running the setup.py script and it seemed to have fixed it. Not sure what went wrong but thank you for replying anyways.