Test and Measurement Forum

Does oversampling work on 220X scopes with 64 bit Linux?

Post your Linux discussions here

Postby Sonander » Thu Mar 12, 2009 8:06 pm

Thanks Robin, that helped. In the light of this, here are some suggested changes for the PS2000con.c example file shipped with the library.

Line 111, change to
#define BUFFER_SIZE 16384

Around line 400 we want
oversample = 1;
no_of_samples = 1;

Then before the call to ps2000_run_block a few lines further down, put

no_of_samples = max_samples;

And it will aquire a suitable number of samples regardless of the user changing the oversample value. The other collect_block functions will need this change too.
Posts: 8
Joined: Mon Jan 05, 2009 10:13 pm
Location: Letchworth, England


Return to Linux

Who is online

Users browsing this forum: No registered users and 0 guests