Obtain data in the milliseconds/seconds time range using 5242D via Python

Come here to introduce yourself, who you are, and what you do
Post Reply
saiprashanth
Newbie
Posts: 1
Joined: Mon Apr 26, 2021 6:27 am

Obtain data in the milliseconds/seconds time range using 5242D via Python

Post by saiprashanth »

Hi all,

I am new to the picoscope API environment and need some help inorder to get data of larger time scales rather than the nano second scale from the Picoscope 5242D oscilloscope using Python. I have tried tweaking few parameters in the ps5000aStreamingExample.py from the Github page.

It would be a great help if someone can guide me as to what parameters in the example code have to be tweaked in order to get data in the timescales of milliseconds and seconds.
I have connected the scope via a USB3.0 port. As of now I am only getting data in the nanosecond regime even after tweaking the following part of the code:

Code: Select all

# Size of capture
sizeOfOneBuffer = 500
numBuffersToCapture = 10
Any advice or help would be really helpful. I have attached the data plot from the picoscope software which I want and the one obtained via Python programming. How can I get the similar data from Python programming?

Thank you in advance
Prashanth
Attachments
Plot from Python
Plot from Python
Plot obtained from Picoscope 6 Software
Plot obtained from Picoscope 6 Software

Post Reply