![PICO picoscope 3204 User Manual Download Page 22](http://html1.mh-extra.com/html/pico/picoscope-3204/picoscope-3204_user-manual_1555065022.webp)
PicoScope 3000 Series User Guide
21
Copyright 2005 Pico Technology Limited. All rights reserved.
PS3000044 1.4
3.3.11
ps3000_run_streaming
short ps3000_run_streaming (
short
handle,
short
time_interval_ms,
long
max_samples,
short
windowed)
This function tells the oscilloscope to start collecting data in
. If this
function is called when a trigger has been enabled, the trigger settings will be ignored.
Arguments
handle
, the handle to the required device.
time_interval_ms
, the time interval, in ms, between data points. This
can be no shorter than 1 ms.
max_samples
, the maximum number of samples that the driver is to
store. This can be no greater than 60 000. It is the caller's responsibility
to retrieve data before the oldest values are overwritten.
windowed
, if this is
0
, only the values taken since the last call to get
values are returned. If this is
1
, the number of values requested by
get_values are returned, even if they have already been read by
.
Returns
1
if streaming has been enabled correctly, otherwise
0
if a problem
occurred or a value was out of range.