ADC-24 PICO TECHNOLOGY, ADC-24 Datasheet

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
ADC-20/ADC-24
High-Resolution Data Loggers
User's Guide
adc20.en-3
Copyright © 2005-2010 Pico Technology Ltd. All rights reserved.

Related parts for ADC-24

ADC-24 Summary of contents

Page 1

... ADC-20/ADC-24 High-Resolution Data Loggers User's Guide adc20.en-3 Copyright © 2005-2010 Pico Technology Ltd. All rights reserved. ...

Page 2

... Connecting the data logger ...........................................................................................................................................7 3 Starting PicoLog 4 About the unit .....................................................................................................................................10 ...........................................................................................................................................10 1 Introduction ...........................................................................................................................................10 2 Specifications ...........................................................................................................................................12 3 Analog connector ...........................................................................................................................................12 4 Noise-free resolution and conversion time ...........................................................................................................................................13 5 ADC-20/ADC-24 terminal board ...........................................................................................................................................13 6 LED 5 Programmer's reference .....................................................................................................................................14 ...........................................................................................................................................14 1 Recording methods ...........................................................................................................................................14 2 Windows driver ...........................................................................................................................................14 3 Scaling ...........................................................................................................................................15 4 Driver functions 1 HRDLCloseUnit ...

Page 3

... ADC-20/ADC-24 User's Guide 16 HRDLSetDigitalIOChannel (ADC-24 only) 17 HRDLSetInterval 18 HRDLSetMains 19 HRDLStop ...........................................................................................................................................38 5 Programming languages 1 C and C++ 2 Delphi V3 3 Excel 4 LabVIEW 5 Visual Basic 6 Agilent VEE ...........................................................................................................................................40 6 Sequence of calls and data flow 1 Streaming recording methods 2 Single-value recording methods 6 Glossary .....................................................................................................................................43 ..............................................................................................................................................45 Index Copyright © 2005-2010 Pico Technology Ltd. All rights reserved. ...

Page 4

... USB data loggers for use with PCs. They require no external power supply and take up no expansion slots. They come complete with PicoLog, a program offering all the features of a stand-alone data logger. You should have the following items in your ADC-20 or ADC-24 package: ADC-20 or ADC-24 High-Resolution Data Logger Pico Technology Software and Reference CD ...

Page 5

... This could result in damage to your computer and/or injury to yourself or others. Maximum input range. The ADC-20 and ADC-24 are designed to measure voltages in the range +/-2.5 volts, but are protected against overvoltages of +/-30 volts. Any voltages outside the overvoltage protection range may cause permanent damage to the unit ...

Page 6

... The ADC-20 and ADC-24 meet the intent of EMC directive 89/336/EEC and meets the EN61326-1 (1997) Class B Emissions and Immunity standard. The ADC-20 and ADC-24 also meet the intent of the Low Voltage Directive and meet the BS EN 61010-1:2001 IEC 61010-1:2001 (safety requirements for electrical equipment, control, and laboratory use) standard ...

Page 7

... ADC-20/ADC-24 User's Guide 2.5 Trademarks Pico Technology Limited and PicoLog are trademarks of Pico Technology Limited, registered in the United Kingdom and other countries. Pico Technology acknowledges the following product names as trademarks of their respective owners: Windows, Excel, Visual Basic, LabVIEW, Agilent VEE, Delphi. ...

Page 8

... Getting started 3.1 Installing the software Before you connect the ADC-20 or ADC-24 to your computer for the first time, you must install the software supplied on the CD. Insert the Software and Reference CD, then follow the "Install Software" link. You may choose to install the driver when you install the PicoLog software, by ticking the box labelled " ...

Page 9

... Continue to wait while the wizard installs the software. When instructed, click Finish to close the wizard. After a few seconds you should see this message: Your ADC-20 or ADC-24 Data Logger is now properly installed. Copyright © 2005-2010 Pico Technology Ltd. All rights reserved. 6 adc20.en ...

Page 10

... To check that the data logger is working, start the PicoLog application as follows: 1. Start PicoLog. (Click the PicoLog icon: menu.) 2. Click File 3. Point to New settings the Recording dialog, click OK the Sampling Rate dialog, click OK: adc20.en Getting started in your Windows Start Copyright © 2005-2010 Pico Technology Ltd. All rights reserved. ...

Page 11

... If the progress indicator does not start moving, disconnect and reconnect the unit and then press Refresh. 7. Click the ADC-20 (or ADC-24) channels dialog, double-click on "Channel 1" the Edit ADC-20 (or ADC-24) Channel dialog, click OK: Copyright © 2005-2010 Pico Technology Ltd. All rights reserved. ...

