Search found 8 matches

by justinis
Tue Sep 20, 2022 2:24 pm
Forum: C and C++
Topic: Streaming from 5444D extremely slow
Replies: 3
Views: 9235

Re: Streaming from 5444D extremely slow

I have fixed the problem with the block code. For some reason, the picoscope hangs when transferring large amounts of data if I have it plugged into my Anker USB hub. If I plug the scope directly into my laptop, it works. I did not go back to check if this is what was affecting the streaming code as...
by justinis
Mon Sep 19, 2022 10:05 pm
Forum: C and C++
Topic: Streaming from 5444D extremely slow
Replies: 3
Views: 9235

Re: Streaming from 5444D extremely slow

I confirmed my 5444D connection is USB 3.0
by justinis
Mon Sep 19, 2022 9:39 pm
Forum: C and C++
Topic: Streaming from 5444D extremely slow
Replies: 3
Views: 9235

Re: Streaming from 5444D extremely slow

I tried changing the code to block mode, because I realized I am limited to 15.625 MS/s in streaming mode, according to the programmer's guide. Now the code hangs on ps5.ps5000aGetValues if I try to capture more than 200,000 samples (sizeOfOneBuffer = 200000, numBuffersToCapture = 1, SAMPLE_PER_NS =...
by justinis
Fri Sep 16, 2022 11:38 pm
Forum: C and C++
Topic: Streaming from 5444D extremely slow
Replies: 3
Views: 9235

Streaming from 5444D extremely slow

I'm trying to stream a couple seconds of data at 16bits, max sample rate (62.5 MS/s) from a 5444D. The code below is working, but it takes several minutes to collect just 0.3 seconds of data. What am I doing wrong? I am using the python wrappers for C. print('Connecting to scope') # Create chandle a...
by justinis
Mon Jan 10, 2022 10:28 pm
Forum: C and C++
Topic: Cannot retrieve max samples from 4262
Replies: 2
Views: 4119

Re: Cannot retrieve max samples from 4262

That did it! Thank you!
by justinis
Thu Jan 06, 2022 6:16 pm
Forum: C and C++
Topic: Cannot retrieve max samples from 4262
Replies: 2
Views: 4119

Cannot retrieve max samples from 4262

I am trying to retrieve as many samples as possible from a picoscope 4262 in block mode. The datasheet says the buffer is 16MS. But when I try to retrieve that many samples (I'm using the C wrappers in python) the driver gives me a PICO_TOO_MANY_SAMPLES error. By trial and error I've discovered the ...
by justinis
Wed Nov 10, 2021 6:45 pm
Forum: Projects
Topic: Noise floor changes with timebase
Replies: 2
Views: 18407

Re: Noise floor changes with timebase

Thank you! I have come to similar conclusions. I think the scope drops samples to reduce the sample rate, which makes noise measurements inaccurate.
by justinis
Wed Oct 27, 2021 11:35 pm
Forum: Projects
Topic: Noise floor changes with timebase
Replies: 2
Views: 18407

Noise floor changes with timebase

I am collecting data using a 5444D picoscope. The input on the scope is shorted. I used python to make two different data collections (600K samples each) that were identical except the timebase for one was 6 and the other was 34. I created a PSD of the data using scipy.signal as follows: fs = 1/np.a...