User Manual

Programmer's reference31
Copyright © 2005-2010 Pico Technology Ltd. All rights reserved.adc20.en
5.4.14
HRDLRun
short HRDLRun(
short handle,
long nValues,
short method )
This function starts the device sampling and storing the samples in the driver's buffer.
See Streaming recording methods for help on using this function.
Arguments
handle
Handle returned by HRDLOpenUnit.
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
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