Page 12

... Back at the ADC-20 (or ADC-24) Channels dialog, click OK 11. The PLW Recorder view should now display the voltage on channel 1 (near nothing connected): 12. Connect a suitable voltage (for example, from a 1.5 V battery) to the channel. Pin connections are marked on the logger and also listed in the topic ...

Page 13

... The four true differential inputs may be configured as eight single-ended inputs or any combination in between, such as two differential and four single-ended. The ADC-24 is equipped with a 24-bit A/D converter, and can maintain a gain error of 0.1%. The eight true differential inputs may be configured as 16 single-ended inputs or any combination in between ...

Page 14

... RH, noncondensing 1 year USB 1.1 (USB 2.0 compatible) Cable length approx. 4.4 m (13.8 ft) DB25 female 100 mA (max.) from USB port 13 18 3.6 cm (5. 7. 1.41 in) Approx. 505 g (17.8 oz) Copyright © 2005-2010 Pico Technology Ltd. All rights reserved. About the unit ADC-24 ...

Page 15

... ADC-20/ADC-24 User's Guide 4.3 Analog connector Analog inputs are connected to the ADC-20 and ADC-24 through the female DB25 connector. The connections are as follows: Pin Function 1 Channel 2 (Channel 1-) 2 Channel 4 (Channel 3-) 3 Channel 6 (Channel 5-) 4 Channel 8 (Channel 7-) 5 Channel 10 (Channel 9-) 6 Channel 12 (Channel 11-) ...

Page 16

... LED The ADC-20 and ADC-24 have an LED, next to the entry point of the USB cable, that you can use to verify that the unit is working. The LED flashes whenever the unit is taking readings. It also flashes briefly during "enumeration", the process that PicoLog uses to detect all Pico USB devices plugged in to the computer ...

Page 17

... ADC-20/ADC-24 User's Guide 5 Programmer's reference 5.1 Recording methods The ADC-20/ADC-24 driver provides three methods of recording data. All these methods support USB1.1. Streaming – The driver constantly polls the device, and samples are placed in a buffer until retrieved by your application. Precise sample timing is controlled by the unit ...

Page 18

... 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 HRDLCloseUnit HRDLCollectSingleValueAsync HRDLGetMinMaxAdcCounts ...

Page 19

... ADC-20/ADC-24 User's Guide 5.4.1 HRDLCloseUnit short HRDLCloseUnit( short handle ) Shuts down a data logger unit. Arguments handle The handle, returned by HRDLOpenUnit, of the unit being closed Returns valid handle is passed 0 if not Copyright © 2005-2010 Pico Technology Ltd. All rights reserved. 16 adc20.en ...

Page 20

... Returns valid handle is passed and the settings are correct 0 if not adc20.en HRDLGetSingleValueAsync Handle returned by HRDLOpenUnit Channel number to convert. If the channel is not valid then the function will fail. The voltage range to be used. If the range is not valid, the function HRDLGetSingleValueAsync The time interval in which the sample should be converted ...

Page 21

... ADC-20/ADC-24 User's Guide 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 minAdc Pointer to a long, used to return the minimum ADC count available ...

Page 22

... This function returns the number of analog channels enabled. Arguments handle nEnabledChannels Returns valid handle is passed 0 if not adc20.en Handle returned by HRDLOpenUnit Pointer to a short, where the number of channels enabled will be written Copyright © 2005-2010 Pico Technology Ltd. All rights reserved. Programmer's reference ...

Page 23

... Copyright © 2005-2010 Pico Technology Ltd. All rights reserved. Handle returned by HRDLOpenUnit. The channel number to convert. ADC-20 ADC-24 the channel is not valid then the function will fail and return 0. The voltage range to be used. See possible values. If the range is not valid, the function will return ...

Page 24

... This function retrieves the reading when the called. Arguments handle Handle returned by value Pointer to a long where the ADC value will be written overflow Pointer to a value that indicates when the voltage on a channel has exceeded the upper or lower limits. Bit 0: Channel 1 ... ...

Page 25

... ADC-20/ADC-24 User's Guide // this would be HRDL_ANALOG_IN_CHANNEL_8 for the ADC-20 if(channelNo > HRDL_ANALOG_IN_CHANNEL_16) { channelNo = HRDL_ANALOG_IN_CHANNEL_1 else { // do something else while waiting for the reading from the // unit } } } void PollSingleValue(short handle, { static BOOL bStartConversion = FALSE; short // test to see if the conversion has finished if(bStartedConversion) { if(HRDLReady(handle)) { HRDLGetSingleValueAsync(handle, lValue, &overflow); ...

