Home
DAQ-MATE USER`S MANUAL
Contents
1. large romstart amp H2000 default Xram Dim Daq adc word As Word Dim Daq adc val As Single Dim A num A byte A cnt As Byte Dim Daq ch Daq adc range Daq num Daq cnt Daq dev Daq cntl byte As Byte Dim S As String 10 A resp AS String 10 A str AS String 10 Dim Sf str As String 1 Sf str AS String 10 Dim A word as Word Dim A val as Single Dim True As Const 1 Dim False As Const 0 Sclk Alias P1 7 SPI bus serial clock Dout Alias P1 6 SPI bus serial data output Din Alias P1 5 SPI bus serial data input Daq adc Ocs Alias P0 0 Daq adc 1cs Alias PO 1 Daq adc 2cs Alias 0 2 Daq adc 3cs Alias P0 3 Daq busy Alias 0 4 ADC portO chip select active low ADC port1 chip select active low ADC port2 chip select active low ADC chip select active low ADC busy active low input Declare Sub Print_ic Declare Sub Print_orr Declare Sub Print_ur print under range Declare Sub Print_ok print command is OK Declare Sub Daq_rd_adc daq_adc_val As Single Daq_ch As Byte Daq_adc_range As Byte print invalid command print out of range In the Main the Operator or Host is prompted to enter a command The command is parsed and then executed if valid Only two command examples are shown Set to logic 1 Set Sclk Dout Daq _adc_0cs Daq adc 1cs Daq adc 2cs Daq adc 3cs Do Print Err trap False Input S Noecho S Ucase s A_num Len s If
2. IO MC set DIO port direction set DIO port number set DIO byte write get module ID set master clear main dq portzOpenCombPort 1 256 64 io port OpenComPort 1 256 64 cnt 0 a cnt lt 1 if a cnt 0 port dq port if a cnt 0 port dq port Open COM 1 DAQ MATE Open COM 2 DIO MATE if stat SetPortCharacteristics port BAUD19200 PAR EVEN LENGTH 8 STOPBIT 1 PROT NONNON RS232ERR NONE printf Error d setting characteristics Wn stat exit CdrvSetTimerResolution port 1 1 msec ticks SetTimeout port 2000 2000 ticks 2 sec time out period FlushReceiveBuffer port clear receiver buffer FlushTransmitBuffer port clear transmit buffer Get device prompt sprintf send data Jos W PutString port send data send CR if resp len GetString port sizeof read_data read_data 0 printf Time out error n exit if stremp gt read_data printf Incorrect promt n exit Master Clear If a cnt 0 sprintf send data 5 dq_master_clr If a cnt 1 sprintf send data s r io_master_clr PutString port send_data Configure DIO MATE port direction sprintf a str Vos Ww 00000000 output direction for 0 a cnt lt 5 sprintf send_data s d r set_dio_port a_cnt PutString io_port send_data sprintf send data
3. 8 Dout Daq cntl byte daq num End If Set Sclk Delay Daq word Din Delay Reset Sclk Next Daq cnt Set adc 50 Set Daq adc cs1 Set Daq adc cs2 Set Daq adc cs3 Next Daq cnt Daq val Daq val Daq m cnts Daq ch Daq num 2 End Sub assert low using alias port pin transceive serial data assert high using alias port pin compute average www daq mate info DAQ MATE USER S MANUAL 3 2 1 PC Programming The starting point for developing code to control the DAQ MATE begins with acquainting yourself with its Serial Command Set The serial commands are a set or group of ASCII characters that originate from the PC and are designed to instruct the DAQ MATE to perform specific functions The complete serial com mand set is detailed in Appendix B There are two ways to exercise the serial commands 1 using HyperTerminal or 2 run our Virtual Instrument Panel soft ware GUI Control 3 2 1 1 HyperTerminal HyperTerminal is a serial communica kih tions program that comes with the Win FW Eat View Call Transfer Help dows OS and is located in the Accesso z ex S amp ries folder Use the USB cable to con nect the PC to the DAQ MATE Run gt HyperTerminal and configure the settings gt DQ ID for 19200 bps 8 data bits no parity 1 w stop bit and no flow control Select the COM port based on the available COM port as indicated in the Device Manager
4. J1 J4 and J6 which consolidates all signals into a single 40 pin header The analog inputs or channels can be programmed for any combination of sin gle ended or differential operation The diagram below shows examples of vari ous configurations You will also note the polarity of connections related to differ ential operation can be transposed as well Each channel can be programmed for anyone of 4 different range modes i e 0 5V 5 0 10V and 10V Keep in mind the circuit provides 25V protection on each channel External control of the DAQ MATE can be provided by a embedded controller such as the Micro MATE or with a PC Embedded control is supported by J1 Oi BUS interface which is a 10 pin header that includes a 3 wire SPl bus chip select logic power and ground In PC applications connector J5 is replaced with the USB MATE The USB MATE contains a USB connector for the PC and a dual set of 7 pin headers that mount to the DAQ MATE The USB MATE is designed to interpret a set of ASCII commands sent from the PC and then per form various DAQ MATE functions For more information for the DAQ MATE command set go to Appendix A To support embedded applications a complete driver for the DAQ MATE is provided in TES MATE or Test Executive Suite After power is applied to the DAQ MATE the analog inputs are configured for single ended 0 5V range f _ Combinations of Changing the 4 Differential 8 Single Ended Diff
5. p and same polarity and range Overton Instruments 19 www daq mate info DAQ MATE USER S MANUAL Appendix A Serial Command Set cont Command Function DQ RV ccmprf Configure channel and get voltage measurement Scan all channels and return voltage measurements DQ AS nf Set ADC measure ment sample count DQ MS Get ADC measure ment sample count Overton Instruments Response lt CH1mpr n CH2mprzn CH32mpr n gt 20 Description Configure and read a single ADC channel cc ADC channel number 01 to 32 SE or 01 to 16 Diff m ADC mode S Single ended D Differential p ADC polarity 0 1 r ADC range 1 5V 2 x5V 10V 4 10V f Data format D Decimal H Hexa decimal The voltage measurement contains a series of ASCII bytes representing a 12 bit value which is expressed in counts 0 4095 or 000 FFF Auto scan all ADC channels and return read ings based on presets from channel configu ration commands CK SS and CK_SD The measured data is returned in one of two forms Basic or Extended In Extended each channel is identified including the mode po larity and range codes The voltage meas urements are a series of ASCII bytes repre senting a 12 bit value that is expressed in counts 0 4095 decimal or 000 to FFF hex A comma is used to separate each channel reading In Basic mode the meas
6. Y s s r set dio dir a str PutString io port send data sprintf send data Y s s r set dio byte a str PutString io port send data Overton Instruments Execute test sequence a_ch 1 first_shift False FILE fp for a_cnt 1 a_cnt lt 16 a_cnt idx 0 do Measure LED color amp intensity and store to file a_num 0 Shift_dio select LED sprintf file name s C LEDTEST TXT fp fopen file_name do if a num 0 sprintf a str Y s r 501 0 5Vdc single ended if a num 1 sprintf a str Ys r 503 0 10Vdc single ended sprintf send data Ss 02d s r set adc ch a cnt a str PutString dq port send data sprintf send data s r get adc volts PutString dq port send data GetString dq port sizeof read data read data if a num 0 sprintf a str 1 Yos read data get color if a num 1 sprintf a str 2 Yos read data get intensity a a while a num 2 sprintf a str LED d s s r n a cnt a str 1 a str 2 fprintf fp a str fclose fp idx while idx lt 3 printf Test Complete r n Shift a logic 1 through 48 bits void Shift_dio void int dio_bit_cnt dio bit dio_idx dio_ port char dio bits 50 If first shift False sprinf dio bits Yos 00000000000000000000000000000000000000000000000 1 first shift True else for dio bit cn
7. array of 16 multi color LED s Each LED can produce Red Green and Blue light The objective of test is to measure each LED for color amp intensity and save the results to a file Sixteen sensors are used to convert the LED light to an analog voltage Each LED sensor provides two outputs a 0 5Vdc for color and a 0 10Vdc for intensity The outputs of the LED sensors are connected to the DAQ MATE s 32 analog channels The DIO MATE a 48 bit digital I O module is used to turn On Off the individual LEDs The test sequence involves selecting an analog channel turning On the LED measuring color amp intensity and then save the results and repeat the cycle define define MSWIN MSWINDLL serial comm libraries from www wcscnet com include lt comm h gt ztinclude lt stdlib h gt include lt stddio h gt int stat port 0 dq_port 0 io_port 0 a byte 0 True inta cnt 0 a ch 0 idx 0 first shift dio bit 10 0 False chara str 10 a str 1 10 a str 2 10 char dio byte 10 dir byte 10 char send data 64 read data 64 char dq get ID char dq master MC char set adc ch char get adc volts DO RV get module ID set master clear set ADC channel read voltage char set dio dir PD char set dio port PN char set dio byte char io get id IO ID char io master
8. 0 D MM 11 MM 12 MM 13 MM 14 MM 15 16 MM 17 MM 18 19 MM 20 7 D Cn 102 Overton Instruments 11 www daq mate info DAQ MATE USER S MANUAL 3 1 1 Embedded Configuration Mechanical Test Fixture Device Under Test Bar Code Scanner Test Results Ticket BED OF NAILS COM 1 External Instrument DUT MATE Power Control Module 32 CH DATA ACQUISITION DAQ MATE Universal Test Control Panel POWER START TEST MODE SELECT O RUN PASS FAIL LCD T 9 E LLI lt i Oi Bus Interface Oi Bus Interface TCI MATE Test Control Interface MICRO MATE EMBEDDED TEST CONTROLLER Automated Test No PC Required Overton Instruments 12 www daq mate info DAQ MATE USER S MANUAL 3 1 2 Embedded Programming To build on the PCB board test example shown in section 3 1 1 we have con structed a demo program using BASCOM BASCOM is a BASIC language com piler that includes a powerful Windows IDE Integrated Development Environ ment and a full suite of QuickBASIC like commands and statements The demo program which is outlined in section 3 2 3 illustrates the ease of control ling the DAQ MATE via the Micro MATE microcontroller The program starts by initialing the Micro MATE for proper operation You will note that the BASCOM software provides exce
9. A num gt 0 Then A resp Left s 3 If A resp Then A resp Mid s 4 2 Select Case A resp Case CC Configure ADC channel A resp 6 1 If A resp Then Print lt Daq conf code gt Else A resp Mid s 6 2 A ch Val a resp If A ch gt 32 Then Err trap True A char Mid s 8 1 If A char lt gt D And A char lt gt S Then Err trap True Else If A char D Then Daq mode 0 If A char S Then Daq mux mode 1 End If A char Mid s 9 1 If A char lt gt 0 And A char lt gt 1 Then Err trap True Else If A char 0 Then Daq po If A char 1 Then Daq po End If If A ch 4 And A ch lt 9 Then If Daq mux mode 0 Then Err trap True Elseif A ch 12 And A ch 17 Then If Daq mux mode 0 Then Err trap True Elseif A ch 20 And A ch 25 Then If Daq mux mode 0 Then Err trap True Elseif A ch 28 And A ch 33 Then If Daq mux mode 0 Then Err trap True End If A char Mid s 10 1 A num Val a char If A num lt 1 OrA gt 4 Then Err trap True If Err trap False Then If A num 1 Then Daq range Daq adc 5v If A num 2 Then Daq range Daq adc 5v5v 0 1 Overton Instruments DUT MATE USER S MANUAL If A num Then Daq range Daq adc 10v If A num 4 Then Daq range Daq adc 10v10v If Daq mux mode 1 Then Daq ch Daq ch buf a ch Else Daq ch Daq ch buf d a ch set differential ended c
10. AL COMMAND SET 19 APPENDIX B SCHEMATIC 20 APPENDIX C MECHANICAL DIMENSIONS 21 Overton Instruments 3 www daq mate info DAQ MATE USERS MANUAL 1 Introduction 1 1 Overview The DAQ MATE offers an impressive 32 channels of analog data acqui sition including 12 bit resolution and a sample rate of 100ksps In ad dition the channels can be independently programmed for either single ended or differential mode and operate in 4 different input ranges 0 5V 0 10V 5 and 10 The DAQ MATE is offered in two versions a standard model or with a USB option The standard model is designed for embedded applications and provides a simple SPl bus interface for control by a external micro controller With the USB option many test solutions can be quickly built by connecting the DAQ MATE to a PC laptop or desktop and then run ning our GUI software No external power source is required since power is supplied through the USB interface Any either case easy ac cess to the hardware is made available through a convenient collection of screw terminal connectors DAQ MATE BLOCK DIAGRAM 12 BIT A D CONVERTER TES M ANALOG Al PORT 1 INPUTS USB CH09 CH16 INTERFACE OPTIONAL CONTROL INTERFACE EMBEDDED ANALOG 12 BIT A D INTERFACE lt INPUTS Al PORT 2 CONVERTER CH47 CH24 12 BIT A D ANALOG Al PORT 3 CONVERTER INPUTS CH25 CH32 Overton Instruments 4 www daq mate info 1 2 Highlights BENEFITS e A
11. EMBEDDED TEST SOLUTIONS DAQ MATE 32 CH DATA ACQUISITION MODULE UNIVERSAL SERIAL BUS ry L 3 gt 1 1 Th A NI BS ATE TRS 4 RN e eee USER S MANAUAL Overton Instruments Inc overton 5431 Auburn Blvd 196 INSTRUMENTS Sacramento CA 95841 www microATE net DAQ MATE USER S MANUAL NOTICE The information contained in this document is subject to change without notice To the extent allowed by local law Overton Instru ments Ol shall not be liable for errors contained herein or for incidental or consequential damages in connection with the fur nishing performance or use of this material No part of this docu ment may be photocopied reproduced or translated to another language without the prior written consent of Ol WARNING The instrument you have purchased and are about to use may be NOT an ISOLATED product This means that it may be suscepti ble to common mode voltages that could cause damage to the instrument SUCH DAMAGE IS NOT COVERED BY THE PROD UCT S WARRANTY Please read the following carefully before deploying the product Contact OI for all questions WARRANTY Ol warrants that this instrument will be free from defects in materi als and workmanship under normal use and service for a period of 90 days from the date of shipment OI obligations under this war ranty shall not arise until the defective material is shipped freight prepaid to Ol The only re
12. aq mate info
13. erential and Single Ended MUX Assignment On the Fly CHANNEL CHANNEL CHANNEL 1 y UNUSED 7 18T CONVERSION 7 2ND CONVERSION IE COM Overton Instruments 7 www daq mate info DAQ MATE USER S MANUAL 2 2 Board Layout J1 10 Pin Terminal J2 10 Pin Terminal Provides access to Provides access to analog channels 1 8 J5 10 Pin Interface analog channels 9 16 Provides access for remote control via an Embedded controller J3 10 Pin Terminal Provides access to analog channels 17 24 J4 10 Pin Terminal Provides access to analog channels 25 32 USB Interface Connectors USB 1 and USB 2 replaces J1 and allows connection to the USB MATE op tional module LED to indicate active circuit Convenient GND J6 40 Pin Header test point Consolidates all 32 analog channels into a single header Overton Instruments 8 www daq mate info DAQ MATE USER S MANUAL 2 3 Connections Name Description Name Description 5 Port0 4 Input CH 5 5 4 Input CH 13 6 Port0 5 Input CH 6 6 Port1 5 Input CH 14 7 Port0 6 Input CH 7 7 Port1 6 Input CH 15 8 Port0 7 Input CH 8 8 Port1 7 Input CH 16 9 AGND Analog Ground 9 AGND Analog Ground Name Description Name Description Port2 0 Input CH 17 Port3 0 Input CH 25 Port2 1 Input CH 18 Port3 1 Input CH 26 3 Port2 2 Input CH 19 3 Port3 2 Input CH 27 4 Por
14. esigned to exercise the device under test and generate Go No Go test results The Micro MATE also provides a sizable breadboard area to support the development of custom circuits Adjacent to the breadboard area is a series of wire wrap pins that comprise a goodly amount of general purpose Digital I O The schematic below shows the wire wrap connections which create the interface between the Micro MATE and the DAQ MATE J1 10 pin header connector Actually the DAQ MATE can be easily driven by most microcontrollers including an ARM AVR PIC or even a STAMP When developing an interface for the DAQ MATE it is recommended the designer start by reviewing the interface re quirements as outlined in the J1 Table which is provided in the I O Description section The next step is to review the DAQ MATE schematic which is provided in Appendix A What could be the most challenging aspect of the design effort is controlling the SPl bus devices The DAQ MATE contains 4 SPl bus devices which are exactly the same analog to converter chip The ADC is a 12 bit 8 channel data acquisition IC from Linear Technology part number LTC1857 Details for specific device performance and SPl bus operation can be found in the data sheet Go to the manufacturers website to download said documents MICRO MATE INTERFACE Wire Wrap Pin Out 1 MM 2 ND MM 3 4 MM 5 55 9 DAQ MATE INTERFACE MM 6 7 n BUS MM 8 MM 9 0 3 MM 1
15. example shown below Press the Enter key and the gt prompt should appear on the screen as demonstrated in the example on the right Refer to the table in Appendix A to begin to experi ment with the serial commands 2 RC 09S01 lt 000 gt Connected 0 00 17 Auto detect S600 8 N 4 LT Device Manager E mE File Action View Help m PROBESTS OF 2512 H Computer ee Disk drives E Display adapters DVDICD ROM drives Floppy disk controllers dA Floppy disk drives 023 IDE ATAJATAPI controllers Keyboards LA Mice and other pointing devices 2 Monitors Network adapters Ports COM amp LPT ue Communications Pork COL vi Communications Pork COMz 3 ECP Printer Port LPT1 Ol Serial Interface COM3 q Se Processors e Sound video and game controllers d System devices Universal Serial Bus controllers Intel R 8260144 USB Universal Host Controller lt OI USB Interface 4 USE Root Hub Overton Instruments 16 www daq mate info DAQ MATE USER S MANUAL 3 2 1 2 Virtual Instrument Panel The Virtual Instrument Panel or Control GUI removes the hassle of manually typing ASCII commands and provides the User a more efficient method to inter act and control the DAQ MATE Download the panel from our website at www check mate com click on downloads and select DAQ Matexxx exe Third Step After ini
16. flexible low cost alterna tive to expensive PC based DAQ cards Quickly measure a wide ar ray of analog signals Each analog channel can be inde pendently programmed for 4 different range modes Great for embedded solu tions place inside mechani cal test fixtures instrument boxes or rack mount enclo sures Overton Instruments APPLICATIONS Burn In Engineering Depot Repair Production Test QA QC Quality Control OEM Test Instruments DAQ MATE USER S MANUAL FEATURES 32 12 bit A D channels 100Ksps sample rate Programmable Single Differential modes 4 Programmable Input Ranges 0 5V 0 10V 5V and 10V USB interface or embedded control Low Cost Compact size a 2 5 x 3 5 PCB with four 4 mounting holes in each corner spacers and hardware included www daq mate info DAQ MATE USER S MANUAL 1 3 Specifications Analog Inputs Number of inputs 32 SE 16 Differential Input Ranges 0 5V 0 10V 10V programmable Resolution SR 12 bit 100ksps Nonlinearity 1LSB no missing codes Input Control Embedded Oi Bus interface USB Interface Optional USB module General Power Supply 5VDC 10 30mA Operating Temp 0 50 C Dimensions 3 07 Overton Instruments 6 www daq mate info DAQ MATE USER S MANUAL 2 Description 2 1 Hardware Details Access to DAQ MATE hardware is made possible through a convenient set of screw terminal connections
17. h Daq ch 6 Daq mux pol set polarity End If Daq conf code Mid s 6 5 Call Print ok Else Call Print oor End If End If Case RV read voltage A resp Mid s 6 1 If A resp 2 Then Call Daq rd adc daq word Daq ch Daq range If Daq word 4095 Then Call Print oor Else A str Str daq word Print lt A str gt End If Else Call Print ic End If Case Else Call Print ic End Select Else Call Print ic End If End If Loop End set single ended ch set configuration code invalid command invalid command invalid command Sub Routines Daq val amp H0000 Daq num 2 Daq ch If Daq ch 9 Then Daq dev 0 Elseif Daq ch gt 9 And Daq ch lt 16 Then num Daq ch 8 Daq dev 1 Elseif Daq ch gt 17 And Daq ch lt 24 Then Daq num Daq ch 16 Daq dev 2 Elseif Daq ch gt 25 And Daq ch lt 32 Then Daq num Daq ch 24 Daq dev 3 End If Daq ch Daq ch buf daq num Daq cntl byte Daq range Or Daq ch While Daq busy 0 Select analog channel check busy flag Wend Reset Sclk Delay For Daq cnt 1 To m cnts take X measurements Daq word 0 If dev 0 Then Reset Daq adc 0 If Daq dev 1 Then Reset Daq adc cs1 If Daq dev 2 Then Reset Daq adc cs2 If Daq dev 3 Then Reset Daq adc cs3 For Daq cnt 15 Downto 0 If Daq cnt gt 8 Then Daq num Daq cnt
18. llent bit manipulation capabilities as evident by the use of the ALIAS statement The Micro MATE P1 7 amp P1 6 port bits are assigned unique label names i e SCLK DOUT which are used to support various DAQ MATE functions In the Main program section the Mi cro MATE receives high level serial commands from a host PC parses them and then executes accordingly When for example the 17501 com mand is entered the program selects analog channel number 17 S for single ended O for polarity and 1 for 5V range After the command is deciphered the program call s subroutine Daq rd adc chk adc Daq ch Daq mode pol range which causes the DAQ MATE to take an analog meas urement and return the results in a 3 character hexadecimal ASCII string Independent of the microcontroller hardware or programming language you choose the program sequence described above will likely resemble the way you implement your DAQ MATE application For this reason we suggest that you go to our website and download the DAQ MATE zip file In the Documents folder will contain more extensive examples of routines to control the DAQ MATE Overton Instruments 13 www daq mate info DAQ MATE USER S MANUAL 3 2 PC Control For those more comfortable building traditional PC based Automated Test Equipment ATE the DAQ MATE offers many features that are well suited for that environment as well Co
19. ntrolling the DAQ MATE from a PC requires that it be equipped with an op tional USB MATE module The USB MATE module contains a USB bridge chip and a PIC microcontroller On the PC side the USB bridge chip receives a spe cial set of serial commands On the DAQ MATE side the PIC controller proc esses the serial commands and then drives the DAQ MATE hardware accord ingly In order to be recognized by the PC the USB MATE module requires a set of Windows drivers be installed To do so go to www DAQ MATE info click Download select the Ol VCP Interface file and follow the prompts The letters VCP stands for Virtual COM Port and is a method by which the USB interface can appear to the PC as a standard serial COM port With the drivers installed and the USB MATE connected to the PC go to the Device Manager click on Ports and verify Ol Serial Interface COM is included The diagram below provides a basic illustration of a PC driven configuration As shown the DAQ MATE is used to perform a quick Acceptance test by collecting analog measurements from a full panel of PCBs PC Control M TE DAG Control GUI Wan Add a USB Hub s to drive multiple DAQ MATEs and or other Panelized PCB Functional Test Ol instruments Overton Instruments 15 www daq mate info 3 1 3 Embedded Program Example Program DAQ MATE Demo Initialization
20. r line feed alone without a command then a 2 is re turned this response is a prompt to signal the DAQ MATE is ready If the DAQ MATE detects an in correct command then one of three error symbols will be generated 1 invalid command then a is returned 2 a command that is out of limits then a gt gt is returned and 3 a command that prematurely times out then a is returned In some cases the error symbol will include a bracketed result i e gt 1 lt which defines a specific error code Command Function Response Description Select one 0f4 different baud rates by chang ing n code 0 1200 1 2400 2 9600 amp 3 PADAN 19200 Baud will remain set Default code is 3 19200 DQ BR Ganado code Get current baud rate code n is the return code 0 to 3 n n DQ ID Get module ID DAQ MATE vx x gt Get current identification and version number lt gt lt gt lt gt Master Reset Reset amp initialize the module Set single ended channel configuration cc ADC channel number 01 to 32 Set single ended r ADC range 1 5V 2 5V 10V 4 configuration 10V If cc 00 then all channels are set to r same range Set differential channel configuration cc ADC channel number 01 to 16 ADC polarity 0 1 DQ SDccpr Set differential r ADC range 1 5V 2 5V 10V 4 configuration 10V If 00 then all channels are set to
21. sponsibility of Ol under this warranty is to repair or replace at it s discretion and on a free of charge ba sis the defective material This warranty does not extend to prod ucts that have been repaired or altered by persons other than Ol employees or products that have been subjected to misuse ne glect improper installation or accident OVERTON INSTRU MENTS SHALL HAVE NO LIABILITY FOR INCIDENTAL OR CONSEQUENTIAL DAMAGES OF ANY KIND ARISING OUT OF THE SALE INSTALLATION OR USE OF ITS PRODUCTS SERVICE POLICY 1 All products returned to OI for service regardless of warranty status must be on a freight prepaid basis 2 Unless otherwise noted OI will repair or replace any defective product within 10 days of its receipt 3 Forin warranty repairs Ol will return repaired items to buyer freight prepaid Out of warranty repairs will be returned with freight prepaid and added to the service invoice Overton Instruments 2 www daq mate com DAQ MATE USERS MANUAL Table Of Contents 1 0 INTRODUCTION 4 1 1 Overview 4 1 2 Highlights 5 1 3 Specifications 6 2 0 DESCRIPTION 7 2 1 Hardware Detalls 2 2 Board Layout 8 2 3 Connections 9 3 0 OPERATION 11 3 1 Embedded Control 11 3 1 1 Embedded Configuration 12 3 1 2 Embedded Programming 13 3 1 3 Embedded Program Example 14 3 2 PC Control 15 3 2 1 PC Programming 16 3 2 1 1 HyperTerminal 16 3 2 1 2 Virtual Instrument Panel 17 3 2 1 3 PC Programming Example 18 APPENDIX A SERI
22. t 47 dio bit cnt gt 1 dio bit if dio bits dio bit cnt 1 dio bits dio bit cnt 0 dio bits dio bit cnt 1 1 break dio_bit_num 47 for dio port 0 dio port lt 5 dio_port for dio idx 7 dio idx gt 0 dio dio byte dio idx dio bits dio bit num dio bit num extract DIO byte dio byte 8 0 sprintf send data s d r set dio port dio port select DIO port PutString io port send data sprintf send data Y s s r set dio byte dio byte write DIO byte PutString io port send data 18 www daq mate info DAQ MATE USER S MANUAL Appendix A Serial Command Set To facilitate remote control for the DAQ MATE a USB interface is required When connected to a host PC the USB connection appears as a Virtual Com which establishes a serial data communica tions link between the two The default protocol is 19200 baud rate no parity 1 stop bit and no flow con trol The DAQ MATE will respond to a unique set of ASCII serial data commands listed below The first three bytes of the command string starts with the prefix DQ_ followed by a code that represents the actual command All commands are upper case sensitive and are terminated with a carriage return If the command is valid the DAQ MATE will return either a lt gt or a bracketed result i e lt F74 gt If the DAQ MATE receives a carriage return o
23. t2 3 Input CH 20 4 Port3 3 Input CH 28 6 Port2 5 Input CH 22 6 Port3 5 Input CH 30 Overton Instruments 9 www daq mate info DAQ MATE USER S MANUAL 2 2 Connections cont i i Description A regulated 5Vdc output for external use Current limited to roughly 100mA Part of a 3 wire SPI Bus SCLK synchronizes the serial data transfer for the DIN and DOUT signals A TTL active low input signal that provides a chip select for the ADC Port 0 ADC CS0 Part of a 3 wire SPI Bus DIN is serial command and control data for the ADC ports A TTL active low input signal that provides a chip select for the ADC Port 1 ADC CS1 Part of a 3 wire SPI Bus DOUT is serial output data from the ADC ports A TTL active low input signal that provides a chip select for the ADC Port 2 ADC CS2 A TTL active low input signal that provides a chip select for the ADC Port 3 ADC_CS3 Digital Ground A TTL active low output O signal that indicates a ADC port is busy Overton Instruments 10 www daq mate info DAQ MATE USER S MANUAL 3 Operation 3 1 Embedded Control In section 3 1 1 on the next page the DAQ MATE is shown integrated with other ETS Series components that collectively form a complete Embedded Test oolution The diagram shows the DAQ MATE being driven by the Micro MATE The Micro MATE is a low cost Embedded Test Controller which stores a spe cial program that is d
24. tializing the module Second Step Push the Initialize button This will cause the module to initialize itself and attempt to establish a communications link should send back a unique ID code If no response has occurred within 10 seconds the program will time out and generate a No Response message First Step The User must select a COM Port Refer to the Device Manage to iden tify an available COM port Sees DEVICE ID DAQ MATE v 1 ea DAQ MATE CONTROL GUI PORT SELECT COM 3 The Volt Meter displays a voltage measurement based the current analog channel and range setting 2 90 The ACQUIRE function updates the analog con figuration settings and displays a measurement every 100msec 0 00 0 00 Hange Evdc Wide Bv de 0 10de 3 100 ADC Port Analog Channel This Range function selects 1 of 4 specific analog input modes Each Analog Input CH can be set to a different range setting The ADC Port function se lects 1 of 4 8 channel ADC port chips STATUS Measure Volts The STATUS message box summarizes results of the serial commands Overton Instruments 17 The Analog Input CH func tion selects an individual analog channel 1 to 32 www daq mate info DAQ MATE USER S MANUAL 3 2 1 3 PC Programming Example DAQ MATE programming example in C The following program tests an
25. ured data is provided alone When n 0 Basic mode is active and n 1 Extended mode is active When f D decimal data f H hexadecimal data Analog inputs can be averaged with a meas urement sample count The sample count value nnn must be a 3 byte ASCII decimal from 000 to 255 Get the current ADC sample count www daq mate info DAQ MATE USER S MANUAL Appendix B Schematic 19945 HH Ge Gos BEBE BEY TE 34 mum BK uauaac Ag sagung pusunzan HAT aa JALIL GPT 1916 LERSE vo ouo ug IBU AJENG MAPA SEE ps LEE SILIP ALE NOLHJAQ SELLI or 31 i 88 VER EE LEE EAST MEA STIS mmm ur ALASAN ADUSTA k la ku ar ar ar s Fa Pa Pa Pa y LIE fr LE E m E z LIE i 5 E F E a SEE Sr DH D PP ng np sP af a _ ERD XIV gt er i PT S er er rer 7 ET i per rer 2FL LALI LAS gt ADAGE gt gt MIE ME Hw gt UBD JOY a ra 5 gt 21 www dac mate info Overton Instruments DAQ MATE USER S MANUAL Appendix C Mechanical Dimensions 4 40 x4 Hex Pan Head Screws Overton Instruments 22 www d
Download Pdf Manuals
Related Search
Related Contents
NT 27/1 / NT 27/1 Me ISSN 0397-4529 En savoir plus Catalogue Direct-Q® 3, 5, 8 Water Purification Systems Nebula user manual w Warranty 20140709 G:\ProdPlan\Documentation\GD96\Instructions\German\German Urine-Based Trichomonas vaginalis PCR Detection Kit Copyright © All rights reserved.
Failed to retrieve file