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

DATALOGGER, HI-RES

ADC-24

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

Specifications of ADC-24

Connector Type
D25 Female
Interface
USB 1.1 (USB 2.0 Compatible)
No. Of Channels
16
Power Supply
From USB
Resolution
24 Bits
Interface Type
USB 1.1 (USB 2.0 Compatible)
Rohs Compliant
NA
Lead Free Status / RoHS Status
na
23
5.4.7
adc20.en
This function returns the requested number of samples for each enabled channel and
the times when the samples were taken, so the
values) x (number of enabled channels). When one or more of the digital IOs are
enabled as inputs, they count as one additional channel. The function informs the user
if the voltages for any of the enabled channels have overflowed.
Arguments
handle
times
values
overflow
noOfValues
Returns
A non-zero number if successful indicating the number of values returned,
0 if the call failed or no values available
Ordering of returned data (example)
When two analog channels (e.g. 1 and 5) are enabled and a digital channel is set as
an input, the data are returned in the following order:
where n represents the value returned by the function and DI the digital inputs.
The channels are always ordered from channel 1 up to the maximum channel number
(ADC-24: channel 16, ADC-20: channel 8). If one or more digital channels are set as
inputs then the first sample contains the digital channels.
Digital inputs
The digital channels are represented by a binary bit pattern with 0 representing off,
and 1 representing on. Digital input 1 is in bit 0.
HRDLGetTimesAndValues
long HRDLGetTimesAndValues (
Sample No: 0
Channel:
short handle,
long
long
short * overflow,
long
* times,
* values,
noOfValues )
Handle returned by HRDLOpenUnit.
Pointer to a long where times will be written.
Pointer to a long where sample values will be written. If more than
one channel is active, the samples are interleaved. If digital channels
are enabled then they are always the first values. See table below
for the order in which data are returned.
Pointer to a short indicating any inputs that have exceeded their
maximum voltage range. Channels with overvoltages are indicated
by a high bit, with the LSB indicating channel 1 and the MSB channel
16.
The number of samples to collect for each active channel
DI 1
1
2
5
3
DI 1
4
5
5
6
DI 1
7
8
5
values
9
DI 1
Copyright © 2005-2010 Pico Technology Ltd. All rights reserved.
10 11 12 13 14 . n-3 n-2 n-1
5
array needs to be (number of
DI 1
5
Programmer's reference
. DI
1
5

Related parts for ADC-24