pico Technology ADC-100 Скачать руководство пользователя страница 4

ADC-100 User's Guide

2

© Copyright 2004-2007 Pico Technology Limited. All rights reserved.

adc100.en

1.4

Software configuration

Checking the installation

To check that the unit is working, start up the PicoScope program and then connect a
voltage source to the BNC connector. The ADC has the same connectors as an
oscilloscope, so you can use standard oscilloscope probes.

PicoScope should now display  the voltage that you have connected. If you are using
scope probes, when you touch the scope probe tip with your finger, you should see a
small 50 Hz or 60 Hz signal on the screen.

If you have connected the ADC to a printer port other than the port specified when
you installed the software, you will need to go to the Setup panel and then change the
port number to the appropriate value (USB port numbers begin with USB-PPx.  If you
have more than one USB parallel port, they will be numbered according to the order
they are plugged into the PC).  You will need to exit and re-enter the software to
activate the change.

1.5

Safety warning

We strongly recommend that you read the general safety information below before
using your product for the first time. If the equipment is not used in the manner
specified, then the protection provided may be impaired. This could result in damage
to your computer and/or injury to yourself or others.

Maximum input range

The ADC-100 is designed to measure voltages in the range of -20V to +20V. Any
voltages in excess of ±100V may cause permanent damage to a unit.

Mains voltages

Pico products are not designed for use with mains voltages. To measure mains we
recommend the use of a differential isolating probe specifically designed for such
measurements.

Safety grounding

The ground of every product is connected directly to the ground of your computer via
the interconnecting cable provided. This is done to minimise interference. If the PC
(especially laptops) is not grounded, reading stability cannot be guaranteed and it
may be necessary to manually ground the equipment.

As with most oscilloscopes and data loggers, you should take care to avoid connecting
the inputs of the product to any equipment which may be at an unsuitable voltage. If
in doubt, use a meter to check that there is no hazardous AC or DC voltage. Failure to
check may cause damage to the product and/or computer and could cause injury to
yourself or others.

Take great care when measuring temperatures near mains equipment. If a sensor is
accidentally connected to mains voltages, you risk damage to the converter or your
computer and your computer chassis may become live.

You should assume that the product does not have a protective safety earth. Incorrect
configuration and/or use on voltages outside the maximum input range can be
hazardous.

Содержание ADC-100

Страница 1: ... Copyright 2004 2007 Pico Technology Limited All rights reserved ADC 100 User s Guide adc100 en 2 PC Oscilloscope ...

Страница 2: ... 1 Introduction 8 2 Windows 9 3 Driver routines 9 1 adc100_get_driver_version 9 2 adc100_open_unit 9 3 adc100_close_unit 10 4 adc100_set_unit 10 5 adc100_set_range 11 6 adc100_get_value 11 7 adc100_is_streaming 11 8 adc100_run 12 9 adc100_ready 12 10 adc100_stop 13 11 adc100_set_trigger 14 12 adc100_set_interval 15 13 adc100_get_values 16 14 adc100_get_times_and_values 16 15 adc100_get_unit_info 1...

Страница 3: ... at www picotech com 1 3 Connecting to the PC The ADC 100 and ADC 101 can be connected to the PC in two ways Directly to a printer port on the computer To a USB port on the computer via a Pico USB parallel port adapter Printer port operation When you install the application software from the Pico CD the computer will ask you which port to use You should select LPT1 LPT2 or LPT3 To use the ADC you ...

Страница 4: ...amage to your computer and or injury to yourself or others Maximum input range The ADC 100 is designed to measure voltages in the range of 20V to 20V Any voltages in excess of 100V may cause permanent damage to a unit Mains voltages Pico products are not designed for use with mains voltages To measure mains we recommend the use of a differential isolating probe specifically designed for such measu...

Страница 5: ... agents shall not be liable for any loss damage or injury howsoever caused related to the use of Pico Technology equipment or software unless excluded by statute Fitness for purpose No two applications are the same Pico Technology cannot guarantee that its equipment or software is suitable for a given application It is your responsibility therefore to ensure that the product is suitable for your a...

Страница 6: ...d other countries Pico Technology acknowledges the following product names as trademarks of their respective owners Windows Excel Visual Basic LabVIEW Agilent VEE HP VEE Delphi 1 7 Company details Address Pico Technology Limited The Mill House Cambridge Street St Neots Cambridgeshire PE19 1QB United Kingdom Phone 44 0 1480 396395 Fax 44 0 1480 396296 Email Technical Support support picotech com Sa...

Страница 7: ...bit analog to digital converters This means that they produce values in the range 0 to 4095 to represent the currently selected input voltage range To convert from ADC readings to volts you should subtract half of the 2048 multiply by the currently selected voltage range and divide by 2048 Thus on the 5 V range an ADC reading of 3135 represents 3135 2048 x 5 2048 2 654 volts 2 3 Streaming If a dev...

Страница 8: ...very second and to receive a block containing nine seconds of data that have already been seen and one second of new data The block is effectively a 10 second window that advances one second each time BM_STREAM is useful when you need to collect data continuously for long periods In principle it would be possible to collect data indefinitely Each time adc100_get_values is called it returns the new...

Страница 9: ...its The units can be any mixture of ADC 100 and ADC 101 The following table explains each of the driver routines Routine Description adc100_get_driver_version that this is the correct driver adc100_open_unit the driver to use a specified parallel port adc100_set_unit which ADC 100 unit to use adc100_close_unit the specified port adc100_set_range input voltage range adc100_get_value single reading ...

