Home

DNA-AO-308-350 High Current Analog Output Layer User Manual

image

Contents

1. DNA AO 308x has a range of layer specific settings as follows The following modes are reserved for future use define DQ AO3xx MODEFIFO 1L lt lt 19 continuous output with FIFO define DQ AO3xx MODECONT 2L lt lt 19 waveform mode continuous define DQ AO3xx MODECYCLE 3L lt lt 19 waveform mo regenerat define DQ AO3xx MODEWFGEN 4L lt lt 19 waveform mode hardware DO LN ENABLE enables all operations with the layer DO LN CVCKSRCO selects the internal channel list clock CL source as a timebase AO 308 supports CV clock DO LN ACTIVE is needed to switch on STS LED on the CPU layer O d O d You can select either the CL or CV clock as a timebase Because of the parallel architecture of AO 308x layer either clock triggers all converters Aggregate rate Per channel rate Number of channels Note that acquisition rate cannot be selected on per channel basis Copyright 2009 United Electronic Industries Inc Tel 508 921 4600 www ueidaq com Vers 1 4 Date July 2009 File AO 308 350 Chap3 fm 3 2 Channel List Settings 3 3 Data Represent ation Copyright 2009 United Electronic Industries Inc DNA AO 308 350 Layer Chapter 3 11 Programming with the Low Level API The DNA AO 308x layers have the following channel list structure Bit Name Purpose Comments 31 LNCL NEXT Telisfirmwarethatthereisa
2. next entry n the channel list 21 DQ LNCL UPDALL Check update line to update all Reserved DACs 20 DQ LNCL WRITE Write data into the DAC but do Reserved not update 7 0 Channel number Table 3 1 DNA AO 308 Layer Channel List Structure DNA AO 308x has 16 bit straight binary data representation as shown in Table 3 2 Layer Range 0x0 0x8000 OxFFFF Span Offset Value AO 308 350 10V 10v O 10V 20V O AO 353 40V 40V 0 40V 80V 0 AO 420 4 20mA 4mA 12mA 20mA 16mA 4mA Table 3 2 DNA AO 308x Layer Channel List Structure To convert voltage into an A D representation use the following formula Raw Volt 4Offset Span OxFFFF where Volt is the desired level in volts To convert current into A D representation AO 308 420 only use the following formula Raw mA Offset Span OxFFFF where mA is the desired level in mA Tel 508 921 4600 www ueidaq com Vers 1 4 Date July 2009 File AO 308 350 Chap3 fm DNA AO 308 350 Layer Chapter 3 Programming with the Low Level API 3 4 Layer specific Layer specific functions are described in the DaqLibHL h file Commands and Parameters 3 5 Using the Layer in ACB Mode DqAdv3xxWrite This function works using underlying DqCmdIoct1 It uses the DQCMD_IOCTL command with the DOTOCTL_CVTCHNL function When this function is called for the first time the firmwa
3. 1 1 Jumper A diagram of the jumper block is shown in Figure 1 4 To set the layer Settings position jumpers place jumpers as shown in Figure 1 5 Layer s Position as marked on the Faceplate 1 01 1 0 2 1 0 3 1 0 4 1 05 1 0 6 9 10 oo oo C oo 11 12 o o oo oo 13 14 oo oo oo e oo 15 16 o o oo All I O Layers are sequentially enumerated from top to the bottom of the Cube 0 Open Closed Figure 1 5 Diagram of DNA AO 308 350 Layer Position Jumper Settings Copyright 2009 Tel 508 921 4600 www ueidaq com Vers 1 4 Date July 2009 File AO 308 350 Chap1 fm United Electronic Industries Inc 6 Chapter 2 Chapter 2 Programming with the High Level API Programming with the High Level API 2 1 Programming This section describes how to program the DNA AO 308x AO 308 AO with the Ueidaq Framework API 2 4 4 Creating a Session 2 1 2 Configuring the Channels 2 1 3 Configuring the Timing Copyright 2009 United Electronic Industries Inc 308 350 AO 308 353 AO 308 420 board layer using the UeiDaq Framework High Level API The UeiDaq Framework is object oriented Its objects can be manipulated in the same manner within various development environments such as Visual C Visual Basic or LabVIEW Although the following section focuses on the C API the concept is the same for any programming language you use Please refer to the UeiDaq Framework User Manual fo
4. Level API sseeeeeeeennnnn 7 2 1 Programming with the Ueidaq Framework API l l 7 2 1 1 Creating a Session 2 lisse e hh hn 7 2 1 2 Configuring the Channels 0 000 cee eh 7 2 1 3 Configuring the Timing 0 0 I eae 7 2 1 4 Writing Dataisuueca Sexe ev eoe EbU ERURPDV C TERRA aa healt soda 8 2 1 5 Cleaning up the Session ilie 8 Chapter 3 Programming with the Low Level API esee 9 3 1 Configuration Settings lille eh 9 3 2 Channel List Settings 2 0 xta tenet et ku Re qun Deest cand ig 11 3 3 Data Representation 00000 cece eee 11 3 4 Layer specific Commands and Parameters 2 20000 eee eres 12 3 5 Using the Layer in ACB Mode 0 00 cece tees 12 3 6 Using the Layer in DMap Mode sssseeee eee 14 Appendices 3 eme a E a N E ein Rete eh hae ee te p E oe 17 Accessories aaraa fen sev RR EVER FAO NER RR UR UR ee ed 17 Calibration i5 eive uus EP ISURLe Pd ea bb ad ete EE MALONE 17 MJEK kv E IE RIXA Rd Ee AER MEE a eR RARE RR MR 19 Copyright 2009 Tel 508 921 4600 www ueidaq com Vers 1 4 aati S Date July 2009 File AO 308 350TOC fm List of Figures 1 1 DNA AO 308 350 Board enne nennen ennemis 4 1 2 Block Diagram of DNA AO 308 350 Device Architecture ssseeeesss 4 1 3 DNA AO 308 350 DB 37 I O Connector Pinout eeseen 5 1 4 Physical Layout of DNA AO 308 350 Layer Bo
5. SOLD BY UNITED ELECTRONIC INDUSTRIES INC AS CRITICAL COMPONENTS IN LIFE SUPPORT DEVICES OR SYSTEMS Products sold by United Electronic Industries Inc are not authorized for use as critical components in life support devices or systems A critical component is any component of a life support device or system whose failure to perform can be reasonably expected to cause the failure of the life support device or system or to affect its safety or effectiveness Any attempt to purchase any United Electronic Industries Inc product for that purpose is null and void and United Electronics Industries Inc accepts no liability whatsoever in contract tort or otherwise whether or not resulting from our or our employees negligence or failure to detect an improper purchase Table of Contents Chapter 1 Introduction rerni eee Enn EN E ee 1 1 1 Organizatiori z csse Sead dace A ea Jans eee aed aed Be 1 1 1 1 IrnitFOQUCctlori 2a tte y aa a Rae e act au dos DA ASIE aed ad E 1 1 1 2 DNA AO 308 350 Layer sti ucuna luisse ees 1 1 1 3 Programming with the High Level API 0000 cece eee eee 1 1 1 4 Programming with the Low Level API 0 000 eee eee eee ee 1 1 2 The DNA AO 308 Series Analog Output Layers 0 000 lees 2 1 3 Device Architecture oder ee ee eee 4 1 4 Layer Connectors and Wiring 0 0 0 cece eee eee 5 1 4 1 CONMECIONS i i vectes pee Mu dn INO Ca MESH m ae IEEE 5 Chapter 2 Programming with the High
6. and sense lines for better accuracy Accessory modules such as cables and screw terminal panels This DNA AO 308 350 User Manual is organized as follows This chapter provides an overview of DNA AO 308 350 board layer features accessories and what you need to get started This chapter provides an overview of the device architecture connectivity logic and accessories for the DNA AO 308 350 layer board This chapter provides a general overview of procedures that show how to create a session configure the session and generate output on a DNA AO 308 350 layer working with the UEIDAQ Framework High Level API This chapter describes the Low Level API commands for configuring and using a DNA AO 308 350 layer This appendix provides a list of accessories available for use with a DNA AO 308 350 layer This appendix outlines the recommended calibration procedure for a DNA AO 308 350 board layer This is an alphabetical index of topics covered in this manual NOTE A glossary of terms used with the PowerDNA Cube and Layers can be viewed and or downloaded from www ueidaq com Tel 508 921 4600 www ueidaq com Vers 1 4 Date July 2009 File AO 308 350 Chap1 fm 1 NOTE 1 2 The DNA AO 308 Series Analog Output Layers Copyright 2009 United Electronic Industries Inc Chapter 1 Introduction Manual Conventions To help you get the most out of this manual and our products please note that we use the following co
7. com Vers 1 4 SENE Date July 2009 File AO 308 350 Chap1 fm Chapter 1 4 Introduction Figure 1 1 is a photo of the DNA AO 308 350 Layer board 120 pin DNA bus connector IRQ Jumpers Do not change Layer Position Jumpers see Figure 1 4 Power Connector DB 37 female 37 pin I O connector Figure 1 1 DNA AO 308 350 Board 1 3 Device The DNA AO 308 350 High Current Analog Output Layer board has Architecture eight individual analog output channels A Block Diagram of the board layer is shown in Figure 1 2 Block Diagram 15V 50mA 15V 50mA AOutO Force 2d AOut0 Sense U Control Control AOut7 Force a Logic Logic AOut7 Sense 32 bit 66 MHz bus fa g v v S c 6 w E a E E fe isa i oO S lt Optical Isolation Figure 1 2 Block Diagram of DNA AO 308 350 Device Architecture Copyright 2009 Tel 508 921 4600 www ueidaq com Vers 1 4 eee one M ine Date July 2009 File AO 308 350 Chap1 fm Chapter 1 5 Introduction 1 4 Layer The DNA AO 308 350 High Current Analog Output board is designed Connectors with separate force and sense lines and Wiring Be sure to short the AOUTn and AOUTR sense lines whenever an output is not connected to an external circuit NOTE If output and sense lines
8. of channels or parameters you can manually clean up the session with the following session CleanUp d SSS SSE SSS a SS SS SSS ES SSS SE SSS aa Copyright 2009 Tel 508 921 4600 www ueidaq com Vers 1 4 United Fledromcndusties Nc Date July 2009 File AO 308 350 Chap2 fm ETE I i SS DNA AO 308 350 Layer Chapter 3 9 Programming with the Low Level API Chapter3 Programming with the Low Level API This section describes how to program the PowerDNA cube using the low level API The low level API offers direct access to PowerDNA DAQBIOS protocol and also allows you to access device registers directly We recommend that where possible you use the UeiDaq Framework high level API see Programming with the Ueidaq Framework API on page 7 which is easier to use than the low level API You need to use the low level API only if you are using an operating system other than Windows 3 1 Configuration Configuration settings are passed in DgCmdSetCfg and Settings DgAcbInitOps functions Not all configuration bits apply to DNA AO 308x series AO 308 AO 308 350 AO 308 353 AO 308 420 boards layers however The following bits make sense define DQ FIFO MODEFIFO 2L lt lt 16 continuous acquisition with FIFO define DQ LN MAPPED 1L lt lt 15 For WRRD DMAP devices automatically selected define DQ LN STREAMING 1L lt lt 14 For RDFIFO devices stream the FIFO data automatically
9. ZN United Electronic wy Industries The High Performance Alternative DNA AO 308 350 High Current Analog Output Layer User Manual Version 1 4 July 2009 Edition PN Man DNA AO 308 350 0709 Copyright 1998 2009 United Electronic Industries Inc All rights reserved DNA AO 308 350 User Manual No part of this publication may be reproduced stored in a retrieval system or transmitted in any form by any means electronic mechanical by photocopying recording or otherwise without prior written permission Information furnished in this manual is believed to be accurate and reliable However no responsibility is assumed for its use or for any infringement of patents or other rights of third parties that may result from its use All product names listed are trademarks or trade names of their respective companies See the UEI website for complete terms and conditions of sale http www ueidaq com company terms aspx Contacting United Electronic Industries Mailing Address 27 Renmar Avenue Walpole MA 02081 U S A For a list of our distributors and partners in the US and around the world please see http www ueidaq com partners Support Telephone 508 921 4600 Fax 508 668 2350 Also see the FAQs and online Live Help feature on our web site Internet Support Support support ueidag com Web Site www ueidaq com FTP Site ftp ftp ueidag com Product Disclaimer WARNING DO NOT USE PRODUCTS
10. alize host and IOM sides DqDmapCreate pDqe hd0 amp pBcb UPDATE PERIOD amp dmapin amp dmapout STEP 3 Add channels into DMap for i 0 i lt CHANNELS i DqDmapSetEntry pBcb DEVN DQ SSOIN i DQ ACB DATA RAW 1 amp ioffset i DqDmapInitOps pBcb DgeSetEvent pBcb DQ eDataAvailable DQ ePacketLost DQ eBufferError D Q ePacketOOB STEP 4 Start operation DqeEnable TRUE amp pBcb 1 FALSE STEP 5 Process data while keep looping DqeWaitForEvent amp pBcb 1 FALSE timeout amp eventsin if eventsin amp DQ eDataAvailable printf ndata for i 0 i lt CHANNELS i printf s04x uintl6 ioffset i STEP 6 Stop operation DgeEnable FALSE amp pBcb 1 FALSE STEP 7 Clean up DqDmapDestroy pBcb DqStopDQEngine pDqe Copyright 2009 Tel 508 921 4600 www ueidaq com Vers 1 4 SEIN S TES Date July 2009 File AO 308 350 Chap3 fm DNA AO 308 350 Layer Chapter 3 Programming with the Low Level API DqCloseIOM hd0 ifndef WIN32 DqCleanUpDAQLib fendif ee Copyright 2009 Tel 508 921 4600 www ueidaq com Vers 1 4 See na autein es pun Date July 2009 File AO 308 350 Chap3 fm 16 17 Appendices A Accessories The following accessory items are available for use with the DNA AO 308 350 layer DNA CBL 37 This is a 3 ft 37 way flat ribbon cable with one 37 pin male and on
11. ard sse 6 1 5 Diagram of DNA AO 308 350 Layer Position Jumper Settings sss 6 Copyright 2009 K Tel 508 921 4600 www ueidaq com Vers 1 4 United Electronic Industries Inc Date July 2009 File AO 308 350LOF2 fm List of Tables 1 1 DNA AO 308 350 Technical Specifications ssseeenee nene 3 3 1 DNA AO 308 Layer Channel List Structure ssessseeenene emen 11 3 2 DNA AO 308x Layer Channel List Structure seesssseseeene emen 11 Copyright 2009 K Tel 508 921 4600 www ueidaq com Vers 14 United Electronic Industries Inc Date July 2009 File AO 308 350LOT fm Chapter 1 1 1 Organization 1 1 1 Introduction 1 1 2 DNA AO 308 350 Layer 1 1 3 Programming with the High Level API 1 1 4 Programming with the Low Level API Appendices A Accessories B Calibration Index Copyright 2009 United Electronic Industries Inc Chapter 1 Introduction Introduction This document outlines the feature set and use of the DNA AO 308 350 high current analog output layer when used with the PowerDNA Core Module This manual describes the following products DNA AO 308 350 true 16 bit 8 channel High Current 10V Analog Output Layer with per channel digital offset and gain calibration buffered output excellent linearity and low noise It features current boosters that allow up to 50 mA current draw per channel
12. are left open circuited the output amplifier feedback circuitry is open causing the signal to drift either to the positive or to the negative side of the power supply rail 1 4 1 Connectors The pinout of the 37 pin connector for the DNA AO 308 350 Layer board is shown in Figure 1 3 A physical layout of the board is shown in Figure 1 4 DB 37 female 37 pin connector AOUTO SENSE 37 19 AGND AGND 36 18 AOUTO AOUTI 35 17 AOUTI SENSE AOUT2 SENSE 34 16 AGND AGND 33 15 AOUT2 AOUT3 32 44 AOUT3 SENSE AOUTA SENSE 31 13 AGND Note All analog grounds AGND 30 12 AOUTA AOUTS SHIEH A CUTS SENSE AGND should be tied AOUT6 SENSE 28 10 AGND AUS EE TAAN together for better accuracy AOUT7 26 8 AOUT7 SENSE DN C 25 7 AGND AGND 24 6 DN C AGND 23 5 AGND DIO2 22 4 DIO1 AGND 21 3 DIOO 12V 50mA OUT AGND 12V 50mA OUT 20 N cn 19 7 77 59 9222 21 ad lt ea 37 20 Figure 1 3 DNA AO 308 350 DB 37 I O Connector Pinout Copyright 2009 f Tel 508 921 4600 www ueidaq com Vers 1 4 pL UE Date July 2009 File AO 308 350 Chap1 fm Chapter 1 Introduction DNA 120 pin Bus Connector 9 vi Cb OL Factory Use Only See Figure 1 5 for jumper locations for setting layer position Power Connector External Circuits Figure 1 4 Physical Layout of DNA AO 308 350 Layer Board 1 4
13. e 37 pin D sub connector Used to connect the DNA AO 308 350 board to a 37 terminal panel such as the DNA STP 37 DNA STP 37 This is a 37 way screw terminal panel that can be used for making external connections to the DNA AO 308 350 layer and DNA CBL 37 cable NOTE If the total power consumption of the layer exceeds 4 5W a rear mount cooling fan such as the DNA FANS for 3 layer Cube or DNA FAN8 for 5 layer Cube should be added to the DNA Cube B Layer Calibration should be performed with a microvolt resolution voltmeter Calibration To calibrate the layer first short circuit all eight channel signal and return lines at the point of voltage measurement Run a serial terminal program attached to the IOM serial port Use simod 1 command to calibrate the layer Please note that once you perform layer calibration yourself the factory calibration warranty is void Calibration The calibration procedure for the DNA AO 308 350 Layer using a serial Procedure port terminal is STEP 1 Type simod 1 STEP 2 Select the device to be calibrated from the device table STEP 3 Remove the short circuit from Channel 0 and attach a voltmeter to it STEP 4 Repeat this step for each channel and output 10V to each by entering command a and value 0 STEP 5 Adjust the calibration of DAC 0 by entering command 0 and a hexadecimal value to set this DAC to 0x0 Oxff STEP 6 Adjust the calibration of DAC 0 to outpu
14. nventions Tips are designed to highlight quick ways to get the job done or reveal good ideas you might not discover on your own Notes alert you to important information CAUTION Caution advises you of precautions to take to avoid injury data loss and damage to your boards or a system crash Text formatted in bold typeface generally represents text that should be entered verbatim For instance it can represent a command as in the following example You can instruct users how to run setup using a command such as setup exe The DNA AO 308x series of Analog Output boards layers includes the following products e DNA AO 308 16 bit 8 channel 10V Analog Output Board Layer e DNA AO 308 350 16 bit 8 channel 10V High Current Analog Output Board Layer DNA AO 308 353 16 bit 8 channel 40V High Voltage Analog Output Board Layer DNA AO 308 420 16 bit 8 channel 4 20 mA Current Analog Output Board Layer This manual describes the DNA AO 308 350 High Current 16 bit 8 channel 10V Analog Output Board Layer only The other products in the series are described in separate documents Using a DNA AO 308 350 instead of a DNA AO 308 boosts current capability to 100 mA per channel It uses 15V which is available internally on the board or additional power at 15V 24V or 45V from a power conversion layer installed in the PowerDNA Cube The technical specifications for the DNA AO 308 350 High Current Analog Outpu
15. otification at first just retrieve scans while keep looping DqeWaitForEvent amp bcb 1 FALSE EVENT TIMEOUT amp events if events amp DQ eFrameDone fill buffer with more data dquser prefillbuffer data DqAcbPutScansCopy bcb data buffer bufsize buffer size MINRQ minimum size amp size actual copied size from user buffer into ACB amp avail available free space in buffer STEP 5 Stop operation DqeEnable FALSE amp bcb 1 FALSE STEP 6 Clean up DgAcbDestroy bcb DqStopDQEngine pDqe DqCloseIOM hd0 ifndef WIN32 DqCleanUpDAQLib fendif 3 6 Using the include PDNA h Layer in DMap Mode STEP 1 Start DQE engine ifndef WIN32 DqInitDAQLib fendif Start engine DqStartDQEngine 1000 10 amp pDqe NULL open communication with IOM hd0 DqOpenIOM IOM_IPADDRO DQ UDP DAQ PORT TIMEOUT DELAY amp DQRdCfQg Copyright 2009 Tel 508 921 4600 www ueidaq com Vers 1 4 Pnited Eleeironie ndustties Ine Date July 2009 File AO 308 350 Chap3 fm 14 DNA AO 308 350 Layer Chapter 3 15 Programming with the Low Level API Receive IOM crucial identification data DqCmdEcho hd0 DQRdCfg for i 0 i lt DQ MAXDEVN i if DORdCfg devmod i printf Model x Option x n DORdCfg devmod i DQRdCfg option i else break STEP 2 Create and initi
16. pport Queidaq com ii Support FTP Site ftp ftp ueidaq com ii Support Web Site www ueidaq com ii www ueidaq com Vers 1 4 Copyright 2009 United Electronic Industries Inc Tel 508 921 4600 Date July 2009 File AO 308 350IX frr
17. r more information on using other programming languages Please refer to the examples that come with the UeiDaq Framework They contain detailed and commented code that can be compiled and executed The Session object controls all operations on your PowerDNA device Therefore the first task is to create a session object by entering CUeiSession session Framework uses resource strings to select which device subsystem and channels you use within a session The resource string syntax is similar to a web URL as device class gt lt IP address gt lt Device Id gt lt Subsystem gt lt Channel list gt For PowerDNA the device class is pdna For example the following resource string selects analog output channels 0 1 on device 1 at IP address 192 168 100 2 pdna 192 168 100 2 Dev1 A00 1 Configure channels 0 1 with an output range of 10V or 4 20 mA for the AO 420 session CreateAOChannel pdna 192 168 100 2 Dev0 ao0 1 10 0 10 0 You can configure the DNA AO 308x layer to run either in simple mode point by point or buffered mode ACB mode In simple mode the delay between samples is determined by software on the host computer In buffered mode the delay between samples is determined by the DNA AO 308x on board clock Tel 508 921 4600 www ueidaq com Vers 1 4 Date July 2009 File AO 308 350 Chap2 fm 7 Chapter 2 8 Programming with the High Level API The following
18. re terminates any ongoing operation on the device Then the firmware parses the channel list and writes the passed values one by one Therefore you cannot perform this function call when the layer is involved in any streaming or data mapping operations Every write to the channel takes approximately 3 3us Thus execution time for this function depends on the number of channels in the channel list This is a pseudo code example that highlights the sequence of functions needed to use ACB on the 308x layers A complete example with error checking can be found in the directory SampleACB30x Note that we use the defines for a 30x for a DNA AO 308x layer include PDNA h unit configuration word define CFG3xx DQ LN ENABLED V DQ LN ACTIVE DO LN GETRAW DQ LN IRQEN V DQ LN CVCKSRCO DO LN STREAMING DQ AI30x MODEFIFO DQ AO30x BI10 uint32 Config CFG30x STEP 1 Start DQE engine ifndef WIN32 DqInitDAQLib endif Start engine DqStartDQEngine 1000 1 amp pDqe NULL Open communication with IOM hd0 DqOpenIOM IOM IPADDRO DQ UDP DAQ PORT T MEOUT DELAY 7 Receive amp RaCf g IOM cr E ucial identification data DqCmdl Echo hd0 DQ RdCfq Set up channel list for n 0 n lt CHANNELS n Copyright 2009 United Electronic Indu
19. sample shows how to configure the simple mode Please refer to the UeiDaq Framework User Manual to learn how to use the other timing modes session ConfigureTimingForSimpleIO 2 1 4 Writing Data Writing data to the DNA AO 308x board layers is done with a writer object You can create a writer object that writes raw data straight to the D A converter You can also create a writer object that writes data scaled to volts Framework automatically performs a conversion to binary code before sending the data to the D A converter The following sample code shows how to create a scaled writer object and write a sample Create a reader and link it to the session s stream CueiAnalogScaledWriter writer session GetDataStream write one scan the buffer must contain one value or each channel double data 2 0 0 0 0 writer WriteSingleScan data Similarly you can create a raw writer object by entering the following Create a reader and link it to the session s stream CUeiAnalogRawWriter writer session GetDataStream write one scan the buffer must contain one value for each channel uInt16 data 2 0x1234 0x5678 writer WriteSingleScan data All the 308x analog output layers are programmed the same way 2 1 5 Cleaning up The session object cleans itself up when it goes out of scope or when it the Session is destroyed If you want to reuse the object with a different set
20. selected For WRFIFO do NOT send reply to WRFIFO unless needed define DQ LN IRQEN 1L 10 enable layer irqs define DQ LN PTRIGEDGE1 1L 9 stop trigger edge MSB define DQ LN PTRIGEDGEO 1L 8 stop trigger edge 00 software 01 rising 02 falling define DQ LN STRIGEDGEl 1L 7 start trigger edge MSB define DQ LN STRIGEDGEO 1L 6 start trigger edge 00 software 01 rising 02 falling define DQ LN CVCKSRCI 1L lt lt 5 CV clock source MSB define DO LN CVCKSRCO 1L lt lt 4 CV clock source 01 SW 10 HW 11 EXT define DQ LN CLCKSRCl 1L 3 CL clock source MSB define DO LN CLCKSRCO 1L 2 CL clock source 01 SW 10 HW 11 EXT define DQ LN ACTIVE 1L 1 Copyright 2009 Tel 508 921 4600 www ueidaq com Vers 1 4 United Electronic Industries Inc Date July 2009 File AO 308 350 Chap3 fm DNA AO 308 350 Layer Chapter 3 10 Programming with the Low Level API STS LED status define DQ LN ENABLED 1L 0 enable operations For streaming operations with hardware clocking select the following flags DQ LN ENABLE DQ LN CVCKSRCO DQ LN STREAMING DO LN IRQEN D LN ACTIVE DQ AO3xx BI10
21. stries Inc Tel 508 921 4600 Date July 2009 www ueidaq com Vers 1 4 File AO 308 350 Chap3 fm DNA AO 308 350 Layer Chapter 3 13 Programming with the Low Level API STEP 2 Create and initialize host and IOM sides Now we are going to test device DqAcbCreate pDqe hd0 DEVN DQ SSOIN amp bcb Let s assume that we are dealing with AI 201 device dquser initialize acb structure Now call the function DqAcbInitOps bcb amp Config Oiz TrigSize NULL pDQSETTRIG TrigMode EEOLCIE 0 loat fCVClk amp CLSize Go 0 uint32 ScanBlock amp acb printf Actual clock rate f n fCLCIlk Now set up events DqeSetEvent bcb DQ eFrameDone DQ ePacketLost DO eBufferError DQ eP acketOOB Allocate data buffer datta dquser allocatebuffer Pre fill ACB with raw data dquser prefillbuffer data DgAcbPutScansCopy bcb data buffer bufsize buffer size in scans bufsize minimum size amp size actual copied size from user buffer into ACB amp avail available free space in buffer STEP 3 Start operation Start operations DqeEnable TRUE amp bcb 1 FALSE Copyright 2009 Tel 508 921 4600 www ueidaq com Vers 1 4 See na autein es pun Date July 2009 File AO 308 350 Chap3 fm DNA AO 308 350 Layer Chapter 3 Programming with the Low Level API STEP 4 Process data We will not use event n
22. t 10 000V on channels 0 through 7 STEP 7 Output 10V on all channels by entering command a and value FFFF Copyright 2009 Tel 508 921 4600 www ueidaq com Vers 1 4 iat A al i Date July 2009 File AO 308 350 ChapAppx fm 18 STEP 8 Attach voltmeter to channel 0 and adjust calibration to reach 10V on all channels with an error not to exceed 1mV STEP 9 When calibration is complete enter q command and reply y if you want to save calibration values into EEPROM STEP 10 Reset the PowerDNA cube to verify calibration For all DNA AO 308x series layer boards we recommend annual factory recalibration at UEI Copyright 2009 Tel 508 921 4600 www ueidaq com Vers 1 4 iat aA ar i Date July 2009 File AO 308 350 ChapAppx fm A Accessories 17 DNA STP 3 17 Accesssories DNA CBL 37 17 Architecture 4 B Block Diagram 4 C Calibration 17 Clibration Procedure 17 Connector DB 37 5 Connectors 5 D DNA AO 308 Series Products 2 F Framework High Level API 7 J Jumper Settings 6 M Manual Conventions 2 Manual Organization 1 P photo of DNA AO 308 layer 4 Index Physical layout 6 Programming S ACB Mode 12 Channel List Settings 11 Commands and Parameters 12 Configuration Settings 9 Configuring Channels 7 Configuring the Timing 7 Creating a Session 7 Data Representation 11 DMap Mode 14 Low Level AP 9 Writing Data 8 settings clock 10 Specifications 3 Support ii Support email su
23. t Layer are listed in Table 1 1 Tel 508 921 4600 www ueidaq com Vers 1 4 Date July 2009 File AO 308 350 Chap1 fm 2 Chapter 1 3 Introduction Table 1 1 DNA A O 308 350 Technical Specifications Number of Channels 8 Resolution 16 bits Max Update Rate 16 bit resolution 100 kHz channel 800kHz max aggregate 12 bit resolution 200 kHz channel 800kHz max aggregate 9 bit resolution 400 kHz channel 800kHz max aggregate Buffer Size 1K samples Type of D A double buf fered INL no load 1 LSB 0 003 DNL no load 1 LSB 0 003 Monotonicity Over 16 bits Temperature Gain Linearity Error 0 002 Gain Calibration Error 150 pV Offset Calibration Error 100 uV Offset Drift 5ppm C Gain Drift 5ppm C Output Range 10V Output Coupling DC Output Impedance 0 19 max Current Drive 50mA channel Capacitive Loads 1000 pF Settling Time 10 us to 16 bits Slew Rate 10 V us Isolation 350Vrms Power Consumption 1 5W 11W Physical Dimensions 3 875 x 3 875 98 x 98 mm Operating Temp tested 40 C to 85 C Operating Humidity 9096 non condensing If the total power consumption of the layer is over 4 5W a DNA FANx rear mount cooling fan is required Refer to the Typical Performance Characteristics for more detail SSS 505808 0 00S SSSSSSSSS00 S005 50000 Copyright 2009 Tel 508 921 4600 www ueidaq

Download Pdf Manuals

image

Related Search

Related Contents

Magnese MA-204133W-16:9  Bose SA-2 Stereo Amplifier User Manual  Typ 7050 - Schubert and Salzer  Valueline VLVP34700B10  Phonix S3500GPG mobile phone case  Moniteur HP V272 27 pouces  Manual de utilização  広報しまもと平成27年1月15日号6面(PDF:1.3MB)  Informative  LELY Storm 130 Feldhäcksler  

Copyright © All rights reserved.
Failed to retrieve file