13
Programmer's reference
5.4
Driver functions
The following sections describe the functions available to an application using the
ADC-20 and ADC-24. All functions are C functions using the standard call naming
convention (
__stdcall
) and are exported with both decorated and undecorated
names.
Function
Description
Shuts down unit
Starts the unit sampling one value without
blocking the calling application's flow
Returns the maximum and minimum ADC count
available for the device
HRDLGetNumberOfEnabledChannels
Returns the number of analog channels enabled
Takes one sample for the specified channel at
the selected voltage range and conversion time
Retrieves the reading when the
has been called
Returns the requested number of time-stamped
samples for each enabled channel
Writes unit information to a character string
Returns the requested number of samples for
each enabled channel
Opens data logger unit
Opens unit without blocking the calling thread
Checks the progress of an asynchronous open
operation
Indicates when readings are ready to be
collected
Starts the device sampling and storing the
samples into the driver's buffer
Enables or disables the analog channel
Sets a digital output or input (ADC-24 only)
Sets the sampling time interval
Sets the mains noise rejection frequency
Stops the device when streaming
adc20.en r6
Copyright © 2005–2016 Pico Technology Ltd. All rights reserved.