Страница 10: ...t trigger mode if required 4 Set sampling mode channels and time per sample 5 While you want to take measurements 6 Run 7 While not ready 8 Wait 9 End while 10 Get a block of data 11 End While 12 Close the driver 3 2 Windows The Windows XP Vista driver PICO SYS is installed in Windows The operating system must be told that the driver is available this is normally done automatically by the setup pr...

Страница 11: ...e version is a two byte value of which the upper byte is the major version and the lower byte is the minor version Arguments Returns 3 3 2 adc100_open_unit PREF1 short PREF2 adc100_open_unit short port This routine opens the ADC 100 driver With the Windows 32 bit driver the routine assumes that the printer ports 1 3 are at 0x378 0x278 and 0x3BC It then calibrates the timing functions for the compu...

Страница 12: ...nting the input range for channels A and B The ADC 100 is bipolar so 20 000 means that the input voltage range is 20 V Note For the ADC 101 the actual voltage range is always five times the voltage range specified Thus if mv_a is set to 20000 the actual voltage range is 100 000 mV or 100V The values in the following table will give the expected result intermediate values will be rounded to the nea...

Страница 13: ...evice collects data in an asynchronous manner USB devices generally support streaming whereas parallel port devices do not Arguments none Returns TRUE if the device supports streaming 3 3 8 adc100_run void adc100_run unsigned long no_of_values unsigned short method This routine starts a streaming unit collecting data It collects readings at intervals and from channels specified in the most recent ...

Страница 14: ... whether a streaming device has completed its data collection Arguments none Returns TRUE if the device is ready to transfer data For non streaming devices it always return TRUE 3 3 10 adc100_stop void adc100_stop void This function cancels any pending request for data from a streaming device It has no effect for non streaming devices Arguments none Returns none ...

Страница 15: ...ts enabled this is TRUE if the ADC 100 is to wait for a trigger event and FALSE if the ADC 100 is to start collecting data auto_trigger this is TRUE if the ADC 100 is to trigger after a specified time even if no trigger event occurs This prevents the computer from locking up if no trigger event occurs auto_ms specifies the time in ms after which auto_trigger will occur channel specifies which chan...

Страница 16: ...ed a sampling interval that is faster than your computer can manage If the specified sampling rate was too fast you have the following choices If the total time is important collect fewer than the ideal number of samples so that the total block time is correct If the number of samples is important collect the same number of samples then allow for the fact that they took longer to collect Arguments...

Страница 17: ...ues It collects readings at intervals and from channels specified in the most recent adc100_set_interval call If a key is pressed while collecting the routine will return immediately The return value will be zero if a key was pressed and the total time in micro seconds if a block was successfully collected When collecting data from just one channel the parameter for the other buffer can either be ...

Страница 18: ...ll be zero if a key was pressed and the total in micro seconds if a block was successfully collected When collecting data from just one channel the parameter for the other buffer can either be set to NULL or pointed at the same buffer Arguments times buffer_a buffer_b no_of_values Returns 3 3 15 adc100_get_unit_info PREF1 short PREF2 adc100_get_unit_info char str short str_lth short line short por...

Страница 19: ...3 3 17 adc100_apply_fix PREF1 void PREF2 adc100_apply_fix unsigned int fix unsigned int value Some PCs have non Centronics compliant parallel ports The ADC 100 requires a small grey adapter supplied with the unit between the ADC 100 and the parallel cable This driver usually auto detects the adapter but occasionally you will need to use this function to force the adapter into being used Arguments ...

Страница 20: ... console example program is a generic windows application ie it does not use Borland AppExpert or Microsoft AppWizard To compile the program create a new project for a Console Application containing the following files a100con c either adc10032 lib Borland 32 bit applications or adc100ms lib Microsoft Visual C 32 bit applications The following files must be in the same directory adc100w h adc10032...

Страница 21: ...er lib directory You will then find three sub vis to access the ADC 100 and ADC 101 Adc100_single takes a single reading from a specified port and channel adc100_example shows how to call adc100_single repeatedly Adc100_block shows how to collect a block of data at high speeds 3 4 5 Visual Basic Version 4 and 5 32 bits The DRIVERS subdirectory contains the following files ADC10032 VBP ADC10032 BAS...

Страница 22: ...ADC 100 User s Guide 20 Copyright 2004 2007 Pico Technology Limited All rights reserved adc100 en ...

Страница 23: ... 11 adc100_get_values 15 adc100_is_streaming 11 adc100_open_unit 9 adc100_ready 12 adc100_run 11 adc100_set_interval 14 adc100_set_trigger 13 adc100_set_unit 10 adc100_stop 12 C C 18 C 18 Contact details 4 D Delphi 18 Drivers 7 E Excel 19 H HP Vee 19 I Installation 1 Introduction 1 L Labview 19 Legal information 3 Linux 19 S Safety warning 2 Scaling 5 Specification 5 Streaming 5 V Visual Basic 19 ...

Страница 24: ...ADC 100 User s Guide 22 adc100 en Copyright 2004 2007 Pico Technology Limited All rights reserved ...

Страница 25: ... Ltd The Mill House Cambridge Street St Neots PE19 1QB United Kingdom Tel 44 0 1480 396 395 Fax 44 0 1480 396 296 Web www picotech com Copyright 2004 2007 Pico Technology Limited All rights reserved adc100 en 1 10 07 ...

Отзывы: