29
Programmer's reference
5.4.14 HRDLRun
int16_t HRDLRun
(
int16_t handle,
int32_t nValues,
int16_t method
)
This function starts the device sampling and storing the samples in the driver's buffer.
See
for help on using this function.
Arguments
handle
Handle returned by
nValues
Number of samples to collect for each active channel.
method
Sampling method. This should be one of the values listed below.
Returns
0 if failed,
1 if successful
Sampling methods
Value of
method
Description
BM BLOCK (0)
Collect a single block and stop
BM WINDOW (1)
Collect a sequence of overlapping blocks
BM STREAM (2)
Collect a continuous stream of data
adc20.en r6
Copyright © 2005–2016 Pico Technology Ltd. All rights reserved.