User Manual

Programmer's reference41
Copyright © 2005-2010 Pico Technology Ltd. All rights reserved.adc20.en
5.6.1.2
Collecting windowed or streaming data
This method causes the device to start sampling. Samples are stored in the driver's
buffer. In windowed mode, the buffer will always contain the requested number of
samples, but generally only a subset of these are new data. In streaming mode, new
data are returned continuously.
Open the data logger with one of the HRDLOpenUnit calls
Set mains noise rejection with HRDLSetMains
Set the analog or/and digital channels
Set the sample interval with HRDLSetInterval
Start the unit collecting samples by calling HRDLRun with method = BM_WINDOW or
BM_STREAM
Loop
Repeat Loop until ready (HRDLReady)
Collect data whenever you want with HRDLGetValues