User Manual

ADC-20/ADC-24 User's Guide 18
Copyright © 2005-2010 Pico Technology Ltd. All rights reserved. adc20.en
5.4.3
HRDLGetMinMaxAdcCounts
short HRDLGetMinMaxAdcCounts(
short handle,
long * minAdc,
long * maxAdc,
short channel )
This function returns the maximum and minimum ADC count available for the device
referenced by handle.
Arguments
handle
Handle returned by HRDLOpenUnit
minAdc
Pointer to a long, used to return the minimum ADC count available
for the unit referred to by handle
maxAdc
Pointer to a long, used to return the maximum ADC count available
for the unit referred to by handle
channel
Channel number for which maximum and minimum ADC count are
required
Returns
1 if a valid handle is passed
0 if not