User manual
Programming with the PicoScope 6000 Series86
Copyright © 2009-2013 Pico Technology Ltd. All rights reserved.ps6000pg.en r9
3.9.52
ps6000StreamingReady
typedef void (CALLBACK *ps6000StreamingReady)
(
short handle,
unsigned long noOfSamples,
unsigned long startIndex,
short overflow,
unsigned long triggerAt,
short triggered,
short autoStop,
void * pParameter
)
This callback function is part of your application. You register it with the driver using
ps6000GetStreamingLatestValues, and the driver calls it back when streaming-mode
data is ready. You can then download the data using the ps6000GetValuesAsync
function.
Applicability
Streaming mode only
Arguments
handle, the handle of the device returning the samples.
noOfSamples, the number of samples to collect.
startIndex, an index to the first valid sample in the buffer. This is
the buffer that was previously passed to ps6000SetDataBuffer.
overflow, returns a set of flags that indicate whether an
overvoltage has occurred on any of the channels. It is a bit pattern
with bit 0 denoting Channel A.
triggerAt, an index to the buffer indicating the location of the
trigger point. This parameter is valid only when triggered is non-
zero.
triggered, a flag indicating whether a trigger occurred. If non-
zero, a trigger occurred at the location indicated by triggerAt.
autoStop, the flag that was set in the call to
ps6000RunStreaming.
pParameter, a void pointer passed from
ps6000GetStreamingLatestValues. The callback function can write to
this location to send any data, such as a status flag, back to the
application.
Returns
nothing