Home
uDAQ-lite Manual - EAGLE Technology
Contents
1. Input High 2 0 5 25 V Input Low 0 5 0 8 V Output High Ta 25 C with 2 4 V Output Low respect to 0 8 V Clock Source ground 2 50 duty cycle MHz Resolution 16 up counter Bit Counter Reload 1 5 2 uSeconds Eagle Technology Copyright 2005 www eagledag com 24 pDAG Lite User Manual Eagle Technology Data Acquisition External Clock Ta 25 C with 500 Falling Edge KHz Output Pulse High respect to 0 9 1 0 uSeconds Output Frequency ground 100 KHz Analog Output Characteristics Parameter Condition Spec Unit Number of channels 2 Resolution 12 Bits Maximum Output Ta 25 C with 10 V Minimum Output respect to 10 V Output current analog ground 5 mA Zero offset error 2 mV Full scale error 30 mV Analog Input Characteristics Parameter Condition Spec Unit Number of channels 8 single ended 4 differential ended Acquisition speed 49 KHz Resolution 12 bit Bits Input range single ended Ta 25 C 10 V Input range differential ended with respect to 20 10 5 4 2 5 2 1 25 1 V Input impedance analog ground 2 MQ Trigger source Software or external TRIGGER Clock source Internal or external master or slave configuration Conversion Characteristics External Clock SLAVE pin Param
2. pDAG Lite User Manual Eagle Technology Data Acquisition Digital UO Return Query Codes Codes 28 C ORDERING INFORMATION 29 Eagle Technology Copyright 2005 www eagledaq com V pDAG Lite User Manual Eagle Technology Data Acquisition Table of Figures Figure 4 1 EDR Enhanced Deeg Su Lia 11 Figure 4 2 Counter Timer Architecture A 13 Figure 9 1 Galibration Gable cia ai 21 Eagle Technology Copyright 2005 www eagledaq com vi pDAG Lite User Manual Eagle Technology Data Acquisition Table of Tables Table 2 1 Operating System SUpport e ee eee eree 3 T ble 4 1 Counter eegnen eege dree aiar aa 13 Table 4 2 Counter Configuration ii 14 Table 4 3 Gate Configuratio naoinear iaa aoid eiei iaat aaoi a a aa 15 Table 4 4 Assigned DAC Chanhel cv iii ia 15 Table 4 5 Assigned Analog Input Channels AAA 16 Table 5 1 Analog Multimeter Requirements sz eee eee 20 Table 5 2 Analog Source Requirements AAA 21 Table 5 3 Calibration Cable Connections tetek irsz eke kez eke ak ISO EES ERES SERENAS 21 Table 9 4Galibration PIOCEOUFE criar iene Ein iaia 22 Table 5 5 Operating Conditions Voiding Calibration AAA 23 Eagle Technology Copyright 2005 www eagledaq com vii DAQ Lite User Manual Eagle Technology Data Acquisition 1 Introduction The uDAQ Lite devices are Universal Serial Bus architecture data acquisition devices They
3. are part of the uDAQ series more specifically digital UO and Analog I O for USB The uDAQ Lite has support for eight digital input eight digital output lines one counter two analog output and eight analog inputs Features The uDAQ Lite series has some very unique features and are listed below USB Revision 1 1 compliant full speed Powered by USB port TTL compatible digital I O ports 16 bit counter timer Channel list and voltage range scanning 49 KHz 12 bit Analog I O resolution Quick and effortlessly to install Applications The uDAQ Lite series can be used in the following applications Automation test equipment TTL compatible status monitoring Plant Factory process control Pulse counting Controlling and monitoring of any TTL compatible equipment Mobile computing Laboratory applications Key Specifications 1 x 8 bit digital output port 1 x 8 bit digital input port 1 x 16 bit counter Fully programmable digital input output system Fully programmable counter timer system 12 bit Resolution analog input system with a max range of 10 volt Fully programmable channel gain list 49 KHz 12 bit Resolution analog output system with a range of 10 volt Eagle Technology Copyright 2005 www eagledaq com 1 pDAG Lite User Manual Eagle Technology Data Acquisition Software Support The uDAQ Lite series is supported by EDRE SDK and has an extensive range of examples The software wil
4. 3 pDAG Lite User Manual Eagle Technology Data Acquisition Installation This section will describe how to connect your USB device to your computer a Select any unused USB port and plug in the A side of the USB cable a Pug in the B side of the cable into the USB device The operating system should immediately detect a new device was installed PnP Installation Installing the Windows 98 2000 XP device driver is a very straightforward task Because it is plug and play Windows will detect a new device was installed No setup is necessary You simply have to supply Windows with a device driver Wait until Windows detects the new hardware Hardware Update Wizard Welcome to the Hardware Update Wizard This wizard helps you install software for uDAG Lite DN If your hardware came with an installation CD E or floppy disk insert it now What do you want the wizard to do O Install the software automatically Recommended Install from a list or specific location Advanced Click Next to continue Select the Advanced option and click Next Eagle Technology Copyright 2005 www eagledaq com 4 DAQ Lite User Manual Eagle Technology Data Acquisition Found New Hardware Wizard Please choose your search and installation options Ne Y 6 Search for the best driver in these locations Use the check boxes below to limit or expand the default search which includes local paths and removab
5. PCI tem Information amp USB Serial Number 1000000101 C 1000000101 Device Index 0 w ISA Name MircoDAQ Lite ETHERNET Board Type 8448 Driver Version 1 1 1 a SERIAL Firmware Version 1 0 0 m PC104 Manufactured On 12 10 2005 Revision 1 Base Address FFFFFFFF Hex Interrupt Level Not Available Connection WDM Windows 2000 ADC Channels 8 DAC Channels 2 PI PN API Version 3 5 0 lt Show Startup Screen Help x Cancel Application Software The EDR Enhanced Software Development Kit CD Rom comes with WaveView for Windows WaveView has support for Analog Inputs Analog Outputs Digital I O WaveView can be found on the EDR Enhanced CD Rom Normally located in lt CDROM gt EDRE APPS WVFW directory Eagle Technology Copyright 2005 www eagledaq com 8 DAQ Lite User Manual Eagle Technology Data Acquisition 3 Interconnections The uDAQ Lite has connectors for digital I O counter timers and analog I O The uDAQ Lite make use of screw terminals for easy access The screw terminal has a hole diameter of 1 15mm 0 03mm Pin Assignments desco 0000000 Eagle Technology Copyright 2005 www eagledaq com 9 pDAG Lite User Manual Eagle Technology Data Acquisition Pin Descriptions Channel CHO 7 Channel can symbolize a digital input digital output analog input or analog output Analog Ground AGND These lines are the analog reference ground the analog inputs and
6. a counter s configuration A return code will indicate if any errors occurred ACTIVEX CALL Long EDRECTX Configure long ct long mode long type ulng source ulng gate The counter number mode type clock source and gate source is needed to specify a counter s configuration A return code will indicate if any errors occurred The uDAQ Lite only uses the counter clock and gate parameters The table below shows the options for each parameter Parameter Description Sn i Serial Number Ct i Counter Number i 0 Counter 0 Mode i NOT USED Type NOT USED Source 0 Internal 2 MHz 1 External External connector Gate i 0 Internal i 1 External External connector Table 4 2 Counter Configuration Controlling the counter gate A single call is necessary to control a counter s gate API CALL Long EDRE_CTSoftGate ulng Sn ulng Ct ulng Gate The serial number counter number and gate are needed to control a Counters gate A return code will indicate if any errors occurred ACTIVEX CALL Long EDRECTX SoftGate ulng Ct ulng Gate The counter number and mode is needed to control a counter s gate A return code will indicate if any errors occurred These values are acceptable as a gate source Eagle Technology Copyright 2005 www eagledaq com 14 pDAG Lite User Manual Eagle Technology Data Acquisition Table 4 3 Gate Configuration Analog Output The uDAQ Lite has 2 x 12 bit analog output cha
7. cables Banana type plugs can be used to connect to the calibration instruments Si Yoltage Source E isi Voltage Meter o a o Sen Voltage Met otage er C Figure 5 1 Calibration Cable Software The uDAQ lite require that the device software must be installed and operational If not see the Installation chapter to setup the device The next step is to install the calibration software for the uDAG lite Software Installation The software to calibrate the uDAQ lite can be found on the Eagle Technology CDROM at lt EAGLECD gt EDRE APPS uDAgGlite_cal The installation application will place a short cut under Eagle Technology on the Windows Menu System Operation The software application will indicate the current step and a description of what to do Use the buttons at the bottom to navigate The slider bar is used to adjust the setting The mouse roller button or the keyboard arrow keys can be used for fine adjustment The indicator box will show any readings if they are relevant to the current step If the device does not respond to the adjustments it can be caused by the wrong wiring connection Factory settings can be reloaded by pushing the Load Factory Settings button Eagle Technology Copyright 2005 www eagledaq com 21 pDAG Lite User Manual Eagle Technology Data Acquisition Procedure and Methodology The table below indicates the purpose in calibrating the analog device Follow the steps as below The s
8. 6 Bipolar Analog Input Short circuit Connect channel 6 CH6 to analog ground AGND Move the Single ended offset slider until you get the analog reading to hover around 0 V 9 CH7 Bipolar Analog Input Short circuit Connect channel 7 CH7 to analog ground AGND Move the Single ended offset slider until you get the analog reading to hover around 0 V 10 CHO Bipolar Analog Input Short circuit To calibrating differential channel 0 connect channel 0 CHO Differential ended to channel 1 CH1 Move the slider until you get the analog offset reading hovers around 0 V 11 CHI Bipolar Analog Input Short circuit To calibrating differential channel 1 connect channel 2 CH2 Differential ended to channel 3 CH3 Move the slider until you get the analog offset reading hovers around 0 V 12 CH2 Bipolar Analog Input Short circuit To calibrating differential channel 2 connect channel 4 CH4 Differential ended to channel 5 CH5 Move the slider until you get the analog offset reading hovers around 0 V 13 CH3 Bipolar Analog Input Short circuit To calibrating differential channel 3 connect channel 6 CH6 Differential ended to channel 7 CH7 Move the slider until you get the analog offset reading hovers around 0 V 14 Gain Analog Inputs Voltage Source Connect a very accurate 10 V source across channel 0 CHO to analog ground AGND Move the slider until you get the analog reading to hover around 10 V 15 CHO offset Analog Output Multimeter Connect
9. DAQ Lite User s Manual Eagle Technology Cape Town South Africa Copyright 2005 www eagledag com pDAG Lite User Manual Eagle Technology Data Acquisition uDAQ Lite Remote Devices Data Acquisition and Process Control Eagle Technology 31 35 Hour Street e Cape Town e South Africa Phone 27 21 423 4943 e Fax 27 21 424 4637 Email eagle eagle co za Eagle Technology Copyright 2005 www eagledaq com i pDAG Lite User Manual Eagle Technology Data Acquisition Copyright All rights reserved No part of this publication may be reproduced stored in a retrieval system or transmitted in any form or any means electronic mechanical by photographing recording or otherwise without prior written permission Copyright Eagle Technology South Africa November 2005 Revision 1 1 Information furnished in this manual is believed to be accurate and reliable however no responsibility is assumed for its use or any infringements of patents or other rights of third parties which may result from its use Trademarks and Logos in this manual are the property of their respective owners Product Warranty Eagle Technology South Africa warrants its products from defect in material and workmanship from confirmed date of purchase for a period of one year if the conditions listed below are met The product warranty will call the Eagle Technology Data Acquisition Device short as ETDAQD e The warranty does not
10. DRVMINOR DRVBUILD ADNUMCHAN ADNUMSH ADMAXFREQ ADBUSY ADFIFOSIZE ADFIFOOVER ADBUFFSIZE ADBUFFOVER ADBUFFALLOC ADUNREAD ADEXTCLK ADEXTTRIG ADBURST ADRANGE DANUMCHAN DAMAXFREQ DABUSY DAFIFOSZ CTNUM CTBUSY DIONUMPORT DIOQRYPORT DIOPORTWIDTH INTNUMSRC INTSTATUS INTBUSCONNECT INTISAVAILABLE INTNUMTRIG Description i Query EDRE API major version number i Query EDRE API minor version number i Query EDRE API build version number i Query EDRE API OS type Query number of devices installed Query a board s type Query a board s revision i Query a board s manufactured year i Query a board s manufactured month i Query a board s manufactured day Query a board s serial number Query a drivers major version number i Query a drivers minor version number i Query a drivers build version number i Query number of ADC channel i Query number of samples and hold channels Query maximum sampling frequency Check if ADC system is busy i Get ADC hardware FIFO size i Check for FIFO overrun condition i Check software buffer size i Check for circular buffer overrun i Check if software buffer is allocated Get number of samples available i Get status of external clock line PCI30FG i Get status of external trigger line PCI30FG Check if burst mode is enabled i Get ADC range i Query number of DAC channels Query maximum DAC output frequency i Check if DAC system is
11. D_VALUE i i Configuration value specified out of range EDRE_BAD_CT i i Counter timer channel out of range EDRE_BAD_CHANLIST Channel list invalid EDRE_BAD_CONFIG i i Configuration invalid EDRE BAD MODE Mode not valid EDRE_HW_ERROR Hardware error occurred EDRE_HW_BUSY Hardware busy EDRE BAD BUFFER i i Buffer invalid EDRE_REG_ERROR i Registry error occurred EDRE OUT RES i i Out of resources EDRE IO PENDING Waiting on I O completion Digital UO Return Query Codes Codes Name WEI Description DIOOUT Port is an output DIOIN Port is an input DIOINOROUT i 2 i Port can be configured as in or out DIOINANDOUT i i Portis an input and an output Eagle Technology Copyright 2005 www eagledaq com 28 DAQ Lite User Manual Eagle Technology Data Acquisition C Ordering Information For ordering information please contact Eagle Technology directly or visit our website www eagledag com They can also be emailed at eagle eagle co za Eagle Technology Copyright 2005 www eagledaq com 29
12. I 11 Digital Inputs Outputs 12 Reading the Digital Inputs 12 Writing to the Digital Outputs 12 Counter 13 Architecture 13 Writing the initial counter value 13 Reading the counter value 14 Configuring a counter 14 Eagle Technology Copyright 2005 www eagledaq com iii pDAG Lite User Manual Eagle Technology Data Acquisition Controlling the counter gate 14 Analog Output 15 Writing to a DAC channel 15 Analog Input 16 Reading a single voltage from a channel 16 Configuring the ADC subsystem for scanning 17 Starting and Stopping the ADC process 18 Driver buffer functions 18 Querying the ADC subsystem 19 5 CALIBRATION 20 Calibration Procedure uDAQ lite 20 Equipment 20 High Precision Multimeter 20 High Precision Voltage Source 20 Coaxial Calibration Cable 21 Software 21 Software Installation 21 Operation 21 Procedure and Methodology 22 Calibration Validity and Operating Conditions 23 Reset Factory Settings 23 A SPECIFICATIONS 24 Absolute maximum ratings 24 Digital Input Output Characteristics 24 Counter Timer Characteristics 24 Analog Output Characteristics 25 Analog Input Characteristics 25 Conversion Characteristics 25 External Clock SLAVE pin 25 External Trigger TRIGGER pin 25 Master Output MASTER pin 25 Bus Interface 26 Power Requirements 26 Environmental Physical 26 Connectors 26 B CONFIGURATION CONSTANTS 27 Query Codes 27 Error Codes 28 Eagle Technology Copyright 2005 www eagledaq com iv
13. a voltmeter that can measure accurately down to mV over analog output 0 CHO and analog ground AGND Move the slider until the voltmeter reading hovers around OV 16 CHI offset Analog Output Multimeter Connect a voltmeter that can measure accurately down to 1 mV over analog output 1 CH1 and analog ground AGND Move the slider until the voltmeter reading hovers around OV 17 CHO gain Analog Output Multimeter Connect a voltmeter that can measure accurately down to 1 mV over analog output 0 CHO and analog ground AGND Move the slider until the voltmeter reading hovers around 8V CH1 gain Analog Output Multimeter Connect a voltmeter that can measure accurately down to 1 mV over analog output 1 CH1 and analog ground AGND Move the slider until the voltmeter reading hovers around 8V 18 Save Calibration All None To save these settings click on Save or click on Exit to Values discard changes 4 Table 5 4 Calibration Procedure Eagle Technology Copyright 2005 www eagledaq com 22 pDAG Lite User Manual Eagle Technology Data Acquisition Calibration Validity and Operating Conditions The uDAQ lite will perform as specified when operating under normal conditions as set in the specification appendix However there are conditions where the device can behave outside these preset specifications The following has an effect on the accuracy of the device It would be good practice to recalibrate the dev
14. apply to an ETDAQD that has been previously repaired altered extended by any other company or individual outside the premises of Eagle Technology e That a qualified person configure and install the ETDAQD and damages caused to a device during installation shall make the warranty void and null e The warranty will not apply to conditions where the ETDAQD has been operated in a manner exceeding its specifications Eagle Technology South Africa does not take responsibility or liability of consequential damages project delays damaging of equipment or capital loss as a result of its products Eagle Technology South Africa holds the option and final decision to repair or replace any ETDAQD Proof of purchase must be supplied when requesting a repair Eagle Technology Copyright 2005 www eagledaq com ii pDAG Lite User Manual Eagle Technology Data Acquisition L INTRODUCTION 1 Features 1 Applications 1 Key Specifications 1 Software Support 2 Contact Details 2 2 INSTALLATION 3 Package 3 Operating System Support 3 Installation 4 PnP Installation 4 Post installation 6 Application Software 8 3 INTERCONNECTIONS 9 Pin Assignments 9 Pin Descriptions 10 Channel CHO 7 10 Analog Ground AGND 10 Reference REF 10 Analog Trigger TRIGGER 10 Master Clock MASTER 10 Slave Clock SLAVE 10 Digital Ground DGND 10 Counter Input IN 10 Counter Output OUT 10 Counter Gate GATE 10 4 PROGRAMMING GUIDE 11 EDR Enhanced AP
15. busy i Get DAC FIFO size i Query number of counter timer channels Check if counter timer system is busy i Query number of digital I O ports Query a specific port for capabilities i Get a specific ports width i Query number of interrupts sources i Queries interrupt system s status i Connect interrupt system to bus i Check if an interrupt is available Check number times interrupted Eagle Technology Copyright 2005 www eagledaq com 27 pDAG Lite User Manual Eagle Technology Data Acquisition Error Codes i Description EDRE_OK Function successfully EDRE_FAIL i Function call failed EDRE_BAD_FN i i Invalid function call EDRE BAD SN i i Invalid serial number EDRE_BAD_ DEVICE i Invalid device EDRE_BAD_OS i i Function not supported by operating system EDRE_EVENT_FAILED Wait on event failed EDRE_EVENT_TIMEOUT i i Event timed out EDRE_INT_SET i i Interrupt in use EDRE_DA_BAD_RANGE i i DAC value out of range EDRE_AD_BAD_CHANLIST i Channel list size out of range EDRE_BAD_FREQUECY i i Frequency out of range EDRE BAD BUFFER SIZE Data passed by buffer incorrectly sized EDRE_BAD_PORT i Port value out of range EDRE_BAD_PARAMETER d Invalid parameter value specified EDRE_BUSY i i System busy EDRE_IO_FAIL i i IO call failed EDRE_BAD_ADGAIN i i ADC gain out of range EDRE_BAD_QUERY Query value not supported EDRE_BAD_CHAN Channel number out of range EDRE_BA
16. data one for copying voltages another to copy the raw data The raw data is significantly faster as for the data does not have to be converted to voltages before copying it to the user buffer The raw data also occupies less space than the micro voltage buffer There are also functions to write data to disk as the user buffer get copied Refer to the EDR Enhanced programming manual for a reference to these functions API CALL Long EDRE_ADGetData ulng Sn plong Buf pulng BufSize ACTIVEX CALL Long EDREADX GetData plong Buffer plong Size To retrieve data from the driver buffer the serial number need to be supplied a buffer to hold the data and the size of the buffer or requested number of samples The driver will only copy Eagle Technology Copyright 2005 www eagledaq com 18 pDAG Lite User Manual Eagle Technology Data Acquisition the number of available samples in multiple of the channel list For the ActiveX call only the buffer and size need to be supplied Querying the ADC subsystem The driver can be queried to check the status of the ADC subsystem The number of unread samples is one example The appendix has a list of all possible query codes API CALL Long EDRE_Query ulng Sn ulng QueryCode ulng Param A serial number query code and parameter must be specified when doing a query ACTIVEX CALL Long EDREADX GetUnread This function automatically queries the ADC driver buffer for the number of available sampl
17. e that you use the correct format when applying the channel list configuration There are many loopholes and care should be taken when implementing code to configure the uDAQ Lite API CALL Long EDRE_ADConfig ulng Sn pulng Freq ulng CikSrc ulng Burst ulng Range pulng ChanList pulng GainList ulng ListSize The following parameters must be specified when configuring the ADC sub system Parameter i Description Sn Unsigned long Device serial number Frequency Pointer to an ADC Sampling frequency unsigned long ClkSre i Unsigned long This parameter is used to configure the clock convert source of the ADC sub system i Offset bits Description 0 Clock Source C0 C7 0 Internal 2 MHz clock 1 External SLAVE Trigger Source G0 G7 0 Disable 1 External Trigger TRIGGER Example Layout i 15 14 133 12 11 10 6 5 G7 G6 G5 G4 G3 G2 C6 C5 Burst Unsigned long Not Used Range i Unsigned long i Not used ChanList Pointer to an This is a pointer to an array that contains the list of channels to be scanned The array length should be the i unsigned long i same length as the value of ListSize GainList Pointer to an GainList is an array that contains the gain range settings for each channel in the scan list The array length unsigned long should the same as the ListSize value Offset bits Description 0 Specifies the gain of the channe
18. e recalibrated Table 5 5 Operating Conditions Voiding Calibration Reset Factory Settings If you wish to reload the factory calibration settings you can simply click on Load Factory Settings This will load the calibration setting that was stored in the device at manufacturing To save these settings simply click on Save These setting will be saved and the program will exit The new calibration values will be loaded once the device has been restarted Eagle Technology Copyright 2005 www eagledaq com 23 DAO Lite User Manual A Specifications Absolute maximum ratings Eagle Technology Data Acquisition Parameter Symbol Condition Rating Unit Digital Input Voltage Vdi 0 5 to 5 0 V Digital Output Voltage Vdo 0 5 to 5 0 V Digital Output Current Vdoc Ta 25 C with respect 20 0 mA Analog Input Voltage Vai to ground 35 V Analog Output Voltage Vao 10 V Analog Output Current Vao 2 0 mA Storage Temperature Tstg 50 to 150 Se Operating Temperature Tstg 0 to 70 SC Power Dissipation Pd Ta 25 C 10 0 W Digital Input Output Characteristics Parameter Symbol Condition Min Typ Max Unit Input High Vih 2 0 V Input Low Vil CORONE 0 8 N Output High Voh eg Si ao 49 5 0 V Output Low Vol S Gen an 0 0 01 V Output Source Sink Current lo 20 0 mA Input Source Sink Current li 2 0 mA Counter Timer Characteristics Parameter Condition Min Max Spec Unit
19. error or the value read If the value is negative an error did occur Writing to the Digital Outputs A single call is necessary to write to a digital output port The Port parameter will always be equal to 0 because there is only one output port available API CALL Long EDRE_DioWrite ulng Sn ulng Port ulng Value The serial number port and a value must be passed by the calling function A return code will indicate if any errors occurred ACTIVEX CALL Long EDREDioX Write long Port long Value The port number and value to be written needs to be passed and the returned value holds an error or the value read If the value is negative an error did occur Eagle Technology Copyright 2005 www eagledaq com 12 pDAG Lite User Manual Eagle Technology Data Acquisition Counter The counter sub system is supported by functions to Write Read Configure and controlling the gate There is only 1 counter The table below shows the relation of the counter and its software assigned number Counter Assigned Number Description CTO i 0 i Counter 0 Table 4 1 Counter Assignment Gounter Timer Architecture Oscillator 2 MHz External Clock Pin Clock Source Select n Counter Gut Software Gate External Gate Fin Gate Source Select Figure 4 2 Counter Timer Architecture Architecture The clock source and gate can be selected via software The clock source can either be internal or external The gate can als
20. es Eagle Technology Copyright 2005 www eagledaq com 19 DAQ Lite User Manual Eagle Technology Data Acquisition 5 Calibration If the device needs to be calibrated the software can be found on the EDR Enhanced SDK CD Rom Normally located in lt CDROM gt EDRE APPS uDAQlite_cal directory This application provides step by step information of how to calibrate your device Make sure that you have a high precision multimeter and calibration voltage source This will help to configure your device more accurately Calibration Procedure uDAQ lite 1 Install the USB Calibration Software lt CDROM gt EDRE APPS uDAQlite_cal 2 Run the USB Calibration Software 3 Follow the step by step information on screen to tune your device 4 Make sure to save the data to your device Equipment The following calibration equipment is required to calibrate the uDAQ lite If the calibration equipment does conform to these specifications it will not be possible to calibrate the device accurately High Precision Multimeter A high precision multimeter is required to measure output analog voltages The HP3478A digital multimeter is an example of such a device This device is used as standard test equipment to calibrate the uDAQ lite Make sure the device conform to its own calibration requirements and that it is serviced regularly The device requirements are the following i Specification Voltage Range i 10V to 10V Type i Analog In
21. eter Condition Min Max Spec Unit Input High 2 0 5 25 V Input Low Ta 25 C with 0 5 0 8 V Maximum Rate respect to 35 KHz Conversion ground Rising Edge Clock Source 50 duty cycle External Trigger TRIGGER pin Parameter Condition Min Max Spec Unit Input High ram 2 0 5 25 V Input Low Ri Se Sc S 05 0 8 V External Trigger p grou 1 0 Rising Edge uSecond Master Output MASTER pin Parameter Condition Min Max Spec Unit Pulse 0 9 1 0 uSeconds Ta 25 C with Output High 4 5 5 0 V Output Low respect to ground 0 08 V Eagle Technology Copyright 2005 www eagledag com 25 pDAG Lite User Manual Eagle Technology Data Acquisition Bus Interface Bus Type Universal Serial Bus Revision 1 1 Bus Speed USB Full Speed 12 Mega bit per second Controller USB Serial Interface Endpoint Compliant Voltage 5V Power Requirements Device Typical Power Source UDAQ lite 350 mA USB Power Environmental Physical Relative Humidity 0 to 90 non condensing Operating Temperature 0 C to 70 C Housing Plastic Casing Dimension Height 35mm Width 80mm Length 148mm Connectors The screw terminal has a hole diameter of 1 15mm 0 03mm Eagle Technology Copyright 2005 www eagledaq com 26 pDAG Lite User Manual Eagle Technology Data Acquisition B Configuration Constants Query Codes APIMAJOR APIMINOR APIBUILD APIOS APINUMDEV BRDTYPE BRDREV BRDYEAR BRDMONTH BRDDAY BRDSERIALNO DRVMAJOR
22. ice specifically for this environment Condition 1 One year since last t is advisable that the device be recalibrated every year if calibration ighest accuracy is required 2 Harsh operating conditions f the unit operates in a harsh area like factories it is dvisable that the unit recalibrated each year 1 and service very five 5 years 3 High Low temperatures Extreme temperature can effect to operation of the device he identities of the analog circuit will certainly changes nder extreme temperatures The solution would be to ecalibrate the unit within these conditions 4 Above average humidity f the device operates in high humidity it can cause the unit 0 degrade in performance over time The device needs to e calibrated and serviced more frequently 5 Exceeding analog input output Ifthe device was driven outside its operating region it can specifications ffect the accuracy of the device It would be best practice to ecalibrate or in severe case to service the device 6 Lightning strike n the case of such an event the device need to be checked nd tested by the manufacturer to prevent costly secondary amage 7 Exceeding power input f the power input was to high or of the wrong type the unit an be severely damaged 8 Extensive long storage Make sure the device is stored in a static free environment inside the original packaging If the device was stored for an extensive period it will need to b
23. ifferential Differential Differential i Differential i Differential Differential i Differential i Differential NDUIDWNS ON Table 4 5 Assigned Analog Input Channels Reading a single voltage from a channel To reada single ADC channel you need to specify the channel voltage range and gain API CALL Long EDRE_ADSingle uIng Sn ulng Channel ulng Gain ulng Range plong uVoltage Parameter Type Description Sn Unsigned long Device serial number Channel i Unsigned long ADC channel to read Gain i Unsigned long i Gain Codes i Value Single ended Differential ended Gain Gain X 10V X 20V X 10V X 5V X 4V X1 2 5V X 1 25 2V X 2 1 25V X 2 5 1V NY OD ony A co po Range Unsigned long Range Codes i i Value Range 0 BIPOLAR SINGLE ENDED i i 1 BIPOLAR DIFFERENTIAL ENDED uVoltage Pointer to long Returned micro voltage Return i long i Error code ACTIVEX CALL Long EDREADX SingleRead long Channel Make sure to set the Gain and Range properties of the ADC ActiveX control This will in turn set the range and gain when reading the ADC channel Eagle Technology Copyright 2005 www eagledaq com 16 pDAG Lite User Manual Eagle Technology Data Acquisition Configuring the ADC subsystem for scanning This is the most complicated part of configuring the uDAQ Lite for auto scanning Make sur
24. l G Value Single ended Differential ended Gain Gain X 10V X 20V X 10V X 5V X 4V X 1 2 5V X 1 25 2V X 2 1 25V 7 X 2 5 1V Specifies the range of the channel R Value Range 0 BIPOLAR SINGLE ENDED 1 BIPOLAR DIFFERENTAIL ENDED Example Layout 15 14 13 10 R7 R6 R5 R2 ListSize unsignedlong i This is the length of the channel li Return i long Error code ACTIVEX CALL Long EDREADX Configure plong Channels plong Gains long ListSize The Frequency and ClockSource ADC ActiveX control must be setup before calling the configure function See the above table for the layout of the Channels and Gains lists EDREADX Frequency Eagle Technology Copyright 2005 www eagledaq com 17 pDAG Lite User Manual Eagle Technology Data Acquisition This is the sampling frequency of the ADC process This parameter must be set before calling the Configure method After calling the Configure method the Frequency property will be set to the actual sampling frequency EDREADX ClockSource The clock source property is used to specify the clock settings for the ADC process Offset bits Description 0 Clock Source C0 C7 0 Internal 2 MHz clock 1 External Convert SLAVE 8 Trigger Source G0 G7 0 Disable 1 External Trigger TRIGGER Example La
25. l help you to get your hardware going very quickly It also makes it easy to develop complicated control applications All operating system drivers utility and test software are supplied on the EDR Enhanced CD Rom The latest drivers can also be downloaded from the Eagle Technology website For further support information see the Contact Details section Contact Details Below are the contact details of Eagle Technology Eagle Technology PO Box 4376 Cape Town 8000 South Africa Telephone 27 021 423 4943 Fax 27 021 424 4637 E Mail eagle eagle co za Website http www eagledag com Eagle Technology Copyright 2005 www eagledaq com 2 DAQ Lite User Manual Eagle Technology Data Acquisition 2 Installation This chapter describes how to install and configure the uDAQ Lite device for the first time Minimal configuration is necessary almost all settings are done through software The operating system will take care of all resource assignments Package uDAQ package will contain the following e uDAQ Lite device e USB cable e Software CD Rom Operating System Support The uDAQ Lite series support the Windows Driver Models WDM driver types The operating systems are listed in the table below Board Type _ Revision Operating Systems Driver Type uDAQ Lite Revision 1 i Wind 2000 98 ME X i WDM PnP Table 2 1 Operating System Support Eagle Technology Copyright 2005 www eagledaq com
26. le media The best driver found will be installed C Search removable media floppy CD ROM Include this location in the search DE dre drivers wdm uDAGlite v O Dont search will choose the driver to install Choose this option to select the device driver from a list Windows does not guarantee that the driver you choose will be the best match for your hardware Select Search for the best driver in these locations You can enter the directory path on the CDROM where the driver can be found or select to Browse the CDROM If you opt to browse search for the uDAQlite inf file on the Eagle CD Rom The driver is normally located in the lt CDROM gt EDRE DRIVERS WDM uDAQlite directory Click Next Eagle Technology Copyright 2005 www eagledaq com 5 DAQ Lite User Manual Eagle Technology Data Acquisition Found New Hardware Wizard Completing the Found New Hardware Wizard The wizard has finished installing the software for WD USE uDAQ lite device The hardware you installed will not work until you restart your computer Click Finish to close the wizard When done you might have to restart your computer Post installation When done with the driver installation the device manager can be open to make sure the installation was a success e First make sure that the driver is working properly by opening the Device Manager e Check under the Eagle Data Acquisition list if you
27. nnels with a range of 10 volt These channels are very easy to program A single command is used to write to them Writing to a DAC channel A single call is necessary to set a voltage on a DAC channel The table below shows the relation between the software channel and the channel on the connector Assigned Assigned Software i Connector Channel Pin Table 4 4 Assigned DAC Channels API CALL Long EDRE DAWrite ulng Sn ulng Channel long uVoltage The serial number DAC channel and micro voltage is needed to set a DAC channels voltage A return code will indicate if any errors occurred ACTIVEX CALL Long EDREDAX Write ulng Channel long uVoltage The DAC channel and micro voltage is needed to set a DAC channel s voltage A return code will indicate if any errors occurred Eagle Technology Copyright 2005 www eagledaq com 15 pDAG Lite User Manual Eagle Technology Data Acquisition Analog Input The uDAQ Lite has a very flexible analog input sub system Configuration includes dynamic range gain and differential or single ended inputs Each of these settings can be applied to an individual channel while scanning The analog inputs can operate in two modes single read or scanning Only one mode can be used at a single moment The table below shows the relation between the software assigned channels and the connector Software Type Pin Assigned Input Reference Channel o i Single i Single i D
28. o be either inter or external The internal gate is controlled via software as well Writing the initial counter value A single call is necessary to write a counters initial load value API CALL Long EDRE_CTWrite ulng Sn ulng Ct ulng Value The serial number counter number and a value must be passed by the calling function A return code will indicate if any errors occurred ACTIVEX CALL Long EDRECTX Write long Port ulng Value The counter number and a value must be passed by the calling function A return code will indicate if any errors occurred Eagle Technology Copyright 2005 www eagledaq com 13 pDAG Lite User Manual Eagle Technology Data Acquisition Reading the counter value A single call is necessary to read a counter API CALL Long EDRE_CTRead uIng Sn ulng Ct pulng Value The serial number counter number and a reference parameter must be passed by the calling function A return code will indicate if any errors occurred ACTIVEX CALL Long EDRECTX Read long Port The counter number must be passed by the calling function If the return code is negative it means an error occurred otherwise it will be the value read from the counter Configuring a counter A single call is necessary to configure a counter API CALL Long EDRE_CTConfig ulng Sn ulng Ct ulng Mode ulng Type ulng CikSrc ulng GateSrc The serial number counter number mode type clock source and gate source is needed to specify
29. oftware will also show a short description of the process and what to do End the end make sure to save the new settings to the device Sub System Calibration Description Device 1 Getting Ready None None Press Next to start the calibration process Before starting allow for the device to settle to ambient temperature 2 CHO Bipolar Analog Input Short circuit Connect channel 0 CHO to analog ground AGND Move the Single ended offset slider until you get the analog reading to hover around 0 V 3 CHI Bipolar Analog Input Short circuit Connect channel 1 CH1 to analog ground AGND Move the Single ended offset slider until you get the analog reading to hover around 0 V 4 CH2 Bipolar Analog Input Short circuit Connect channel 2 CH2 to analog ground AGND Move the Single ended offset slider until you get the analog reading to hover around 0 V 5 CH3 Bipolar Analog Input Short circuit Connect channel 3 CH3 to analog ground AGND Move the Single ended offset der until you get the analog reading to hover around 0 V 6 CH4 Bipolar Analog Input Short circuit Connect channel 4 CH4 to analog ground AGND Move the Single ended offset slider until you get the analog reading to hover around 0 V 7 CH5 Bipolar Analog Input Short circuit Connect channel 5 CH5 to analog ground AGND Move the Single ended offset slider until you get the analog reading to hover around 0 V 8 CH
30. outputs Reference REF The reference line is used for calibration purpose only and should never be use as a supply voltage Analog Trigger TRIGGER This is the external gate for the analog input sampling system Master Clock MASTER When synchronizing two or more of the uDAQ Lite devices this pin can be used to output a clock frequency The signal are referenced to digital ground DGND Slave Clock SLAVE This pin is used as the external clock source for analog sampling It is used to control the convert timing of the analog to digital converter The signal must be referenced to digital ground DGND Digital Ground DGND AII digital ground signals DIO amp counter should be connected to this pin Counter Input IN The pin is used for the external clock source to the counter The signal must be referenced to digital ground DGND Counter Output OUT This is the output of the counter The signal are be referenced to digital ground DGND Counter Gate GATE The pin is used for the external gate to the counter The signal must be referenced to digital ground DGND Eagle Technology Copyright 2005 www eagledaq com 10 pDAG Lite User Manual Eagle Technology Data Acquisition 4 Programming Guide The uDAQ Lite is supplied with a complete software development kit EDR Enhanced EDRE SDK comes with drivers for many operating systems and a common application program interface API The API also se
31. put Relative Accuracy i 0 1 of 1 bit in 16384 Accuracy lt 1 2 uV Table 5 1 Analog Multimeter Requirements High Precision Voltage Source A high precision voltage source is required to generate input analog voltages The Burster Digistant Typ 4405 is am example of such a device The device is used as standard test equipment to calibrate the uDAQ lite Make sure the device conform to its own calibration requirements and that it is serviced regularly The device requirements are the following Eagle Technology Copyright 2005 www eagledaq com 20 pDAG Lite User Manual Eagle Technology Data Acquisition Specification Voltage Range i OV to 10V Type i Analog Output Relative Accuracy i 0 1 of 1 bit in 16384 Accuracy lt 1 2 uV Table 5 2 Analog Source Requirements Coaxial Calibration Cable A specialized cable is needed to connect the calibration equipment to the device The connection points are the following Source uDAQ and Rugged uDAQ Pin Destination Analog Ground i AGND i 1 Voltage Generator Reference i 2 Voltage Meter Reference Analog Input Channel 0 7 ANALOG INPUTS CHO 7 Voltage Generator Positive Analog Output Channel 0 ANALOG OUTPUTS CHO Voltage Meter Positive Analog Output Channel 1 ANALOG OUTPUTS CH1 Voltage Meter Positive Table 5 3 Calibration Cable Connections The diagram below shows a typical connection cable To reduce external noise effects on the process only use coaxial
32. r board is listed and working properly See picture below Eagle Technology Copyright 2005 www eagledaq com 6 pDAG Lite User Manual Eagle Technology Data Acquisition Device Manager File Action View Help ba e GG a d Computer ep Disk drives 3 Display adapters 425 DVD CD ROM drives Eagle Data Acquisition lt D USB uDAQ lite device T 3 Floppy disk controllers Floppy disk drives 3 IDE ATAJATAPI controllers Keyboards 0 Mice and other pointing devices Monitors B Network adapters Other devices d Ports COM amp LPT g Processors amp SCSI and RAID controllers Sound video and game controllers System devices Universal Serial Bus controllers e Run edreapi exe found on the Eagle CD Rom and follow the on screen instructions Edreapi exe will install activex controls and libraries needed by applications controlling the hardware Normally located in lt CDROM gt EDRE API directory e You can now verify that installation was successful by opening the control panel and then the EDR Enhanced Setup folder This dialog should list all installed hardware Verify your board s properties on this dialog See picture below Eagle Technology Copyright 2005 www eagledaq com 7 pDAG Lite User Manual Eagle Technology Data Acquisition EDR Enhanced Data Acquisition Properties GI About Devices d Serial T TCPAP Installed Devices Bus Topology Information w
33. rves as a hardware abstraction layer HAL between the control application and the hardware The EDRE API makes it possible to write an application that can be used on all hardware with common sub systems EDR Enhanced API The EDR Enhanced SDK comes with both ActiveX controls and a Windows DLL API Examples are provided in many different languages and serve as tutorials EDRE is also supplied with a software manual and users guide The EDRE API hides the complexity of the hardware and makes it really easy to program the uDAQ Lite device It has got functions for each basic sub system and is real easy to learn Figure 4 1 EDR Enhanced Design Eagle Technology Copyright 2005 www eagledaq com 11 pDAG Lite User Manual Eagle Technology Data Acquisition Digital Inputs Outputs The uDAQ Lite device can has 8 digital input and 8 digital output lines All digital lines conform to TTL specifications Reading the Digital Inputs A single call is necessary to read a digital input port The Port parameter will always be equal to 0 because there is only one input port available API CALL Long EDRE_DioRead ulng Sn ulng Port ulng Value The serial number port and a pointer to variable to hold the result must be passed by the calling function A return code will indicate if any errors occurred ACTIVEX CALL Long EDREDioX Read long Port Only the port number needs to be passed and the returned value will either hold an
34. yout 5 14 13 712 11 10 9 TR 7 16 5 4 3 2 1 Jo G7 G6 G5 G4 G3 G2 G1 GO C7 C6 C5 C4 C3 C2 C1 CO Starting and Stopping the ADC process A single call is necessary to start or stop the ADC process API CALL Long EDRE_ADStart ulng Sn A serial number needs to be specified to start the ADC process A returned error code will indicate if the function succeeded ACTIVEX CALL Long EDREADxX Start A call to the start method will start the ADC process of the device too which the Activex control is linked A returned error code will indicate if the function succeeded API CALL Long EDRE_ADStop ulng Sn A serial number needs to be specified to stop an ADC process A returned error code will indicate if the function succeeded ACTIVEX CALL Long EDREADX Stop A call to the start method will stop the ADC process of the device too which the Activex control is linked A returned error code will indicate if the function succeeded Driver buffer functions A single call is necessary copy data from the driver buffer to a user buffer The driver buffer is a large circular buffer that can hold data for a period of time running at full speed This buffer needs to be emptied regularly to make sure it does not overrun The buffer can be queried with number of samples available and other status issues as well There are two functions available to copy
Download Pdf Manuals
Related Search
Related Contents
English Français Deutsch - Manuals, Specs & Warranty truelle à siège (ce) jtn InLine 16431P power extension LED Powerline PLD User Manual 形 F39-PTR/F39-PTJ 取扱説明書 警告 警告 - Psn Add-On Computer Peripherals (ACP) 10GBASE-SR-AO network transceiver module Ariens AX306 Info Copyright © All rights reserved.
Failed to retrieve file