API Functions
58Copyright © 2006–2022 Pico Technology Ltd. All rights reserved.ps2000pg.en-12
PicoScope 2000 Series Programmer's Guide
5.33 ps2000_stop
int16_t ps2000_stop
(
int16_t handle
)
Call this function to stop the oscilloscope sampling data.
When running the device in streaming mode, you should always call this function after the end
of a capture to ensure that the scope is ready for the next capture.
When running the device in block mode or ETS mode, you can call this function to interrupt
data capture.
Note that if you are using block mode or ETS mode and call this function before the
oscilloscope is ready, no capture will be available and the driver will not return any samples.
handle: the handle of the required oscilloscope
0: if an invalid handle is passed
non-zero: if successful