38
ADC-20/ADC-24 User's Guide
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
Set the analog or/and digital channels
Set the sample interval with
Start the unit collecting samples by calling
with
method = BM_WINDOW
or
BM_STREAM
Loop
Repeat Loop until ready (
)
Collect data whenever you want with
Call
to end data collection
Close the connection to the unit with
Copyright © 2005–2016 Pico Technology Ltd. All rights reserved.
adc20.en r6