Technical reference
24
Copyright 2005 Pico Technology Limited. All rights reserved.
PS3000044 1.4
3.3.14
ps3000_get_values
long ps3000_get_values(
short
handle
short
* buffer_a,
short
* buffer_b,
short
* buffer_c,
short
* buffer_d,
short
* overflow,
long
no_of_values )
This function is used to get values. This function does nothing if ETS triggering is
enabled.
Arguments
handle
, the handle to the required device.
buffer_a,
buffer_b,
buffer_c,
buffer_d,
pointers to the buffers that receive data from the specified
channels (A, B, C or D). A pointer is unused if the oscilloscope is not
collecting data from that channel. If a pointer is
NULL
, nothing will be
written to it.
overflow
, a bit pattern indicating whether an overflow has occurred on
a channel. Bit 0 is the LSB.
Bit 0 --> channel A
Bit 1 --> channel B
Bit 2 --> channel C
Bit 3 --> channel D
no_of_values
. The number of data points to return. In streaming
mode, this is the maximum no of values to return.
Returns
The actual number of data values per channel returned, which may be
less than
no_of_values
if streaming.
FALSE
is returned if one of the
parameters is out of range.