Technical reference
13
3.3.6 ps2000_get_values
long ps2000_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. It does nothing if ETS triggering is enabled.
Arguments | handle, the handle to the required device. |
| buffer_a, pointer to the buffer that receives data from the |
| oscilloscope. If the pointer is NULL, nothing will be written to it. See |
| Scaling for details of data values. |
| buffer_b, |
| buffer_c, |
| buffer_d, unused pointers |
| overflow. The |
| occurred. |
| no_of_values. The number of data points to return. In streaming |
| mode, this is the maximum number of values to return. |
|
|
Returns | The actual number of data values returned, which may be less than |
| no_of_values if streaming. FALSE is returned if one of the parameters |
| is out of range. |
|
|
3.3.7ps2000_last_button_press
short ps2000_last_button_press ( short handle )
This function returns the last registered state of the pushbutton on the PicoScope 2104 or 2105 PC Oscilloscope and then resets the status to zero.
Arguments | handle - handle of the device | |
|
|
|
Returns | 0 | – No button press registered |
| 1 | – Short button press registered |
| 2 | – Long button press registered |
|
|
|
Copyright 2006 Pico Technology Limited. All rights reserved. |