Page 26

... DI the digital inputs. The channels are always ordered from channel 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. ...

Page 27

... ADC-20/ADC-24 User's Guide 5.4.8 HRDLGetUnitInfo short HRDLGetUnitInfo ( short handle, char * string, short stringLength, short info ) This function writes information about the data logger to a character string. If the logger fails to open, only open unit call failed. When retrieving the driver version, the handle value is ignored. ...

Page 28

... Settings Error Code SE_CONVERSION_TIME_OUT_OF_RANGE (0) SE_SAMPLEINTERVAL_OUT_OF_RANGE (1) SE_CONVERSION_TIME_TOO_SLOW (2) SE_CHANNEL_NOT_AVAILABLE (3) SE_INVALID_CHANNEL (4) SE_INVALID_VOLTAGE_RANGE (5) SE_INVALID_PARAMETER (6) SE_CONVERSION_IN_PROGRESS (7) SE_COMMUNICATION_FAILED (8) SE_OK (9) adc20.en info = HRDL_ERROR) Description The unit is functioning correctly The this product No data logger could be found Unable to download firmware The operating system is not supported by this device The maximum number of units allowed ...

Page 29

... DI the digital inputs. The channels are always ordered from channel 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. ...

Page 30

... This function opens a data logger. The API driver can support up to four units. Arguments None Returns -1 if the unit fails to open unit is found >= 1 handle to the device opened adc20.en Programmer's reference Copyright © 2005-2010 Pico Technology Ltd. All rights reserved. ...

Page 31

... ADC-20/ADC-24 User's Guide 5.4.11 HRDLOpenUnitAsync short HRDLOpenUnitAsync( void ) Opens a data logger without blocking the calling thread. Arguments None Returns 0 if there is already an open operation in progress 1 if the open operation has been initiated Copyright © 2005-2010 Pico Technology Ltd. All rights reserved. ...

Page 32

... Pointer to a short to which the percentage progress written. 100% implies that the open operation is complete Returns 0 if open operation is still in progress 1 if the open operation is complete adc20.en Programmer's reference Copyright © 2005-2010 Pico Technology Ltd. All rights reserved. ...

Page 33

... ADC-20/ADC-24 User's Guide 5.4.13 HRDLReady short HRDLReady( short handle ) This function indicates when the readings are ready to be retrieved from the driver. Arguments handle Handle returned by HRDLOpenUnit. Returns 0 if not ready, or failed 1 if ready Copyright © 2005-2010 Pico Technology Ltd. All rights reserved. ...

Page 34

... Returns 0 if failed successful Sampling methods method Description BM_BLOCK (0) Collect a single block and stop BM_WINDOW (1) Collect a sequence of overlapping blocks BM_STREAM (2) Collect a continuous stream of data adc20.en for help on using this function. Copyright © 2005-2010 Pico Technology Ltd. All rights reserved. Programmer's reference ...

Page 35

... Arguments handle Handle returned by HRDLOpenUnit. channel The channel that will be enabled or disabled. ADC-20 ADC-24 enabled Sets the channel active or dormant. 0: dormant <> 0: active range The voltage range to be used during sampling. Applies only to selected channel ...

Page 36

... HRDLSetDigitalIOChannel (ADC-24 only) short HRDLSetDigitalIOChannel( short handle, short directionOut, short digitalOutPinState, short enabledDigitalIn ) Sets up the digital input/output channels. If the direction is 'output' then the pin can be set high (on) or low (off). While the device is sampling, the direction cannot be changed but the value of an output can. ...

Page 37

... ADC-20/ADC-24 User's Guide Examples: To set digital channels 1 and 2 to input and digital channels 3 and 4 to output: directionOut = HRDL_DIGITAL_IO_CHANNEL_4 (8) + HRDL_DIGITAL_IO_CHANNEL_3 ( set digital channel 4 high and digital channel 3 low: digitalOutPinState = HRDL_DIGITAL_IO_CHANNEL_4 ( set only digital channel 3 high: digitalOutPinState = HRDL_DIGITAL_IO_CHANNEL_3 ( turn both digital channels 3 and 4 on: ...

Page 38

... Conversion times conversionTime HRDL_60MS (0) HRDL_100MS (1) HRDL_180MS (2) HRDL_340MS (3) HRDL_660MS (4) adc20.en Handle returned by HRDLOpenUnit. Time interval in milliseconds within which all conversions must take place before the next set of conversions starts. The amount of time given to one channel's conversion. This must be one of the constants below. HRDLGetUnitInfo ...

