ADC-20 PICO TECHNOLOGY, ADC-20 Datasheet - Page 24

DATALOGGER, HI-RES

ADC-20

Manufacturer Part Number
ADC-20
Description
DATALOGGER, HI-RES
Manufacturer
PICO TECHNOLOGY
Datasheet

Specifications of ADC-20

Connector Type
D25 Female
Interface
USB 1.1 (USB 2.0 Compatible)
No. Of Channels
8
Power Supply
From USB
Resolution
20 Bits
Interface Type
USB 1.1 (USB 2.0 Compatible)
Rohs Compliant
NA
Lead Free Status / RoHS Status
na

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ADC-20-12
Manufacturer:
HITTITE
Quantity:
1 400
Part Number:
ADC-20-4
Quantity:
1 400
Part Number:
ADC-20-4+
Manufacturer:
MINI
Quantity:
731
Part Number:
ADC-207MC
Manufacturer:
SAM
Quantity:
152
Part Number:
ADC-207MM
Manufacturer:
AD
Quantity:
1
Part Number:
ADC-208LM-QL
Manufacturer:
a
Quantity:
60
21
5.4.6
adc20.en
This function retrieves the reading when the
called.
Arguments
handle
value
overflow
Returns
1
0
Sample code
Code extract to get a single value reading without blocking the calling thread:
HRDLGetSingleValueAsync
short HRDLGetSingleValueAsync (
void main()
{
BOOL
short channelNo;
long
short handle;
// open and initialise the unit
// set the channel parameters
channelNo = HRDL_ANALOG_IN_CHANNEL_1;
range = HRDL_2500_MV;
singleEnded = TRUE;
bConversionFinished = FALSE;
while (true)
{
short handle,
long
short * overflow )
if a valid handle is passed and the function succeeds
if not
PollSingleValue(handle,
if(bConversionFinished == TRUE)
{
.
.
.
// do something with the value
channelNo++;
Handle returned by
Pointer to a long where the ADC value will be written
Pointer to a value that indicates when the voltage on a channel has
exceeded the upper or lower limits.
Bit 0: Channel 1
...
Bit 15: Channel 16
bConversionFinished = FALSE;
value;
* value,
&bConversionFinished,
&value,
channelNo,
range,
singleEnded);
HRDLOpenUnit
HRDLCollectSingleValueAsync
Copyright © 2005-2010 Pico Technology Ltd. All rights reserved.
Programmer's reference
has been

Related parts for ADC-20