![pico Technology PicoScope 3425 User Manual Download Page 39](http://html1.mh-extra.com/html/pico-technology/picoscope-3425/picoscope-3425_user-manual_1555395039.webp)
Programmer's reference
35
Copyright © 2007 Pico Technology Limited. All rights reserved.
ps3425.en
3.2.8.15 ps3000_run_block
short ps3000_run_block (
short handle,
long no_of_samples,
short timebase,
short oversample,
long * time_indisposed_ms )
This function tells the oscilloscope to start collecting data in
.
Applicability
only
Arguments
handle
, the handle of the required device.
no_of_samples
, the number of samples to return.
timebase
, a code between 0 and the maximum timebase
available (consult the driver header file). Timebase 0 gives the
maximum sample rate available, timebase 1 selects a sample rate
half as fast, timebase 2 is half as fast again and so on. For the
maximum sample rate, see the
. Note that the
number of channels enabled may affect the availability of the
fastest timebases.
oversample
, the oversampling factor, a number between 1 and
256. See
for details.
time_indisposed_ms,
a pointer to the approximate time, in
milliseconds, over which the ADC will collect data. If a trigger is
set, it is the amount of time the ADC takes to collect a block of
data after a trigger event, calculated as sample interval x number
of points required. Note: The actual time may differ from
computer to computer, depending on how fast the computer can
respond to I/O requests.
Returns
0
if one of the parameters is out of range
1 if successful
13
13
9
11
Summary of Contents for PicoScope 3425
Page 2: ......
Page 66: ......
Page 67: ...63 Copyright 2007 Pico Technology Limited All rights reserved ps3425 en ...