Four channel Real-time acquisition from Picoscope 5444D MSO

Post discussions on applications you are writing
Post Reply
subhashishdolai
Newbie
Posts: 0
Joined: Thu Apr 15, 2021 7:27 pm

Four channel Real-time acquisition from Picoscope 5444D MSO

Post by subhashishdolai »

Hi All,

I am trying to write a script that can do realtime data acquisition using Python. The problem I am seeing is that there is a time gap between successive data blocks I am capturing. I am using a sampling rate of 20 Msps with ADC bit resolution of 14 bit. Can you please suggest any method to do the real-time acquisition? Are there any available codes to do that?

Many Thanks

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

Re: Four channel Real-time acquisition from Picoscope 5444D MSO

Post by bennog »

You need to use streaming mode for this, if you don't want the gaps.

Also 20Msps is 40MB/sec per channel, so 160MB/sec (that is bytes not bits). I personally think python is not fast enough to process this amount of data.
Even if you write this direct to an SSD maybe you can pull this off with python, but then you need a lot of buffers you can use as a FIFO so if the disk has a hiccup for 0.5 sec you don't lose 80MBytes of data.

Personally I would use C++ and some processing threads and a lot of FIFO memory.

But this totally depends on what you want to do with the sampled data.

Benno

ikaruga
Newbie
Posts: 0
Joined: Mon Nov 29, 2021 10:40 am

Re: Four channel Real-time acquisition from Picoscope 5444D MSO

Post by ikaruga »

Hey friends of measurement.
I take up the topic, since it fits quite well.
We want to record four channels simultaneously with the 5444D via a Python program. The whole thing at 2-3 Msps and full bit resolution.
Is it possible to record four channels at the same time?
If so, is there an example file?
At the moment we work with two channels. Channel A starts the recording by a trigger.
We would like to extend this to four channels.
Thanks for the help!

Translated with DeepL Translator (free version)

Post Reply