Page 39

... ADC-20/ADC-24 User's Guide 5.4.18 HRDLSetMains short HRDLSetMains( short handle, short sixtyHertz ) This function configures the mains noise rejection setting. Rejection takes effect the next time sampling occurs. Arguments handle Handle returned by HRDLOpenUnit. sixtyHertz Specifies whether noise rejection is applied. 0: reject 50Hz <> 0: reject 60 Hz ...

Page 40

... HRDLStop void HRDLStop ( short handle ) This function stops the device when streaming. Arguments handle Handle returned by HRDLOpenUnit. adc20.en Programmer's reference Copyright © 2005-2010 Pico Technology Ltd. All rights reserved. ...

Page 41

... ADC-20/ADC-24 User's Guide 5.5 Programming languages The software installed with your ADC-20 or ADC-24 includes examples for the following programming languages: C and C++ Delphi Excel LabVIEW Visual Basic Agilent-VEE The example programs are installed in the PicoLog installation. 5.5.1 C and C++ C The C example program is a generic windows application (it does not use Borland AppExpert or Microsoft AppWizard) ...

Page 42

... To use this routine, copy You can use one of the sub-VIs supplied for each of the channels that you wish to measure. The VI accepts the handle and the channel ( for ADC-20 for ADC-24; only odd-numbered channels in single-ended mode) and returns the voltage in millivolts. 5.5.5 ...

Page 43

... ADC-20/ADC-24 User's Guide 5.6 Sequence of calls and data flow The C sample program, HRDL.c, demonstrates the use of all the functions of the API driver, and includes examples showing each mode of operation. 5.6.1 Streaming recording methods 5.6.1.1 Collecting a block of data This method collects a single block of data and then stops. ...

Page 44

... Set the analog or/and digital channels Set the sample interval with Start the unit collecting samples by calling BM_STREAM Loop Repeat Loop until ready (HRDLReady) Collect data whenever you want with adc20.en HRDLSetMains HRDLSetInterval HRDLRun with HRDLGetValues Copyright © 2005-2010 Pico Technology Ltd. All rights reserved. ...

Page 45

... ADC-20/ADC-24 User's Guide 5.6.2 Single-value recording methods 5.6.2.1 Collecting a single reading, blocking This method collects a single reading and blocks the calling thread. Open the data logger with one of the HRDLOpenUnit calls Set mains noise rejection with Get a single reading (one channel only at a time) with 5 ...

Page 46

... Data logger. A measuring instrument that monitors one or more analog signals, samples them at pre-programmed intervals, then accurately converts the samples to digital data and stores them in memory. The ADC-20 and ADC-24 use your PC for storage and display. DLL. Dynamic Link Library. A DLL is a file containing a collection of Windows functions designed to perform a specific class of operations ...

Page 47

... The noise- free resolution is then n-m bits. Noise rejection. The ability of the data logger to attenuate noise in a given frequency range. The ADC-20/ADC-24 can be programmed to reject noise at either 50 hertz or 60 hertz. The noise rejection ratio is defined as: NRR(dB log10 (Vin/Vmeas) where NRR(dB) is the noise rejection ratio in decibels, Vin is the noise voltage at the input, and Vmeas is the noise voltage that appears in the measurement ...

Page 48

... Index A Access 3 ADC- ADC- Agilent VEE 39 Analog connector 12 B Block recording C++ 38 Calibration 10 CE notice 3 Channels 12 Common-mode rejection ratio Common-mode voltage 10 Company address 4 Connection 5 Contact details 4 Conversion time 10, 12 Copyright 3 D Data flow 40 Declaration of Conformity 3 Delphi 38 Digital I/O 10, 12 Dimensions 10 DLL ...

Page 49

... ADC-20/ADC-24 User's Guide Liability 3 Low Voltage Directive 3 M Mains voltages 2 Manual 14 Maximum input range 2 Mission-critical applications N Noise rejection 10 Noise-free resolution 12 O Offset error 10 Overview 1 Overvoltage protection connection 10 Phone number 4 PicoLog installing 5 Power outputs 10 Power supply 10 Programming languages 38 Agilent VEE C++ 38 Delphi ...

Page 50

... Copyright © 2005-2010 Pico Technology Ltd. All rights reserved. ...

Page 51

... Copyright © 2005-2010 Pico Technology Ltd. All rights reserved. Pico Technology James House Colmworth Business Park ST. NEOTS Cambridgeshire PE19 8YP UK Tel: +44 (0) 1480 396 395 Fax: +44 (0) 1480 396 296 www.picotech.com ...

Related keywords