What's in the Buffer?

Just about everything about Red Pitaya
Post Reply
MrCJ
Posts: 5
Joined: Thu Jan 23, 2020 11:07 am

What's in the Buffer?

Post by MrCJ » Thu Feb 13, 2020 2:35 pm

Hi,
when measuring low freuencies wit the highest decimation factor (and therefore with a sampling rate of 7,6 kS/s), I stumbled across a rather bizarre phenomenon:
There seems to be some kind of data already stored in the buffer, before aquiring the data and it doesn't seem to be the previous measurment. The following image contains a screen shot from a simple matlab script that captures a OUT1 Sin on both input chanels.
photo_2020-02-13_14-17-40.jpg
Basically the code looks like the example code from the docs.
After trying to figure out what this undesirable is and where it comes from I discovered, that the pause between starting to aquire and enabling the trigger, is not only necessary (since the red pitaya won't capure usable data with a pause of 0s), but can also prevent this described phenomenon from happening.
It seems like it takes a pause with a length of about 9s to capture only the desired part of the data. And it also seems like this is the "time scale" mentioned in the table . But how come this time scale is so long, as the "direct" calculations from my other post say otherwise?

Thanks in advance.

Confused regards
MrCJ
You do not have the required permissions to view the files attached to this post.

User avatar
redpitaya
Site Admin
Posts: 386
Joined: Wed Mar 26, 2014 7:04 pm

Re: What's in the Buffer?

Post by redpitaya » Wed Feb 19, 2020 11:01 am

Thank you for your post.
Please be advised that at very low decimation it takes time for data to fill the buffer, before and after the trigger event, so this delay is necessary before setting the trigger or reading data out.

Post Reply
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie

Who is online

Users browsing this forum: No registered users and 1 guest