Missing samples: Series 2000 pico sample code

Post your VB and VBA discussions here
Post Reply
bartj
User
User
Posts: 2
Joined: Wed Sep 20, 2006 11:59 pm

Missing samples: Series 2000 pico sample code

Post by bartj »

I have the Pico VB code example for a 2000 series up and running. I see that in the Sub "Fast_Click", only values 0-99 are used to populate the list. Values 100 and above are 0. I would expect at least 1024 values to be valid. I am using all the default values. I note the following items from the function GetTimeBase:

Handle: 1
timebase: 13
no_of_values: 1024
time_interval: 204800
time_units: 2
oversample: 0
max_samples: 8064

Why am I only getting 0-99 samples back instead of 1024 or more? And how can I "fix" this to obtain more samples?

Thanks,
Bartj

Robin
Advanced User
Advanced User
Posts: 558
Joined: Fri Sep 19, 2008 10:17 am

Re: Missing samples: Series 2000 pico sample code

Post by Robin »

Hi Bartj
Why am I only getting 0-99 samples back instead of 1024 or more? And how can I "fix" this to obtain more samples?
In the call to ps2000_get_values, no_of_values is set to 100. You can change this as required.

Robin

Post Reply