Home

DAQ-MATE USER`S MANUAL

image

Contents

1. 24Vdc 2 POWER us 1 Hos SOURCE lt 5 lt zz 2 5 E 81 e 2 5 oS as IR gt 2 sis 21 0 14 c DAQ MATE Interface Relay MATE Interface Signal Generator DUT MATE Interface BREAD BOARD AREA MINI MATE EMBEDDED TEST CONTROLLER Overton Instruments 11 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 Mini MATE microcontroller The program starts by initialing the Mini MATE for proper operation You will note that the BASCOM software provides excellent bit manipulation capabilities as evident by the use of the ALIAS statement The Mini MATE P1 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 Mini MATE receives high level serial commands from a host PC parses them and then executes accordingly When for example the DO CS17 command is en tered the program selects analog channel number 17 And then whe
2. yt if stromp gt read data printf Incorrect promt n exit 11 Master Clear If a cnt 0 sprintf send data s r dq master If a cnt 1 sprintf send data s r io master clr PutString port send data Set DIO MATE port direction sprintf a str s r 00000000 output direction for a cnt 0 a cnt lt 5 sprintf send data s d r set dio port a cnt PutString io port send data sprintf send data s s r set dio dir a str PutString io port send data sprintf send data s s r set dio byte a str PutString io port send data Overton Instruments Set DAQ MATE ADC range a 0 for a_cnt 1 cnt lt 32 a cnt sprintf send data s 02d r set adc ch a cnt PutString dq port send data if a num 0 sprintf a str s r 0 0 5Vdc if a num 1 sprintf a str s r 2 0 10Vdc sprintf send data s s r set adc range a str PutString dq port send data a a num 11 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 sprintf send data s 02d r set adc ch a ch PutString dq port send data sprintf se
3. gt Analog Ground www info DAQ MATE USER S MANUAL 2 2 Connections cont 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_CSO 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 and DIO circuits A TTL active low input signal that provides a chip select for the ADC Port 2 ADC CS2 gt Digital Ground A TTL active low input signal that provides a chip select for the ADC Port 3 ADC CS3 Overton Instruments 9 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 Solution The diagram shows the DAQ MATE being driven by the Mini MATE The Mini MATE is a low cost Embedded Test Controller which stores a special program that is designed to exercise the device under test and generate Go No Go test results The Mini MATE also provides a sizable breadboard area to sup port the development o
4. yry rg MAX1270 Overton Instruments 19 www daq mate info DAQ MATE USER S MANUAL Appendix C Mechanical Dimensions Overton Instruments 20 www daq mate info
5. 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 DO 102 char dq master clr DO MC char set adc ch DO SC char set adc range DO AR char get adc volts RV get module ID set master clear set ADC channel 1 set ADC range ll read voltage char set dio dir IO PD char set dio IO PN char set dio byte lO PB char io get lO 102 char io master clr IO MC set DIO port direction set DIO port number set DIO byte write get module ID set master clear main dq_port OpenComPort 1 256 64 io_port OpenComPort 1 256 64 for a_cnt 0 a_cnt lt 1 a_cnt if a cn 0 port dq port if a cnt 0 port dq port Open COM 1 DAQ MATE II Open COM 2 DIO MATE if stat SetPortCharacteristics port BAUD19200 PAR EVEN LENGTH 8 STOPBIT 1 PROT NONNON RS232bERR NONE printf Error d setting characteristicsWn 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 1 Get device prompt sprintf send data s r PutString port send_data ll send CR if resp len GetString port sizeof read_data read_data printf Time out error n exit
6. USB Root Hub Overton Instruments 15 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 Second Step Push the Initialize button This will cause the module to initialize itself and attempt to establish a communications link First Step The User must select a COM Port Refer to the Device Manage to iden tify an available COM port DAQ MATE CONTROL GUI PORT SELECT 3 0 00 ADC Port Analog Channel ps 4225 0 dc 5 5 4 modes Each Analog 0 1044 Third Step After initializing the module 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 EER DEVICE ID DAG MATE v0 1 The Volt Meter displays a voltage measurement based the current analog channel and range setting The ACQUIRE function updates the analog con figuration settings and displays a measurement every 100msec Range This Range function selects 1 of 4 specific analog input Input CH can be set toa different range setting 10
7. 1 Board Layout Convenient GND test point LED to indicate active circuit 10 Pin Terminal Provides access to analog channels 25 32 43 10 Pin Terminal TNA MR Provides access to analog channels 17 24 J1 10 Pin Terminal Provides access to analog channels 1 8 J2 10 Pin Terminal Provides access to ana log channels 9 16 USB Interface J5 10 Pin Interface Provides access for remote control via an Embedded controller Overton Instruments 7 www daq mate info DAQ MATE USER S MANUAL 2 2 Connections Name Port0 0 Port0 1 Port0 2 Port0 3 0 4 Port0 5 Port0 6 Port0 7 AGND Name Port2 0 Port2 1 Port2 2 Port2 3 Port2 4 Port2 5 Port2 6 Port2 7 AGND J1 Dir Description gt Input CH 1 gt Input CH 2 gt Input CH 3 gt Input CH 4 gt Input CH 5 gt Input CH 6 gt Input CH 7 gt Input CH 8 gt Analog Ground J3 Dir Description gt Input CH 17 gt Input CH 18 gt Input CH 19 gt Input CH 20 gt Input CH 21 gt Input CH 22 gt Input CH 23 gt Input CH 24 gt Analog Ground Overton Instruments Description gt Input CH 9 gt Input CH 11 gt Input CH 12 gt Input CH 13 gt Input CH 14 gt Input CH 15 gt Input CH 16 gt Analog Ground gt Input CH 26 gt Input CH 27 gt Input CH 28 gt Input CH 29 gt Input CH 30 gt Input CH 31 gt Input CH 32
8. 19200 Baud will remain set Default code is 3 19200 DQ BR G tbaudrate code 243 Get current baud rate code n is the return code 0 to 3 DQ ID Get module ID lt DAQ MATE vx x gt Get current identification and version number DOMR Master Reset Reset amp initialize the module Write Store current instrument settings in EEPROM Save settings related to the ADC DAC and configuration DIO hardware DQ_RC Recall Retrieve stored instrument settings configuration Select a ADC voltage channel The nn represents a channel number from 01 to 32 DQ_SCnn Set ADC channel DQ_SC Get ADC channel Get the current ADC voltage channel lt gt Set the ADC range code n is 0 0 5Vdc 1 DO ARD veh ADE range 0 10Vdc 2 5Vdc and 3 10Vdc DQ AR Get ADC range lt n gt Get the current ADC range code Get a voltage measurement based on the DO RV Get voltage enini current ADC channel and range selection The measurement measurement contains 4 ASCII bytes repre senting a 12 bit decimal value 0 4095 Measure and output 32 ADC channels Each 5 channel contains 4 ASCII bytes representing a DQ CS Scan all ADC ch s ch1 ch2 ch32 12 bit decimal value 0 4095 A comma separates each channel Overton Instruments 18 www daq mate info DAQ MATE USER S MANUAL Appendix B Schematic DAQ MATE USB Date 9 8 2007 9 09 38 AN Document Number TITLE OY ion a 3
9. DAQ MATE USER S MANUAL A A NN 10 10 11 12 13 14 15 15 16 17 18 19 20 www daq mate info DAQ MATE USER S MANUAL 1 Introduction 1 1 Overview The DAQ MATE offers an impressive 32 channels of single ended ana log data acquisition including 12 bit resolution and a sample rate of 110KHz In addition each channel can be independently programmed for 4 different input ranges The DAQ MATE is made available is two versions a standard model or with a USB option The standard model is designed for embedded appli cations and provides a simple SPI bus interface for control by a external microcontroller With the USB option many test solutions can be quickly built by connecting the DAQ MATE to a PC laptop or desktop and then running 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 BIS CONVERTER ANALOG Al PORT 1 INPUTS USB CH08 CH15 INTERFACE OPTIONAL CONTROL INTERFACE ANALOG EMBEDDED 12 BIT A D INTERFACE Eu INPUTS Al PORT 2 CONVERTER Sg 8 12 BIT A D ANALOG Al PORT 3 CONVERTER INPUTS CH24 CH31 Overton Instruments 4 www daq mate info DAQ MATE USER S MANUAL 1 2 Highlights BENEFITS APPLICATIONS FEATURES e A flexible low cost alterna Burn I
10. SPl bus serial data input AdcO cs Alias P1 3 ADC chip select Adc1 cs Alias P1 4 port1 chip select Adc2 cs Alias P1 5 ADC port2 chip select Adc2 cs Alias P1 6 port3 chip select Declare Sub Print ic Declare Sub Print orr print out of range Declare Sub Print_ur print under range Declare Sub Print_ok print command is OK Declare Sub Daq rd adc chk adc val As Single Daq ch As Byte Daq adc range As Byte print invalid command Main In the Main the Operator or Host is prompted to enter a command The command is parsed and then executed if valid Only three command examples are shown Set Sclk Dout AdcO_cs Adc1 cs Adc2 cs Adc3 cs Set to logic 1 Do Input Enter command S S Ucase s A_resp Left s 3 If A resp CK Then A resp Mid s 4 2 Select Case A resp Case AR Set ADC Range A resp Mid s 6 1 If A resp Then If Daq adc range Daq adc 5v Then A str If Daq adc range Daq adc 10v Then A str If Daq adc range Daq adc 5v5v Then A str 2 If Daq adc range Dad adc 10v10v Then A str 3 Print lt A str gt Print Else A num Val a resp If A num lt 0 Or A num Then Call Print oor out of range Else If A num 0 Then Daq adc range Daq adc 5v If A num 1 Then Daq adc range Daq adc 10v If A num 2 Then Daq adc range Daq adc 5v5v If A num 3 Then
11. adc range Daq adc 10v10v End If End If Case SC Set ADC channel A resp Mid s 6 1 If A resp Then A str Str chk ch Print lt A str gt Print Else A num Val a resp If A num lt 0 Or A num gt 7 Then Call Print oor out of range Else Daq ch A num End If End If Overton Instruments Case RV read voltage A resp Mid s 6 1 If A resp Then Call Daq rd adc chk adc val Daq_ch Daq_adc_range A str Str chk adc val Print lt A str gt Print Else Call Print ic invalid command End If Case Else Call Print ic invalid command End Select Else Call Print ic invalid command End If Loop End Sub Routines Sub Daq rd adc chk adc val As Single Daq ch As Byte Daq adc range As Byte Dad adc val amp H0000 Select range num 2 Daq ch If Daq ch 8 Then Dad dev 0 Elseif Daq ch gt 8 And Daq ch lt 15 Then Daq num Daq ch 8 Daq dev 1 Elseif Daq ch gt 16 And Daq ch lt 23 Then Daq num Daq ch 16 Daq dev 2 Elseif Daq ch gt 24 And Daq ch lt 31 Then Dad num ch 24 Daq dev 3 End If Select analog channel Dad ch Daq ch buf daq num Dad cntl byte range Daq ch Reset Sclk Delay take X measurements For Daq cnt 1 To Daq m cnts Dad adc word amp H0000 Daq num 7 Daq num 2 11 Select device If Daq dev 0 Then Reset Ad
12. only responsibility 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 DEMAGES 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 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 Table Of Contents 1 0 INTRODUCTION 1 1 Overview 1 2 Highlights 1 3 Specifications 2 0 DESCRIPTION 2 1 Board Layout 2 2 Connections 3 0 OPERATION 3 1 Embedded Control 3 1 1 Embedded Configuration 3 1 2 Embedded Programming 3 1 3 Embedded Program Example 3 2 PC Control 3 2 1 PC Programming 3 2 1 1 HyperTerminal 3 2 1 2 Virtual Instrument Panel 3 2 1 3 PC Programming Example APPENDIX A SERIAL COMMAND SET APPENDIX B SCHEMATIC APPENDIX C MECHANICAL DIMENSIONS Overton Instruments 3
13. EMBEDDED TEST SOLUTIONS DAQ MATE 32 CH DATA AQUISITION MODULE T 9 nones ER lt x I e amp L UNIVERSAL SERIAL BUS LJ COOL FIL apis TWIN ives 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 OI 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 WARRENTY 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 Ol obligations under this war ranty shall not arise until the defective material is shipped freight prepaid to Ol The
14. c 50 If Daq dev 1 Then Reset Adc cs1 If Daq dev 2 Then Reset Adc cs2 If Daq dev 3 Then Reset Adc cs3 For Daq cnt 2 1 To 24 If Daq cnt 2 9 Then Send control byte Dout cntl byte chk num Set Sclk Reset Sclk Decr Daq num Elseif Daq cnt 2 12 Then Get ADC value Set Sclk Reset Sclk Dad adc word chk num 2 Din Decr Daq num 2 Else dummy clocks Set Sclk Reset Sclk End If Next Daq num disable devices Set Adc0 cs Adc1 cs Adc2 cs Adc3 cs collect results Daq adc val Daq adc val Daq adc word Waitms 1 Next Daq cnt compute average Daq adc val Daq adc val Daq m cnts End Sub 13 www daq mate info DAQ MATE USER S MANUAL 3 2 PC Control For those who are 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 Controlling 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 accordingly In or der to be recognized by the PC the USB MATE module requires a set of Win dows drivers be installed do so go to www DAQ MATE com click Download select the Ol VCP Interface file a
15. de 1 vdc 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 The Analog Input CH func tion selects an individual analog channel 1 to 32 Overton Instruments 16 www daq mate info DAQ MATE USER S MANUAL 3 2 1 3 PC Programming Example 11 DAQ MATE programming example C Il 1 The following program tests an 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 1 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 II for intensity The outputs of the LED sensors are connected to the DAQ I MATE s 32 analog channels The DIO MATE a 48 bit digital I O module 1 is used to turn On Off the individual LEDs The test sequence involves 1 selecting an analog channel turning On the LED measuring color 8 11 intensity and then save the results and repeat the cycle define define MSWIN MSWINDLL serial comm libraries from www wcscnet com include comm h include 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
16. e DAQ MATE a USB interface is required When connected to a host PC the USB connection appears as a Virtual Com Port 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 2108 gt If the DAQ MATE receives a carriage return or line feed alone without a command then a gt 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 lt lt 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 of 4 different baud rates by chang ing n code 0 1200 1 2400 2 9600 amp 3 mel Dauditale code
17. f custom circuits Adjacent to the breadboard area is a series of wire wrap pins that comprise a goodly amount of general purpose Digi tal I O The schematic below shows the wire wrap connections which create the interface between the Mini MATE and the DAQ MATE J1 10 pin header con nector 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 Maxim part number MAX1270 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 MINI MATE INTERFACE 15 um PAL DAQ MATE INTERFACE 5 1 CLK CSU 3 d Overton Instruments 10 www daq mate info DAQ MATE USER S MANUAL 3 1 1 Embedded Configuration Device Under Test LOCATOR II 7 Mechanical Test Fixture BED OF NAILS Ala ONE TEST CONTROL UNIT
18. iew Call Transfer Help gt gt 00 ID DAQ MATE vx x gt HyperTerminal is a serial communica tions program that comes with the Win dows OS and is located in the Accesso ries folder Use the USB cable to con nect the PC to the DAQ MATE Run HyperTerminal and configure the settings for 19200 bps 8 data bits no parity 1 stop bit and no flow control Select the COM port based on the available COM port as indicated in the Device Manager 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 B to begin to experi ment with the serial commands gt Do CS22 lt gt gt DO RV 0000 detect Connected 0 00 17 18600 8 N 1 Device Manager DER Fie Action Help Computer s Disk drives a Display adapters 4 DVD CD ROM drives Floppy disk controllers GB Floppy disk drives 3 IDE controllers 252 Keyboards 1 Mice and other pointing devices Monitors 88 Network adapters Ports COM amp LPT Communications Port 1 7 Communications Port COM2 agi ECP Printer Port LPT1 Ol Serial Interface COM3 4 Processors Sound video and game controllers System devices Universal Serial Bus controllers USB Interface q Intel R 8280144 USB Universal Host Controller
19. n command DQ_AR1 is entered the program selects the analog channel range which is 5Vdc Finally when command DQ_RA is entered the program call s sub routine adc chk adc val ch Daq adc range This causes the DAQ MATE to take an analog measurement and return the results in a 4 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 12 www daq mate info DUT MATE USER S MANUAL 3 1 3 Embedded Program Example Program DAQ MATE Demo Initialization 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 0 SPl bus serial clock Dout Alias P1 1 SPl bus serial data output Din Alias P1 2
20. n e 32 Analog Input Channels tive to expensive PC based SE 110Khz sample rate DAQ cards e 12 bit Resolution Quickly measure a wide ar e Uni polar and Bipolar modes ray of analog signals Each Production Test 0 5 4 0 10Vdc 5Vdc amp analog channel can be inde QA QC Quality Control 10Vdc pendently programmed for 4 different range modes OEM Test Instruments USB or embedded control interface Engineering Depot Repair Great for embedded solu tions place inside mechani Low Cost cal test fixtures instrument Compact size a 2 5 x 3 5 boxes or rack mount enclo PCB with four 4 mounting sures holes in each corner spacers and hardware included Overton Instruments 5 www daq mate info DAQ MATE USER S MANUAL 1 3 Specifications Analog Inputs Number of inputs 32 CH 12 bit single ended Input Ranges 0 5V 0 10V 5V 10V programmable Max Sample Rate 110KHz Nonlinearity 1LSB no missing codes Input Control Embedded SPI bus amp control logic USB Interface Optional USB module General Power Supply 5VDC 10 30mA Operating Temp 0 50 C Dimensions Poe Sey Overton Instruments 6 www daq mate info Connectors USB 1 and USB 2 replaces J1 and allows connection to the USB MATE DAQ MATE USER S MANUAL 2 Description J6 40 Pin Header Consolidates all 32 analog channels into a single header Convenient mounting holes 2
21. nd 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 26s read data get color if a num 1 sprintf a str 2 968 read data get intensity a numtt a chtt while a num 2 sprintf a str LED 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 11 Shift a logic 1 through 48 bits void Shift_dio void 17 int dio_bit_cnt dio_bit_num dio_idx dio_port char dio_bits 50 If first_shift False sprinf dio_bits s 000000000000000000000000000000000000000000000001 first shift True else for dio bit cnt 47 dio bit cnt gt 1 dio bit cnt if dio bitsldio bit cnt 1 dio bits dio bit cnt dio bits dio bit cnt 1 1 break dio bit num 47 for dio port 0 dio port lt 5 dio porte 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 s sir set dio byte dio byte write DIO byte PutString io port send data www daq mate info DAQ MATE USER S MANUAL Appendix A Serial Command Set To facilitate remote control for th
22. nd 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 WODELSELECT NN tale si wave he ES And a M HyperTerminal Control GUI o Add a USB Hub s to drive multiple DAQ MATEs and or other Panelized PCB Functional Test Ol instruments Overton Instruments 14 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 serial HyperT erminal File Edit V

Download Pdf Manuals

image

Related Search

Related Contents

LCTVR2304 - Deatronic srl  5MP Digital Camera and 720P Camcorder - Optical  取扱説明書  PDF資料  受入施設等運用マニュアル - かながわ福祉情報コミュニティ  LSI 2308 SAS Configuration Utility USER'S MANUAL  『パーフェクトジョイント工法』 PJ  Félicitations pour votre petite merveille !  dittoTM lite User Manual - Diversionary Therapy Technologies  Monster Cable Monster iCarPlay Wireless 250 FM Transmitter with AutoScan  

Copyright © All rights reserved.
Failed to retrieve file