![pico Technology PicoScope 3425 Скачать руководство пользователя страница 45](http://html1.mh-extra.com/html/pico-technology/picoscope-3425/picoscope-3425_user-manual_1555395045.webp)
Programmer's reference
41
Copyright © 2007 Pico Technology Limited. All rights reserved.
ps3425.en
3.2.8.21 ps3000_run_streaming_ns
short ps3000_run_streaming_ns (
short handle,
unsigned long sample_interval,
PS3000_TIME_UNITS time_units,
unsigned long max_samples,
short auto_stop,
unsigned long noOfSamplesPerAggregate,
unsigned long overview_buffer_size )
This function tells the scope unit to start collecting data in
.
The function returns immediately without waiting for data to be captured. After
calling this function, you should next call
ps3000_get_streaming_last_values()
to
copy the data to your application's buffer.
Applicability
mode only
Arguments
handle,
the handle of the required device.
sample_interval,
the time interval, in
time_units,
between
data points.
time_units,
the units in which
sample_interval
is
measured.
max_samples,
the maximum number of samples that the driver
should store from each channel. Your computer must have
enough physical memory for this many samples, multiplied by the
number of channels in use, multiplied by the number of bytes per
sample.
auto_stop,
a Boolean to indicate whether streaming should
stop automatically when
max_samples
is reached. Set to any
non-zero value for
TRUE
.
noOfSamplesPerAggregate,
the number of incoming samples
that the driver will merge together (or aggregate: see
) to create each value pair passed to the application. The value
must be between 1 and
max_samples
.
overview_buffer_size,
the size of the overview buffers,
temporary buffers used by the driver to store data before passing
it to your application. You can check for overview buffer overruns
using the
ps3000_overview_buffer_status()
function and adjust
the overview buffer size if necessary. We recommend using an
initial value of 15,000 samples.
Returns
1
if streaming has been enabled correctly,
0
if a problem occurred or a value was out of range.
15
42
15
56
48
Содержание PicoScope 3425
Страница 2: ......
Страница 66: ......
Страница 67: ...63 Copyright 2007 Pico Technology Limited All rights reserved ps3425 en ...