API Functions
59
Copyright © 2006–2022 Pico Technology Ltd. All rights reserved.
ps2000pg.en-12
PicoScope 2000 Series Programmer's Guide
5.34
my_get_overview_buffers
void my_get_overview_buffers
(
int16_t **overviewBuffers,
int16_t overflow,
uint32_t triggeredAt,
int16_t triggered,
int16_t auto_stop,
uint32_t nValues
)
This is the callback function in your application that receives data from the driver in
. You pass a pointer to this function to
ps2000_get_streaming_last_values
, which then calls it back when the data is ready.
Your callback function should do nothing more than copy the data to another buffer within
your application. To maintain the best application performance, the function should return as
quickly as possible without attempting to process or display the data.
The function name
my_get_overview_buffers
is arbitrary. When you write this function,
you can give it any name you wish. The PicoScope driver does not need to know your
function's name, as it refers to it only by the pointer that you pass to
ps2000_get_streaming_last_values
For an example of a suitable callback function, see the
Pico Technology SDK.
Summary of Contents for PicoScope 2000 Series
Page 1: ...Programmer s Guide ps2000pg en 12 PC Oscilloscopes PicoScope 2000 Series ...
Page 2: ......
Page 67: ......