Home

NET uDAQ Manual - EAGLE Technology

image

Contents

1. 9 Table 3 2 NET uDAQ CT Connector DB25 M uu u 10 Table 3 3 pDAQ Analog 1 0 CH15 DB25 M 10 Table 3 4 NET pDAQ Analog 1 0 CH16 CH31 DB25 10 Table 3 5 NET pDAQ Temperature Input DB25 M u 11 Table 3 6 Rugged NET uDAQ CAN bus 9 1 erre eene nennen nnn nnn nnn nnn 11 Table 3 7 Signal deflniee a u u Qu u 11 Table 4 1 NET uDAQ Digital 1 0 Port Assignments 1 1 1 1 1 sees ees 15 TAble 422 Counter ASSIONMON ke koi k ak an kn rann k awa ai ka ap ga kan ka PA 17 Table 4 3 Counter R 501 0 EE 18 Table 4 4 Counter Configuration 19 Table 4 5 Gate Configuration III van an pe ki neun n kwa dp im ou ra sna ne aan etan ae esp nana da bi 19 4 6 55 m nerd cL 21 Table 4 7 Assigned Analog Input Channels cessisse 22 Table 4 8 CJ C Channels Assigned
2. ann apa ena kan pans 27 Table 4 9 Temperature Channels Assigned 28 Table C 1 NET pDAQ Ordering Informatigs aa au natn natn nsn 39 Eagle Technology Copyright 2008 www eagledaq com vii uDAQ Series User Manual Eagle Technology Data Acquisition 1 Introduction The NET uDAQ series are Ethernet type data acquisition devices It makes use of TCP IP over Ethernet and the EDR Enhanced Remote Device protocol connecting at 10 mega bits per second or 100 mega bits per second network The protocols are built into the EDR Enhanced application interface and the user requires no knowledge of network programming The NET uDAQ series has built in Ethernet networking capabilities and TCP IP stack This means that the device can be connected to any existing Ethernet network Features Ethernet 10 100 Mbps compatible Automatic link speed detection Support remote setup and firmware upgrade No knowledge of network programming is needed Powered by an external power supply TTL compatible digital I O ports Quick and effortlessly to install Applications The NET series be used in the following applications Automation test equipment TTL compatible status monitoring Plant Factory process control
3. 3 Operating System SUDDOTL sns u u a sua 3 INS TA AW ON k r Su e san S sS ana S EA qapa SS M 4 e Tete ete eee teinte ete deae 5 Reset IP Addres i aan os osi ensi ao tert tenen soi a dya kaa ape Sodo kon too eaae 7 Configure IP AAANCSS 8 Application Software E 8 NET Setup u a E vin oo D PA NI ZE 8 Wave View for WIRQOWS L a a sa enan ae ea enan sa on anno EEOAE ENEN EENES NENEN ANAE 8 3 INTERCONNECTIONS 9 UNCERT M 9 NET BDAQJDIO s DB25 1M ee Rp asa uH 9 NEEpBDAQ CT zDB254M tendon mat mene 10 NET pDAQ Analog 1 0 DB25 M nnns 10 NET DAQ Temperature Input DB25 M sssssssseeeseseeeeeneenen eerte 11 Rugged uNet DAQ CAN bus 11 Signal DefinitiofiS a aa eat a amata aha aces eite 11 Pin d DE 12 Digital Inputs Outputs 0 7 0 7 PC0 7 Lise 12 External Gate GATE EXT
4. B B B B B B B B B B B B B B B C Eagle Technology Copyright 2008 www eagledaq com 15 uDAQ Series User Manual Eagle Technology Data Acquisition Reading the Digital Inputs A single call is necessary to read a digital I O port 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 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 I O port 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 2008 www eagledaq com 16 uDAQ Series User Manual Eagle Technology Data Acquisition Co
5. NC GATE EXT5 CLK EXT5 CLK EXTO OUT4 GATE EXTO OUTO OUT2 CLK EXT2 CLK_EXT1 GATE_EXT2 OUT1 GATE_EXT1 DGND GATE_EXT4 NC CLK_EXT4 NC OUT3 NC GATE_EXT3 CLK_EXT3 Table 3 2 NET CT Connector DB25 M Pi 1 2 3 4 5 6 7 8 9 DAQ Analog I O DB25 The table below shows the pin assignments for the DB25 M analog I O connectors found on the NET Analog I O ACHO ACH1 ACH2 ACH3 ACHA 5 6 ACH7 ACH8 ACH9 ACH10 ACH11 ACH12 ACH13 ACH14 ACH15 AGND DAC0 DAC1 DAC2 DAC3 10V_REFCAL NC EXT GATE EXT CLK SHELL DGND OQ O G N f SHELL DGND Table 3 4 NET uDAQ Analog I O CH16 CH31 DB25 Eagle Technology Copyright 2008 www eagledaq com 10 Series User Manual Eagle Technology Data Acquisition uDAQ Temperature Input DB25 The table below shows the pin assignments for the DB25 M temperature input connectors found on the NET DAQ Temperature device Pi 1 AGND 14 8 4V 2 AGND 15 12V 3 AGND 16 CJC 4 AGND 17 12V 5 AGND 18 TCH7 6 TCH7 19 TCH6 7 TCH6 20 TCH5 8 TCH5 21 TCH4 9 TCH4 22 TCH3 10 TCH3 23 TCH2 11 TCH2 24 TCH1 12 TCH1 25 TCH0 13 TCH0 26 SHELL DGND Table 3 5 NET uDAQ Temperature Input DB25 M Rugged uNet DAQ CAN bus connector The table below show the pin assignment for the DB9 M CAN bus connector that is only available on the rugged version
6. NET uDAQ Series Digital Counter amp Analog I O User s Manual 180 e Town South Afric DAQ Series User Manual Eagle Technology Data Acquisition Net uDAQ series Remote Devices Data Acquisition and Process Control Eagle Technology 31 35 Hout Street e Cape Town e South Africa Phone 27 21 423 4943 Fax 27 21 424 4637 Email eagle eagle co za Eagle Technology Copyright 2008 www eagledaq com i uDAQ Series 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 March 2008 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 sho
7. B Configuration Constants Query Codes APIMAJOR APIMINOR APIBUILD APIOS APINUMDEV BRDTYPE BRDREV BRDYEAR BRDMONTH BRDDAY BRDSERIALNO DRVMAJOR 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 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 Query a board s manufactured day Query a board s serial number Query a driver s major version number i Query a driver s minor version number i Query a driver s 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 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 Get status of external clock line PCI30FG i Get status of external trigger line P
8. us catene because ien datae bte die 12 External Clock CLK EXT iacta ecce IE eibi 12 OUIDUE sere 12 Digital Ground DG NDJ nit rele Sb beide meat bids 12 Analog Ground rta tbe RR b Ne dehet 12 Analog Inputs ACH tato tb ertet ATE G Oden 12 Analog OutputS4DAC 023 Sun n n S a da ae kasav koi da ea a EN E ted 12 External Clock EXT a u a aaa n ko kan Sa uwa di 12 External Trigger EXT GATE s epee eh ned Sta abe q yas 12 10 Volt Reference Calibration 10 12 Eagle Technology Copyright 2008 www eagledaq com iii uDAQ Series User Manual Eagle Technology Data Acquisition Application Modules amp Accessories 13 N E E AE E A 14 Digital InputS OUtputs u tete 15 Reading the Digital imet eee e e de Sq a 16 Writing to the Digital Outputs U entrent tnter 16 epe 17 Architecture a m eet Beto Hie ne 17 Writing the initial counter value 17 Reading the counter Rr a a GR Ge PARES 18 RR HERREN ERR RARE AN UTR IER
9. Configuration Internal Oscillator Frequency 10MHz The internal oscillator frequency is 10 MHz Eagle Technology Copyright 2008 www eagledaq com 19 uDAQ Series User Manual Eagle Technology Data Acquisition Interrupt Not included in current versions Eagle Technology Copyright 2008 www eagledaq com 20 uDAQ Series User Manual Eagle Technology Data Acquisition Analog Output The NET 30 has 4 x 16 bit analog output channels with a range of 10 volt These channels are very easy to program 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 Software assigned Assigned connector channel Pin Table 4 6 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 channel s 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 2008 www eagledaq com 21 uDAQ Series User Manual Eagle Technology Data Acquisition Analog Input The NET 26 30C has a 16 bit analog
10. an array that contains the gain range settings for each channel in the scan list T should the same as the ListSize value G4 03 G2 an array that contains the list of channels to be scanned The array leng h should be the he array length Offset bits Description 0 Specifies the gain of the channel G Only value of 0 supported Value Gain 0 X1 Example Layout Specifies the range of the channel R Value Range 0 BIPOLAR SINGLE ENDED 1 BIPOLAR DIFFERENTIAL 15 14 13 R7 R6 R5 This is the length of the channel li i Error code 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 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 Eagle Technology Copyright 2008 www eagledaq com 23 uDAQ Series User Manual Eagle Technology Data Acquisition Please Note On the 26 30 the frequency is the update rate of the A D converter This means that the board w
11. host names Each entry should be kept on an individual line The IP address should be placed in the first column followed by the corresponding host name The IP address and the host name should be separated by at least one space Addit tona llya comments such as these may be inserted on individual lines or following the machine name denoted by symbol For example 102 54 94 97 rhino acme com source server 38 25 63 10 x acme com x client host localhost netDAQ uDAQ device X NET DAQ Device Figure 2 2 hosts file Eagle Technology Copyright 2008 www eagledaq com 5 uDAQ Series User Manual Eagle Technology Data Acquisition You can now verify that installation was successful by opening the EDR Enhanced Setup applet again Select the Devices tab This dialog should list all installed hardware Verify your device properties on this dialog See picture below EB EDR Enhanced Setup Devices Genera Devices Y Serial Y Bus Topology Information wr PCI Serial Number 1000000001 amp USB Device Index 0 wr ISA Name NET30C32 32 A D 100KHz 4 DA Device Type 12318 at gs Dm Driver Version 1 0 0 1000000001 000000001 Firmware Version 2110 7 SERIAL Manufactured On 1 1 2005 Device Revision 1 men Base Address 1179648 Interrupt Level 32899072 Driver Connection 32899072 AD Channels 32 DA Channels 4 DIO Ports 3 Counter Timers 0 Figure 2 3
12. samples available and other status issues as well There are two functions available to copy 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 GeiData 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 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 To query the number of samples available in the EDRE API buffer use the ADUNREAD code define in the query h file found on the CD ROM supplied You will no
13. which the ActiveX control is linked A returned error code will indicate if the function succeeded Device buffer process and functions The device doesn t support continuous uninterrupted sampling The device has a 500k byte onboard memory that is used to buffer the sampled data The size of the buffer can be configured using the EDRE Query function and the ADIRQLEVEL query code The query code is defined in the query h file found on the CD ROM supplied The size that the buffer value is set to is called the water level The value that the water level is set to is very important to give your application a good steady supply of data The device will sample data until the water level are reached before it will indicate to the EDRE API that data is available The device will then automatically stop the sampling process while the EDRE API downloads the data from Eagle Technology Copyright 2008 www eagledaq com 24 uDAQ Series User Manual Eagle Technology Data Acquisition the device Once all the data has been downloaded the device will configure the ADC hardware and start the sampling process This will repeat until the EDRE_ADStop function is called A single call is necessary copy data from the EDRE API buffer to a user buffer The buffer is a large circular buffer that can hold 1mega samples of data This buffer needs to be emptied regularly to make sure it does not overrun The buffer can be queried with number of
14. 36 B CONFIGURATION CONSTANTS 37 Q ery pee n 37 Ertor Codes ioo y ee eta era 38 Digital 1 0 Return Query Codes Codes 38 C ORDERING INFORMATION 39 Eagle Technology Copyright 2008 www eagledaq com V uDAQ Series User Manual Eagle Technology Data Acquisition Table of Figures Figure 2 1 Enhanced S etup Etfiernet IU atanan ainina 5 Figure 2 2 Testsfileu u 5 Figure 2 3 EDR Enhanced Setup Devices 6 Figure 2 4 NET uDAQ Setup Application 8 Figure 4 1 Counter Timer Architecture s scssccsseecsseeeseeeseeneeenneenseessesenseesseesseeseeeseeeseeesseeeseeseeeenaeees 17 Eagle Technology Copyright 2008 www eagledaq com vi uDAQ Series User Manual Eagle Technology Data Acquisition Table of Tables Table 2 1 Operating System Support 3 Table 3 1 NET uDAQ DIO Connector DB25 M
15. CI30FG i 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 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 Get a specific port s 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 2008 www eagledaq com 37 uDAQ Series User Manual Eagle Technology Data Acquisition Error Codes i Description EDRE_OK Function successfully EDRE_FAIL Function call failed EDRE_BAD_FN i i Invalid function call EDRE_BAD_SN i i Invalid serial number EDRE_BAD_DEVICE i 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 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 Frequency out of range EDRE BAD BUFFER SIZE Data passed by buffer incorrectly sized EDRE_BAD_PORT Port value out of range EDRE_BAD_PARAMETER Invalid parameter value specified EDRE_BUSY i i System busy EDRE IO FAIL IO
16. EDR Enhanced Setup Devices If the NET DAQ device is not in the list please refer to Figure 2 2 and add the IP address in the hosts file Eagle Technology Copyright 2008 www eagledaq com 6 DAQ Series User Manual Eagle Technology Data Acquisition Reset IP Address If you have forgotten what the IP address of the device is you can do an IP reset This will reset the IP address back to 192 168 0 1 Reset procedure e Disconnect power to the unit e Use a thin round object like a pen to press the button at the bottom of the device Do not press the button before the power is connected e You need to press the button within 0 5 seconds after connecting the 9V power supply that came with the device e You will see the active LED flash twice and then stay on e Keep pressing the button for 3 seconds from when the power was applied e Remove the power and start the installation as explained in the previous installation section Rugged Unit Disconnect power to the unit See Rugged Net uDAQ CAN bus connecior PIN 1 amp 4 Do not short circuit the pins before the power is connected You need short circuit the pins within 0 5 seconds after connecting the 9V power supply that came with the device You will see the active LED flash twice and then stay on e Keep the short circuit for 3 seconds from when the power was applied e Remove the power and start the installation as explained in the previous inst
17. Eagle Technology Copyright 2008 www eagledaq com 17 uDAQ Series User Manual Eagle Technology Data Acquisition The counter number a value must be passed by the calling function return code will indicate if any errors occurred Reading the counter value 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 Counter i Software assigned i Resolution number 16 bits 16 bits 16 bits 16 bits 16 bits 16 bits Table 4 3 Counter Resolution 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 ClkSrc ulng GateSrc The serial number 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 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 configura
18. Pulse counting Controlling and monitoring of any TTL compatible equipment Mobile computing Laboratory applications Key Specifications Support for up to 32 16 bit resolution analog input channels 10 volt Support for up to 4 16 bit resolution analog outputs channels 10 volt Support for up to 120 TTL compatible digital I O channels Analog input sampling 250Khz via channel list Eagle Technology Copyright 2008 www eagledaq com 1 uDAQ Series User Manual Eagle Technology Data Acquisition Software Support The DAQ series is supported by EDRE SDK and has an extensive range of examples The software will 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 eagledaq com Eagle Technology Copyright 2008 www eagledaq com 2 uDAQ Series User Manual Eagle Technology Data Acquisition 2 Installation This chapter describes how to install and configure the NE
19. Q Series User Manual Eagle Technology Data Acquisition Read Thermo Couple Channel Reading the thermocouple channel is the same as reading the CJC channels The thermo couple channels for the NET 73 will always start at channel 0 For a device with both normal ADC channels and Temperature channels the channels value assigned to the temperature channels will start after the normal ADC channels Device Channels and assigned software value NET 73T R8 Value Assigned 0 0 NET 73T R16 Value Assigned NET 73T R 32 NET 30C16 73T R 16 NET 30C32 73T R16 Value Assigned Table 4 9 Temperature Channels Assigned API CALL Long EDRE ADSingle ulng Sn ulng Channel ulng Gain ulng Range plong uVoltage Parameter Description Sn Unsigned long Device serial number Channel Unsigned long Assigned Channel Gain i Unsigned long NULL Range i Unsigned long NULL uVoltage i Pointer to long i Returned micro voltage Return i long i Error code ACTIVEX CALL Long EDREADX SingleRead long Channel Only the assigned channel value is needed A return code will indicate the voltage in microvolt Eagle Technology Copyright 2008 www eagledaq com 28 uDAQ Series User Manual Eagle Technology Data Acquisition Calculating Ambient Temperature API CALL Long EDRE CalcCJCmC long cjcuv ACTIVEX CALL Long EDREADX CalcCJCmC long cjcuv Parameter i Type Descrip
20. T 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 NET device 9V External power supply Crossover Ethernet cable Software CD Rom Operating System Support The NET DAQ makes use of TCP IP over Ethernet and the EDR Enhanced Remote Device protocol connecting at 10 mega bits per second or 100 mega bits per second network The protocols are built into the EDR Enhanced application interface API i Driver Eagle Technology Copyright 2008 www eagledaq com 3 uDAQ Series User Manual Eagle Technology Data Acquisition Installation This section will describe how to connect your device to your computer When connecting the device directly to a computer a RJ 45 crossover Ethernet cable should be used i 12345678 H wah 9 G o Bb O br BR Clip is pointed o O g BbG br BR away from you When connecting the device through a hub or switch a T 568A or T568B straight through Ethernet cable should be used L J oi 12345678 RJ 45 Plug 12345578 s HYH il LELI a il LELIT Clip is pointed away from you 123458678 RJ 45 Plug 12345678 WU TUL LA LI 12 2 Clip is pointed away from you Eagl
21. allation section Eagle Technology Copyright 2008 www eagledaq com 7 DAQ Series User Manual Eagle Technology Data Acquisition Configure IP address Before you can configure the IP address first complete the installation as explained in the installation section and install the Net DAQ Setup Tools see Application Software section If this has been done successfully open the NET uDAQ Setup application Js NET uDAQ Setup cta Configure Info Close Info Serial Number 1000000002 192 168 0 1 Subnet Mask 255 255 255 0 Gateway 192 168 0 254 0 60 35 3 53 43 New Setup IP 192 168 0 1 Subnet Mask 255 255 255 0 Gateway 192 168 0 254 Figure 2 4 NET uDAQ Setup Application Configuration procedure e You can now edit the appropriate parameters and click Configure and close the application e Before disconnection the device you should open the EDR Enhanced Setup in the control panel and remove the device from the list of Ethernet devices e Disconnect the power e Connect the power e Add the device to the EDR Enhanced Setup applet as explained in the Post Connection Installation using the new IP address Application Software DAQ Setup Tools Software tool for the NET uDAQ is also supplied run setup exe found on the CD ROM and is normally located the lt CD ROM gt Edre apps NET_uDAQ_Tools directory The tools includ
22. call failed EDRE_BAD_ADGAIN i i ADC gain out of range EDRE BAD QUERY Query value not supported EDRE_BAD_CHAN i i Channel number out of range EDRE BAD 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 Configuration invalid EDRE BAD MODE Node not valid EDRE_HW_ERROR Hardware error occurred EDRE_HW_BUSY i 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 I O Return Query Codes Codes BAT Description DIOOUT Port is an output DIOIN Port is an input DIOINOROUT 2 Port be configured as in or out DIOINANDOUT i i Port is an input and an output Eagle Technology Copyright 2008 www eagledaq com 38 uDAQ Series User Manual Eagle Technology Data Acquisition C Ordering Information For ordering information please contact Eagle Technology directly or visit our website www eagledaq com They can also be emailed at eagleQ eagle co za Currently only the following version are available Description 24 i 24 channel digital I O Ethernet device 24 i 24 channel digital I O amp counter timer ETHERNET device NET 48A 48 channel digital ETHERNET device NET 48 24 channel digital I O amp counter t
23. col Power Requirements Device 24 24 48 48 72 72 96 96 120 26 16 32 30 16 32 73T R16 Minimum Environmental Physical Relative Humidity Operating Temperature Housing Dimension 2 Tier Box Dimension 3 Tier Box Connectors 24 24 48 48 72 72 96 96 120 26 30 16 26 30 32 NET 73T R8 NET 73T R16 NET 73T R32 Ethernet 10 100Mbps TCP IP Typical 50 mA 295 mA 55 mA 300 mA 60 mA 310 mA 65 mA 315 mA 70 mA 450 mA 480 mA 450 mA Maximum 100 mA 345 mA 155 mA 400 mA 210 mA 460 mA 265 mA 515 mA 320 mA 500 mA 530 mA 500 mA Power Source External PSU External PSU External PSU External PSU External PSU External PSU External PSU External PSU External PSU External PSU External PSU External PSU 0 to 90 non condensing 0 C to 70 Plastic Casing Height 45mm Width 80mm Length 148mm Height 60mm Width 80mm Length 148mm DB25 M 2 x DB25 M 2 x DB25 M 3 x DB25 M 3 x DB25 M 4 x DB25 M 4 x DB25 M 5 x DB25 M 5 x DB25 M 2 x DB25 M 3 x DB25 M 2 x DB25 M 3 x DB25 M 5 x DB25 M Eagle Technology Copyright 2008 www eagledaq com 36 Series User Manual Eagle Technology Data Acquisition
24. e NET 73 a kivet Su tee bn 30 Digital Input Output Characteristics 31 Counter Timer CharacterisStics 32 Analog Output Characteristics NET 30C16 32 33 Analog Input Characteristics NET 26 30C16 32 34 Input Characteristics ce ere ee estie qe ee tte ie en ie ge AO aes 34 Conversion Characteristics WO EON 34 External _ u u E R E 34 External Gate EXT GATE pini rhe eere ert Eee soin wan 34 Thermo Couple Input Characteristics 35 Eagle Technology Copyright 2008 www eagledaq com iv uDAQ Series User Manual Eagle Technology Data Acquisition Power Requirements u u uu saaa S au a qaa 36 Environmental Physical LLULLU A qua ua awanu rotten esitate ersero ra N K r oane ei 36 Coneco z uu u Sus Sas asss SSS au SS ob kode sos PA Pa G ba
25. e Technology Copyright 2008 www eagledaq com uDAQ Series User Manual Eagle Technology Data Acquisition Post Connection Installation 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 CD ROM gt EDRE API directory add the uDAQ device to your system open the EDR Enhanced Setup applet found in control panel that was installed when you installed edreapi exe Select the TCP IP tab and click on add The default IP address of the device is 192 168 0 1 yours may have been changed and should be entered into the IP Address box The port used will always be 7070 You can now click on the OK button and select OK to exit the application IE EDR Enhanced Setup TCP IP General SF Devices E Serial Y Devices List Information Serial Number Port C Server Setup IP Address Port Figure 2 1 EDR Enhanced Setup Ethernet You might have to add the device IP address to the hosts file See WINDOWS DIR isystem32ildriversietc directory and add the uDAQ device IP address and name to the list hosts Notepad File Edit Format View Help Copyright 1993 1999 Microsoft corp This is sample HOSTS file used by Microsoft TCP IP for windows This file contains the mappings of IP addresses to
26. e e 18 Controlling eret iR 19 Internal Oscillator Frequency LOMHZ c cccccscsscsescsscscscscesesesesecsesesscsesesecsesesacsesesecsesesscseeececseseeaeaees 19 lude dH 20 AnalOG OUUE eter nas anto qana qiwa Wa 21 Writing tota DAC cliannel s s ort ere ettet er eiu de RR 21 Analog q aska u E 22 Reading a single voltage from a channel u eene 22 Configuring the ADC subsystem for scanning u n 23 Starting and Stopping the ADE process cea kenn ande o peo he DOE ROT RERO OU ie aed 24 Device buffer process and functions inicie en seo aen nda dm ded 24 Querying the ADC subsystem de eoe e OW eke nna a aie 25 Lucan 26 Reading C G Chanriel s e eere P 27 Read Thermo C ouple Channel er 28 Calculating Ambient Temperature l enne tete nene netten nnns 29 Calculating Temperature for Thermocouples n nn entente 29 Calibration NET 26 30C reete retro 30 Calibration Procedure NET 26 30C sse 30 Calibration NET 73 l 1 M 30 Calibration Procedur
27. e two applications 1 NET uDAQ Setup will allow you to configure the device s IP address 2 NET uDAQ Firmware Programmer is used to update the device firmware Wave View for Windows 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 CD ROM gt EDRE APPS WVFW2 directory Eagle Technology Copyright 2008 www eagledaq com 8 NET uDAQ Series User Manual Eagle Technology Data Acquisition 3 Interconnections The uDAQ series has connectors for digital I O counter timers and analog I O The NET uDAQ make use of only one connector type a DB25 male To inter connect to application modules there are adapters available A cable is used to connect to these modules Screw terminals are also available for quick installations Pin Assignments NET uDAQ DIO DB25 M The table below shows the pin assignments for the DB25 M digital I O connectors found on the NET uDAQ DIO A and C versions Pi 1 2 3 4 5 6 7 8 9 Table 3 1 NET uDAQ DIO Connector DB25 Eagle Technology Copyright 2008 www eagledaq com 9 Series User Manual Eagle Technology Data Acquisition DAQ CT DB25 The table below shows the pin assignments for the DB25 M counter timer connector found on the NET DAQ NC
28. eference Pin Eagle Technology Copyright 2008 www eagledaq com 12 uDAQ Series User Manual Eagle Technology Data Acquisition Application Modules amp Accessories The Ethernet devices support a wide range of standard applications modules These application modules can help to simply or easily duplicate installation that can save plenty of time Application modules and accessories come in many forms It has support for digital output control and digital input monitoring for AC and DC Analog signal conditioners analog amplifiers and optically isolation are also available Eagle Technology Copyright 2008 www eagledaq com 13 uDAQ Series User Manual Eagle Technology Data Acquisition 4 Programming Guide The DAQ series 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 serves as a interface layer between the control application and the TPC IP protocol 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 user s guide The EDRE API hides the complexity of the hardware and makes it really easy
29. externally clock the counters Output Out These are the outputs of each counter timer Digital Ground DGND All digital ground signals should be connected to this pin Analog Ground AGND All analog inputs should be referenced to AGND Do not connect AGND and DGND together This will create ground loops and instability in the hardware Analog Inputs ACH0 31 The analog input channels are connected to the analog input sub system and are used to measure analog voltages These signals are referenced to analog ground AGND Analog Outputs DAC0 3 The analog output channels are used to output analog voltages They are referenced to analog ground AGND External Clock EXT_CLK This pin is the external clock input It is used to control the convert timing of the analog to digital converter This signal is synchronized with a master clock of 20MHz The signal must be referenced to digital ground DGND which is the connecter shell External Trigger EXT_GATE This signal is used as a control gate for the analog input scanning process When selected by software and set high it will enable the process A low voltage will disable the process 10 Volt Reference Calibration 10V_REFCAL This pin is used to measure the 10 volt reference for the analog circuit It is only used during calibration and should not be used externally If used it can affect the performance of the analog I O WARNING Do not connect to the 10Volt R
30. ill convert the channels at a period of equal to the frequency and the channels in the sequence of the channel list The end result is that the time between samples is equal to 1 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 10 MHz clock 1 External Convert EXT_CLK 8 Gate Source G0 G7 0 Disable software controlled 1 External Gate EXT TRIG Example Layout 5 4 13 1 1 10 9 8 7 6 5 G7 G6 G5 64 63 G2 G1 GO C7 6 C5 C4 2 Starting Stopping the ADC process A single call is necessary to start or stop the ADC process API CALL Long EDRE ADSiart 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 EDREADX 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 ADSIop 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
31. imer ETHERNET device 72 i 72 channel digital I O ETHERNET device NET 72 24 channel digital I O amp counter timer ETHERNET device NET 96 i 96 channel digital I O ETHERNET device NET 96C 24 channel digital amp counter timer ETHERNET device NET 120A 120 channel digital ETHERNET device NET 26C16 32 16 32 channel analog input ETHERNET device NET 30C16 32 16 32 channel amp 4 channel analog input output ETHERNET device NET 73T8 i 8 Channel Thermo Couple input ETHERNET device NET 73T16 16 Channel Thermo Couple input ETHERNET device NET 73T32 i 32 Channel Thermo Couple input ETHERNET device NET 73R8 8 Channel RTD input ETHERNET device NET 73R16 i 16 Channel RTD input ETHERNET device NET 73R32 i 32 Channel RTD input ETHERNET device NET 30C16 73T16 i 16 channel amp 4 channel analog input output 16 Channel Thermo Couple i input ETHERNET device NET 30C16 73R16 i 16 channel 8 4 channel analog input output 16 RTD input ETHERNET i device NET 30C32 73T16 32 channel amp 4 channel analog input output 16 Channel Thermo Couple input ETHERNET device NET 30C32 73R16 i 32 channel amp 4 channel analog input output 16 input ETHERNET i device Table C 1 NET uDAQ Ordering Information Eagle Technology Copyright 2008 www eagledaq com 39
32. normal CJC assignment for the NET 73 Channels NET 73T R8 CJC Value Assigned i ae a 73T R16 CJC Value Assigned 0 16 1 17 NET 731 32 0 32 33 34 NET 30C16 73T R16 CJC Value Assigned 32 3 1 2 3 J 0 1 NET 30C32 73T R16 Value Assigned J 0 1 Table 4 8 Channels Assigned The value that is assigned to a CJC channel can be queried with software as well API CALL Long EDRE Query ulng Sn ulng Code long Param Serial number Query code ADAMBCHAN or 141 and the param that represent the channel 0 3 A return code will indicate the channel assigned or if any errors occurred ACTIVEX CALL Long EDREUIIX Query ulng Channel long uVoltage Query code ADAMBCHAN or 141 and the param that represent the CJC channel 0 3 A return code will indicate the channel assigned or if any errors occurred Reading the CJC channel API CALL Long EDRE ADSingle ulng Sn ulng Channel ulng Gain ulng Range plong uVoltage Parameter Description i Unsigned long Device serial number Unsigned long Assigned Channel i Unsigned long NULL Unsigned long NULL uVoltage Pointer to long Returned micro voltage Return long Error code ACTIVEX CALL Long EDREADX SingleRead long Channel Only the assigned channel value is needed A return code will indicate the voltage in microvolt Eagle Technology Copyright 2008 www eagledaq com 27 uDA
33. nversion Characteristics Maximum Conversion Rate Converter Type Resolution Relative Accuracy External Clock EXT_CLK pin Maximum Rate Synchronization Conversion External Gate EXT_GATE pin Enable Process Disabled Process Device Type Single Differential NET 26 30C16 NET 26 30C32 NET 30C16 73T R16 NET 30C32 73T R16 16 bits 250 KS s Ethernet TCP IP 10 100Mbps Channel Bipolar Gain Range 1 10V DC 10V relative to analog ground Power On State 25V to 40V Power Off State 40V to 55V 32 250 000 Samples per second Successive approximation 16 bits 2 LSB 250 000 Hz Internal 20 MHz clock Falling Edge High Input gt 2 4V DC Low Input lt 1 2V DC Eagle Technology Copyright 2008 www eagledaq com 34 uDAQ Series User Manual Eagle Technology Data Acquisition Thermo Couple Input Characteristics Number of Channels Device Differential i Channels NET 73T R8 73T R16 73T R32 NET 30C16 32 73T R16 Resolution 14 bits Maximum Update Rate 2 milliseconds Data Transfer Ethernet TCP IP 10 100Mbps Input Programmable Ranges Channel Bipolar Gain Range 30 83mV Input Coupling Relative Accuracy 1 LSB Gain x 30 Offset Error 0 011 millivolts Eagle Technology Copyright 2008 www eagledaq com 35 uDAQ Series User Manual Eagle Technology Data Acquisition Bus Interface Bus Type Bus Speed Proto
34. of how to calibrate your device Make sure that you have a high precision calibration voltage source This will help to configure your device more accurately Calibration Procedure NET 73 1 Install the NET Calibration Software lt CD Rom gt EDRE APPS udaq_cal_73 uDAQ73CalibrationSoftware exe 2 Run the Calibration Software 3 Follow the step by step information on screen to calibrate your device 4 Make sure to save the data to your device Eagle Technology Copyright 2008 www eagledaq com 30 uDAQ Series User Manual A Specifications Digital Input Output Characteristics Eagle Technology Data Acquisition Number of Digital Channels Device Channels NET 24 NET 24C NET 48A NET 48C NET 72 NET 72C NET 96A NET 96C NET 120A NET 26C16 32 NET 30C16 32 NET 73 Number of Grouped Channels Device NET 24A NET 24C NET 48A NET 48C NET 72A NET 72C NET 96A NET 96C NET 120A NET 26C16 32 NET 30C16 32 NET 73 Compatibility 82C55 TTL D C Characteristics PPI 8255 Compatible Ports Input Low Voltage Input High Voltage Output High Voltage Output Low Voltage Output Current h k GQ G Gr o N O G 0 5V 2 0V 2 4V Eagle Technology Copyright 2008 www eagledaq com 31 uDAQ Series User Manual Eagle Technology Data Acquisition Counter Timer Characteristics Number of Counter Timer Channels Device Channel
35. of the NET uDAQ device IP DEFAULT CAN L CAN GND IP GND N C N C CAN_H N C CAN V Table 3 6 Rugged NET uDAQ CAN bus DB9 o Q O Q gt G N f Signal Definitions This sections deal with all the signals abbreviations Description PA0 7 8255 PPI Port PB0 7 i 8255 PPI Port B PC0 7 8255 PPI Port C GATE 5 Counter External Gate CLK 5 Counter External Clock OUTO 5 i Counter Output DGND i Digital ground AGND i Analog Ground ACH0 31 Analog Input Channels 0 15 TCH 0 7 Thermo couple negative input TCH 0 7 i Thermo couple positive input DAC0 3 i Analog Outputs Channels 0 3 EXT CLK i External Clock EXT_GATE i External Gate 10V REFCAL 10 Volt Reference Calibration NC Not Connected IP DEFAULT i Pins used to reset IP address on the rugged units IP GND CAN L i Low bus output CAN GND i CAN bus ground CAN High bus output l CAN V 3 3V CAN bus voltage Table 3 7 Signal definitions Eagle Technology Copyright 2008 www eagledaq com 11 DAQ Series User Manual Eagle Technology Data Acquisition Pin Descriptions Digital Inputs Outputs PA0 7 PB0 7 7 These lines are connected to the 3 ports of the 8255 PPI Each port can be configured as either an input or an output External Gate GATE_EXT These lines are used to externally control the gate of the counters External Clock CLK_EXT These lines are used to
36. om 22 uDAQ Series User Manual Eagle Technology Data Acquisition Configuring the ADC subsystem for scanning This is the most complicated part of configuring the NET 26 30 for auto scanning Make sure 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 NET 26 30 API CALL Long EDRE_ADConfig 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 Sn i Unsigned long Frequency Pointer to an unsigned long ClkSrc Unsigned long Burst i Unsigned long Range i Unsigned long ChanList Pointer to an i unsigned long GainList Pointer to an i unsigned long ListS ize unsigned long Return i long ACTIVEX CALL Description Device serial number Sampling frequency This parameter is used to configure the clock convert source ofthe ADC sub system Offset bits Description 0 Clock Source C0 C7 0 Internal 10 MHz clock 1 External Convert EXT CLK Gate Source G0 G7 0 Disable software controlled 1 External Gate EXT GATE Example Layout 5 14 13 12 11 10 G7 06 65 Not Used Not used i This is a pointer to same length as the value of ListSize GainList is
37. rt as ETDAQD e The warranty does not apply to an ETDAQD that has been previously repaired altered extended by any other company or individual outside the premises of Eagle Technology 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 2008 www eagledaq com ii uDAQ Series User Manual Eagle Technology Data Acquisition TABLE OF CONTENTS 1 NIRODUCTON 55 d ok lp koka ao 1 1 Shaw DE ERES aaah 1 Software SUpport aaa wanaq aso za aa lot ka W PV aaa pw awaqa q ksaq quae 2 Contact Details ics C M aoas 2 2 INSTALLATIQN cst 9 Packages s
38. s NET 24A NET 24C NET 48A NET 48C NET 72A NET 72C oo NET 96A NET 96C NET 120A NET 26C16 32 NET 30C16 32 NET 73 Resolution 16 bits Compatibility 82 54 TTL Clock Source Software Selectable 1 Internal 10 MHz 2 External Gate Source Software Selectable 1 Software Controlled 2 External Internal pull up Interrupt Source 6 x Terminal Count TC I O Characteristics Input Low Voltage Input High Voltage Low Level Input Current High Level Input Current Output High Voltage Output Low Voltage Low Level Output Current High Level Output Current Eagle Technology Copyright 2008 www eagledaq com 32 uDAQ Series User Manual Eagle Technology Data Acquisition Analog Output Characteristics NET 30C16 32 Number of Channels 4 Resolution 16 bits Maximum Update Rate 2 milliseconds Data Transfer Ethernet TCP IP 10 100Mbps Full Scale Error 2 LSB Zero Offset Error 2 LSB Output Drive 5 milliamp Load Characteristics 2 KQ 10 nF Power On State 0 Volt Eagle Technology Copyright 2008 www eagledaq com 33 uDAQ Series User Manual Eagle Technology Data Acquisition Analog Input Characteristics NET 26 30C16 32 Input Characteristics Number of Channels Resolution Maximum Update Rate Data Transfer Input Programmable Ranges Input Coupling Maximum Working Voltage Over voltage protection Maximum Channel List Size Co
39. tice that the unread samples will increment in multiples of the water level ACTIVEX CALL Long EDREADX GetUnread This function automatically queries the ADC driver buffer for the number of available samples Eagle Technology Copyright 2008 www eagledaq com 25 uDAQ Series User Manual Eagle Technology Data Acquisition Temperature Input The NET 73T8 16 32 has a basic 8 differential channel configuration See table 3 5 accessible via a DB25M connector The channels on one of these DB25M connectors will be referred to as a channels set Each 73 is supplied with is set of temp T C adapters Temperature measurements can be done with as little as four lines of code Eagle Technology Copyright 2008 www eagledaq com 26 uDAQ Series User Manual Eagle Technology Data Acquisition Reading CJC Channel Each channels set has a CJC channel The CJC channels is use in software when calculating the temperature for Cold Junction Compensation hence CJC Each of the uDAQ temp T C adapters has a circuit that will supply a voltage of 10mVolt per 1 degree C Reading the CJC channel is as easy as reading an analog channel Each of the CJC channel is allocated a channel number witch are always the last channels of any device E g if your device has two CJC channels and 34 analog channels channel 0 31 will be analog inputs and channels 32 and 33 will be the CJC channels The table shows the
40. tion cjcuv Long CJ CTemp channel uVolts Return Long Milli Degrees C elsius Calculating Temperature for Thermocouples API CALL Long EDRE CalcTCmC long tctype long tcuv long ambientmc ACTIVEX CALL Long EDREADX CalcTCmC long tctype long tcuv long ambientmc Parameter Description tctype Type Thermocouple used See appendix for details tcuv Voltage read from channel uVolts ambientmc i i Ambient temperature mille Degrees Return i i Milli Degrees Celsius Eagle Technology Copyright 2008 www eagledaq com 29 uDAQ Series User Manual Eagle Technology Data Acquisition Calibration NET 26 30C If the Ethernet device needs to be calibrated the software can be found on the EDR Enhanced SDK CD Rom This application provides step by step information of how to calibrate your device Make sure that you have a high precision voltmeter and calibration voltage source This will help to configure your device more accurately Calibration Procedure NET 26 30C 1 Installthe USB Calibration Software lt CD Rom gt EDRE APPS uDAQ_cal_36C_30C uDAQ30C_Calibration exe 2 Run the Calibration Software 3 Follow the step by step information on screen to calibrate your device 4 Make sure to save the data to your device Calibration NET 73 If the Ethernet device needs to be calibrated the software can be found on the EDR Enhanced SDK CD Rom This application provides step by step information
41. tion A return code will indicate if any errors occurred Only the counter mode clock source and type parameters are used by the NETuDAQ The table below shows the options for each parameter Parameter Description Sn Serial Number ct i Counter Number i 0 Counter 0 1 Counter 1 2 Counter 2 i 3 Counter 3 i 4 Counter 4 i 5 Counter 5 Mode i 82c54 Mode i See 82c54 datasheet Type i Interrupt on TC i 0 Disabled i 1 Enabled i This bit will only generate a interrupt at the interrupt i sub system The i interrupt sub system must also be setup to generate i ainterrupt Source i 0 Internal 10MHz Eagle Technology Copyright 2008 www eagledaq com 18 uDAQ Series User Manual Eagle Technology Data Acquisition 1 External External connector Gate i 0 Internal i 1 External External connector Table 4 4 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 counter s 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 Description Gate disabled Gate enabled Table 4 5 Gate
42. to program the NET uDAQ devices It has got functions for each basic sub system and is real easy to learn Eagle Technology Copyright 2008 www eagledaq com 14 uDAQ Series User Manual Eagle Technology Data Acquisition Digital Inputs Outputs Depending on the version that you have the NET uDAQ device can have up to 120 digital lines Please refer to your particular version for specific details Please refer to 82C55 datasheet for DIO port characteristics Software Portwidth Description assigned number 24 i 8 bits 8 bits A B C 8 bits ooo 8 bits 8 bits 8 bits 8 bits 8 bits 8 bits ooo QI ON oOoO N 8 bits 8 bits 8 bits 8 bits 8 bits 8 bits 8 bits 8 bits 8 bits NNN 000O O OI GOO N O 8 bits 8 bits 8 bits 8 bits 8 bits 8 bits 8 bits 8 bits 8 bits 8 bits 8 bits 8 bits OONOURWDND O 8 bits 8 bits 8 bits 8 bits 8 bits 8 bits 8 bits 8 bits 8 bits 8 bits 8 bits 8 bits 8 bits 8 bits 8 bits o OO N O QI QON LD GCOGOONNN ET 26 30 8 bits 8 bits 8 bits ooo ET 73R T 8 bits 8 bits 8 bits ooo ET 30C16 32 73T R 8 bits 8 bits 8 bits Table 4 1 NET uDAQ Digital I O Port Assignments A B B
43. to digital converter that supports data conversion up to 250kHz The device only supports 10V inputs Channels can be configured for single ended or differential ended mode 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 Inputtype Inputpin Reference assigned i i Pin channel 0 ingle ACHO Single ACH31 ifferential ACHO Differential ACH7 ifferential ACH16 Differential H23 Table 4 7 Assigned Analog Input Channels Reading a single voltage from a channel To read a single ADC channel you need to specify the channel voltage range and gain API CALL Long EDRE ADSingle ulng Sn ulng Channel ulng Gain ulng Range plong uVoltage Parameter Type Description i Unsigned long i Unsigned long i Unsigned long i evice only support one input gain 10V Value Gain 0 X1 Unsigned Range Codes Value Range 0 BIPOLAR SINGLE ENDED 1 BIPOLAR DIFFERENTIAL ENDED uVoltage Pointerto long Returned micro voltage Return long 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 2008 www eagledaq c
44. unter The counter sub system is supported by functions to Write Read Configure and controlling the gate There are 6 counters Counter timers are only supported by the NET 24C NET 48C NET 72C and NET 96C The table below shows the relation of the counters and their software assigned numbers Please refer to 82c54 datasheet for more information regarding the counter timers Counter Software assigned Description i number i Counter 0 Counter 1 Counter 2 Table 4 2 Counter Assignment USEXXC Counter Timer Architecture Oscillator 10 MHz External Clock Pin Clock Source Select Counter Out Softuare Gate External Gate Fin Gate Source Select Figure 4 1 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 also be either internal or external The internal gate is controlled via software as well The external gate pin has a pull up resistor which allows the gate to be enabled when configured to external Writing the initial counter value A single call is necessary to write a counter s 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

Download Pdf Manuals

image

Related Search

Related Contents

サトーホールディングス(6287)  MicroManager PolScope (plugin) User Manual  Keystone Pneumatic Actuators, Figure 79U/E  DUALSKY® FC130-V2 飛行機用3軸ジャイロ 取扱説明書 <製品の  MANUAL DE USUARIO    Samsung GT-B3410W Керівництво користувача  Klip Xtreme KBH-170  Samsung 73V Lietotāja rokasgrāmata    

Copyright © All rights reserved.
Failed to retrieve file