ADLINK Technology NuDAQ 6208 Series Скачать руководство пользователя страница 32

24 

••

 Software Library

@ Return Code

ERR_NoError

5.2.5

_6208_Get_DA_Status

@ Description

This function is used to check the DA data sending status. Because the

data transfer time for every DA data takes 2.2 

µ

s, the software driver must

wait for 2.2

µ

s before sending another data to any analog output port. This

function should be called before writing any data to output port. While the
DA value is sending, the returned value is “1”, otherwise the returned value
is “0”.

@ Syntax

C/C++ (DOS)

U16  _6208_Get_DA_Status (U16 cardNo)

C/C++ (Windows 95/98)

U16  W_6208_Get_DA_Status (U16 cardNo)

Visual Basic (Windows 95/98)

W_6208_Get_DA_Status (ByVal cardNo As Integer) As Integer

@ Argument

cardNo: The card number of 6208 series card initialized. The first card (in

the most prior PCI slot) is with cardNo = 0.

@ Return Code

0 (low): no DA value is sending
1 (high): the DA value is sending

5.2.6

_6208_DI

@ Description

This function is used to read data from digital input ports. There are 4 digital

input channels on 6208 series card. The retrieved value is stored in DIData.
However the returned value need to be handled further by including the
following code in you program :

*DIData = (*DIData&0xF0)>>4

Содержание NuDAQ 6208 Series

Страница 1: ...NuDAQ 6208 Series Multi channel Analog Output Board User s Guide...

Страница 2: ......

Страница 3: ...t of the use or inability to use the product or documentation even if advised of the possibility of such damages This document contains proprietary information protected by copyright All rights are re...

Страница 4: ...w NuPRO nupro adlink com tw Software sw adlink com tw AMB amb adlink com tw TEL 886 2 82265877 FAX 886 2 82265717 Address 9F No 166 Jian Yi Road Chungho City Taipei 235 Taiwan R O C Please inform us o...

Страница 5: ...5 Connector Pin Assignment 9 2 6 Install 6208 Series Card to cPCI PCI Connector 10 2 6 1 Hardware configuration 10 2 5 2 PCI slot selection 10 2 5 3 Installation Procedures 10 2 5 4 Running the 6208UT...

Страница 6: ...22 5 2 4 _6208_DA 23 5 2 5 _6208_Get_DA_Status 24 5 2 6 _6208_DI 24 5 2 7 _6208_DO 25 5 2 8 _6208_I2V_Control 26 CHAPTER 6 Utility Calibration 29 6 1 Running the 6208util exe 29 6 1 1 Functional Testi...

Страница 7: ...egisters Format describes the details of register format and structure of the 6208 series products this information is very important for the programmers who want to control the hardware by low level...

Страница 8: ......

Страница 9: ...fully monotonic digital to analog converter This device employs ultra stable nichrome NiCr thin film resistors to provide monotonicity low distortion and low differential linearity error over long pe...

Страница 10: ...C converter to provide stable power and current source for analog outputs 1 2 Applications l Industrial Process Control l Pressure Temperature Transmitter l Current Source for Testing Equipment l Func...

Страница 11: ...lew rate 1 3mA s Non linearity 0 01 of Span Span error 0 3 of initial Span Output resistance 10 Ohms maximum Output initial status 0mA after RESET or POWER ON Digital I O Channel 4 TTL compatible inpu...

Страница 12: ...670mA typical 12VDC 90mA typical or 12VDC 370mA when all current output channel is 25mA qPCI 6216V 5VDC 1 24 typical 12VDC 110mA typical qcPCI 6208V 5VDC 560mA typical 12VDC 70mA typical qcPCI 6208A 5...

Страница 13: ...oduct from Save the shipping materials and carton in case you want to ship or store the product in the future 2 2 Unpacking Your 6208 series card contains sensitive electronic components that can be e...

Страница 14: ...follow the steps to install the device 1 Click the Next button in the Update Device Driver Wizard window Win95 will start to search floppy drive A for the 6208 series driver information After fail to...

Страница 15: ...Installation 7 2 4 PCB Layout Figure 2 1a PCI 6208 Layout...

Страница 16: ...8 Installation Figure 2 1b cPCI 6208 Layout...

Страница 17: ...A7 V7 A GND V13 A5 V5 A GND V11 A3 V3 A GND V9 A1 V1 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 Figure 2 2 Pin Assignment of CN1 connector The analog output pin names are specified as Vn or...

Страница 18: ...are shorter than ISA or EISA slots and are usually white or ivory 2 5 3 Installation Procedures 1 Turn off your computer 2 Turn off all accessories printer modem monitor etc connected to computer 3 Re...

Страница 19: ...figuration Registers LCR and 6208 registers The PCR which compliant to the PCI bus specifications is initialized and controlled by the plug play PnP PCI BIOS User s can study the PCI BIOS specificatio...

Страница 20: ...output cPCI PCI cards the programming are compatible The following table shows the address of every analog output ports relative to the base address Note that the base address is assigned by the PCI...

Страница 21: ...d bit is H The software driver should check this bit before write any data to output port This register is read only Offset Address D16 D1 D0 0x00 X Data_Send 3 3 Digital Output Register D0 D3 is the...

Страница 22: ......

Страница 23: ...The DAC is 16 bit resolution with bi polar output The voltage output range is 10V Therefore the data register are all 16 bits value with sign The digital value range from 32768 0X8000 to 32767 0x7FFF...

Страница 24: ...10 00000V 4 2 Current Output and Range Control The current output is implemented by the precision voltage to current converter XTR110 The current output channel n An is control by the voltage of chan...

Страница 25: ...source channel 3 The output current range is programmable All the 8 current channels on cPCI PCI 6208A are controlled by one control register The control voltage range is always uni polar 0 10V There...

Страница 26: ......

Страница 27: ...on step 1 Place ADLink s All in one CD into the appropriate CD drive step 2 Type the command X indicates the CD ROM driver X CD NuDAQPCI 6208 DOS X NuDAQPCI 6208 DOS SETUP step 3 An installation compl...

Страница 28: ...mplete the installation of 6208 series Software 6208 series DLL 6208 DLL is copied to Windows System directory default is C WINDOWS SYSTEM for Win 95 98 and the driver file PCIW95 VXD is also copied t...

Страница 29: ...pes in your application programs The following table shows the data type names and their range Type Name Description Range U8 8 bit ASCII character 0 to 255 I16 16 bit signed integer 32768 to 32767 U1...

Страница 30: ...NoError ERR_BoardNoInit ERR_PCIBiosNotExist 5 2 3 _6208_Software_Reset Description This function is used to reset the I O port configuration Note that this function can not re start the PCI bus and al...

Страница 31: ...value HEX value Output Voltage 32767 0x7FFF 9 99969V 16384 0x4000 5 00000V 8192 0x2000 2 50000V 1 0x0001 0 00031V 0 0x0000 0 00000V 1 0xFFFF 0 00031V 8192 0xE000 2 50000V 16384 0xC000 5 00000V 32767...

Страница 32: ...16 _6208_Get_DA_Status U16 cardNo C C Windows 95 98 U16 W_6208_Get_DA_Status U16 cardNo Visual Basic Windows 95 98 W_6208_Get_DA_Status ByVal cardNo As Integer As Integer Argument cardNo The card numb...

Страница 33: ...0 DIData the value read from digital input port please refer to the above description paragraph for getting the correct DI data Return Code ERR_NoError 5 2 7 _6208_DO Description This function is used...

Страница 34: ...control There are three modes of range for cPCI PCI 6208A Please refer to section 3 3 for the detailed description of voltage to current conversion The three voltage to current modes are Mode Input Vo...

Страница 35: ...08 series card initialized The first card in the most prior PCI slot is with cardNo 0 ctrl the voltage to current mode the valid modes are shown in the above table The constants are defined in Pci_620...

Страница 36: ......

Страница 37: ...erating guidance This utility is described in the following sections 6 1 Running the 6208util exe After finishing the DOS installation you can execute the utility by typing as follows assume your util...

Страница 38: ...from the functions menu a channel selection menu is displayed on the screen Move cursor and press Enter to select the channel you want to test After you select a channel from the channel selection me...

Страница 39: ...temperature and vibration a 3 months re calibration interval is recommended For laboratory conditions 6 months to 1 year is acceptable When you choose the calibration function from the main menu list...

Страница 40: ...ility Calibration Use Up Down to select a DA Channel or q to exit After you select a channel from the channel selection menu a calibration window appears The figures below are the 6208V calibration wi...

Страница 41: ...8V or PCI6216V Function VR of PCI6216V Function VR0 1 Ch 0 full range VR8 1 Ch 8 full range VR0 2 Ch 0 offset VR8 2 Ch 8 offset VR1 1 Ch 1 full range VR9 1 Ch 9 full range VR1 2 Ch 1 offset VR9 2 Ch 9...

Страница 42: ...to zero 6 2 4 Current Output Calibration The current output calibration is used only on cPCI PCI 6208A Because the current output channel n is controlled by the voltage of channel n the VR n 1 and VR...

Страница 43: ...its specifications or if the serial number has been removed Seller does not assume any liability for consequential damages as a result from our products uses and in any event our liability shall not...

Отзывы: