Table of Contents

Advertisement

Quick Links

PCI-82x Series Cards
User Manual
Multifunction Boards
S
UPPORTS
This manual relates to the following Boards: PCI-822LU and PCI-826LU.
W
ARRANTY
All products manufactured by ICP DAS are warranted against defective materials
for a period of one year from the date of delivery to the original purchaser.
W
ARNING
ICP DAS assumes no liability for damages consequent to the use of this product.
ICP DAS reserves the right to change this manual at any time without notice. The
information furnished by ICP DAS is believed to be accurate and reliable. However,
no responsibility is assumed by ICP DAS for its use, nor for any infringements of
patents or other rights of third parties resulting from its use.
C
OPYRIGHT
Copyright © 2014 by ICP DAS. All rights are reserved.
T
RADEMARK
Names are used for identification purposes only and may be registered
trademarks of their respective companies.
C
US
ONTACT
If you have any questions, feel tree to contact us by email at:
service@icpdas.com, service.icpdas@gmail.com
We will respond to you within 2 working days.
Version 1.5, Jan. 2017

Advertisement

Table of Contents
loading

Summary of Contents for ICP DAS USA PCI-82x Series

  • Page 1 PCI-82x Series Cards User Manual Multifunction Boards Version 1.5, Jan. 2017 UPPORTS This manual relates to the following Boards: PCI-822LU and PCI-826LU. ARRANTY All products manufactured by ICP DAS are warranted against defective materials for a period of one year from the date of delivery to the original purchaser.
  • Page 2: Table Of Contents

    PCI-82x Series Cards Multifunction Boards ABLE OF ONTENTS PACKING LIST ................................5 RELATED INFORMATION ............................... 5 INTRODUCTION ..............................6 ................................6 VERVIEW ................................7 EATURES ..............................8 PECIFICATIONS ................................ 9 PPLICATIONS HARDWARE CONFIGURATION ........................... 10 ................................10 AYOUT ............................... 11...
  • Page 3 PCI-82x Series Cards Multifunction Boards I/O CONTROL REGISTERS ..........................41 I/O A ........................... 41 ETERMINING THE DDRESS I/O A ............................43 DDRESS APPING 1: D I/O R ..........................44 IGITAL EGISTERS 6.3.1 Read/Write 16-bit Data for Port A/B ......................44 6.3.2...
  • Page 4 PCI-82x Series Cards Multifunction Boards PCI82X_WriteAOH ..............................72 A1-5: Analog Input Functions ............................ 73 PCI82X_PollingAI ............................... 73 PCI82X_PollingAIH ..............................74 PCI82X_StartAI ................................75 PCI82X_StartAIScan ..............................76 PCI82X_GetAIBuffer ..............................78 PCI82X_GetAIBufferH ..............................78 PCI82X_StopAI ................................79 A2. D ................................ 80 AUGHTERBOARDS DB-37 ..................................
  • Page 5: Packing List

    PCI-82x Series Cards Multifunction Boards Packing List The shipping package includes the following items: One of the following multi-function Note: cards: If any of these items is missing or PCI-822LU damaged, contact the dealer from PCI-826LU whom you purchased the product.
  • Page 6: Introduction

    PCI-82x Series Cards Multifunction Boards 1. Introduction The PCI-822/826 Series cards provide 32/16-channel 12-bit (16-bit) Analog Input with a sampling rate of up to 250 kSamples/second, and 2-channel 16-bit Analog Output with 32-channel programmable Digital Input/Output. 1.1 Overview The PCI-822/826 Series are high-performance multifunction cards that provide high-speed Analog and Digital I/O functions.
  • Page 7: Features

    PCI-82x Series Cards Multifunction Boards 1.2 Features The following is an overview of the general features that apply to both the PCI-822 and PCI-826 Series cards. See Section 1.3 for more detailed specifications. 1. General  Bus : Universal PCI 2.
  • Page 8: Specifications

    PCI-82x Series Cards Multifunction Boards 1.3 Specifications Model PCI-822LU PCI-826LU Analog Input Channels 32 single-ended/16 differential A/D Converter 12-bit, 8 µs conversion time 16-bit, 8 µs conversion time Sampling Rate 250 kS/s (Max.) FIFO Size 8192 samples Over voltage Protection...
  • Page 9: Applications

    PCI-82x Series Cards Multifunction Boards Digital Output Compatibility 5 V/TTL Logic 0: 0.4 V (Max.) Output Voltage Logic 1: 2.4 V (Min.) Sink: 0.8 mA @ 0.8 V Output Capability Source: -2.4 mA @ 2.0 V DO Readback Response Speed 1.0 MHz (Typical)
  • Page 10: Hardware Configuration

    PCI-82x Series Cards Multifunction Boards 2 Hardware Configuration This section provides details of the hardware configuration for the PCI-822/826 Series cards, including the layout of the individual cards, the Jumper positions, and the pin assignments, etc. 2.1 Layout Jumper Purpose...
  • Page 11: Jumper Settings

    PCI-82x Series Cards Multifunction Boards 2.2 Jumper Settings PCI-822/826 Series cards include a number of jumpers that can be used to configure features such as the Analog Input/Output Type, the Analog Output Range, and the Digital Input/Output mode, etc. each of which is described in more detail below.
  • Page 12: Jp3/Jp5 (Analog Output Type)

    PCI-82x Series Cards Multifunction Boards 2.2.3 JP3/JP5 (Analog Output Type) Jumpers JP3 and JP5 are used to select the Analog output type. Connecting pins 1 and 2 sets the output type to Bipolar, while connecting pins 2 and 3 sets the output type to Unipolar. The default configuration is Bipolar.
  • Page 13: Jp8 (Digital Input Pull-High/Low)

    PCI-82x Series Cards Multifunction Boards  Jumper Selectable Mode: DIO-S1 (Port A, PA) and DIO-S2 (Port B, PB) are used to configure the I/O ports as either Digital Input (connect pins 1 and 2) or Digital Output (connect pins 2 and 3), when the jumper for DIO-S0 is set to Jumper Selectable Mode.
  • Page 14: Card Id Switch

    PCI-82x Series Cards Multifunction Boards 2.3 Card ID Switch PCI-822/826 Series cards include an onboard Card ID DIP Switch (SW1) that enables the card to be recognized via software if two or more PCI-822/826 Series cards are installed in the same computer.
  • Page 15: Block Diagram

    PCI-82x Series Cards Multifunction Boards 2.4 Block Diagram The following is an illustration of the System Function Block for PCI-822/826 Series cards: Timer Buffer Data PCI Interface Interrupt Converter Controller Controller Trigger Logic Dispatch Controller Multiplexers NVRAM Gain Amp Scale Adj.
  • Page 16: Analog Input Signal Connections

    PCI-82x Series Cards Multifunction Boards 2.5 Analog Input Signal Connections PCI-822/826 Series cards can be used to measure either single-ended or differential type Analog Input signals. Although certain signals can be measured using either mode, other signals, however, can only be measured in one mode or the other. The most suitable mode for the measurement must be determined beforehand, and is totally dependent on the prevailing measurement conditions.
  • Page 17 PCI-82x Series Cards Multifunction Boards Figure 2.5-1: Connecting to a grounded source input (correct method) A/D CH0 HI Es 1 PCI-822/826 A/D CH0 LO A/D CHn HI Es n A/D CHn LO A.GND n Figure 2.5-2: Connecting to a ground loop input (incorrect method)
  • Page 18 PCI-82x Series Cards Multifunction Boards Figure 2.5-3: Connecting to a single-ended input configuration A/D CH0 A/D CH1 A/D CHn AGND Figure 2.5-4: Connecting to a thermocouple input configuration A/D CH 0 HI Note: If the input is not a thermocouple...
  • Page 19 PCI-82x Series Cards Multifunction Boards Figure 2.5-5: Connecting to floating source configuration A/D CH 0 HI PCI-822/826 Es 1 A/D CH 0 LO 100 kΩ ~ 10 MΩ A.GND A/D CH n HI Es n 100 kΩ ~ 10 MΩ...
  • Page 20 PCI-82x Series Cards Multifunction Boards Signal Shielding  The signal shielding for the connection methods illustrated in Figures 2.5-1 to 2.5-6 are the same  Use a single-point connection to the frame ground, rather than the A.GND or the D.GND pins PCI-822/826 A.GND...
  • Page 21: Pin Assignments

    PCI-82x Series Cards Multifunction Boards 2.6 Pin Assignments The following is an overview of the pin assignments for PCI-822/826 Series cards. CON1 and CON2 relate to the Digital Input and Digital Output connectors, while CON3 is used for both single-ended and differential input.
  • Page 22: Hardware Installation

    PCI-82x Series Cards Multifunction Boards 3 Hardware Installation Note: As certain operating systems, such as Windows 2000 and Windows XP may require the computer to be restarted after a new driver is installed, it is recommended that the driver is installed first, which will reduce the time required for installation.
  • Page 23 PCI-82x Series Cards Multifunction Boards Step 3: Correctly shut down and power off your computer, and then disconnect the power supply. Step 4: Remove the cover from the computer. Step 5: Select a vacant PCI slot. User Manual, Ver. 1.5, Jan. 2017, PMH-024-15, Page: 23...
  • Page 24 PCI-82x Series Cards Multifunction Boards Step 6: Remove the screw holding the cover for the PCI slot in place and then remove the slot cover from the PC. Ensure that you do not misplace the screw. Step 7: Remove the connector cover from the PCI-822/826 Series card.
  • Page 25 PCI-82x Series Cards Multifunction Boards Step 9: Secure the PCI-822/826 Series card in place using the retaining screw that was removed in step Confirm that the PCI-822/826 series card is correctly mounted in the motherboard. Step 10: Replace cover for the computer and then reconnect the power supply and any other cables.
  • Page 26: Software Installation

    PCI-82x Series Cards Multifunction Boards 4 Software Installation This chapter provides a detailed description of the process for installing the driver for the PCI-822/826 Series card as well as how to verify whether the PCI-822/826 Series card was properly installed. PCI-822/826 Series cards can be used on DOS, Linux and Windows 2000 and 32-/64-bit version of Windows XP/2003/7/8 based systems, and the drivers are fully Plug and Play compliant for easy installation.
  • Page 27 PCI-82x Series Cards Multifunction Boards Step 4: Select the folder where the drivers are to install. The default path is C:\ICPDAS\UniDAQ. But if you wish to install the drivers to a different location , click the “Browse…” button and select the relevant folder and then click the Next>...
  • Page 28 PCI-82x Series Cards Multifunction Boards  Linux Driver Linux Kernel 2.4.x/2.6.x/3.12.x Ixpci.tar.gz Driver Name CD:\\ NAPDOS\Linux\ CD-ROM http://ftp.icpdas.com/pub/cd/iocard/pci/napdos/linux/ Website For more detailed information about how to install the Linux driver, refer to the Installation readme.txt file that can be found in the \NAPDOS\Linux\ folder on the Procedure companion CD.
  • Page 29: Plug And Play Driver Installation

    PCI-82x Series Cards Multifunction Boards 4.2 Plug and Play Driver Installation Step 1: Correctly shut down and power off your computer and disconnect the power supply, and then install the PCI-822/826 Series board into the computer. For detailed information about the hardware installation of the PCI-822/826 Series board, refer to Chapter 3 Hardware Installation.
  • Page 30 PCI-82x Series Cards Multifunction Boards Step 4: Click the “Finish” button. Step 5: Windows pops up “Found New Hardware” dialog box again. User Manual, Ver. 1.5, Jan. 2017, PMH-024-15, Page: 30...
  • Page 31: Verifying The Installation

    PCI-82x Series Cards Multifunction Boards 4.3 Verifying the Installation To verify that the driver was correctly installed, use the Windows Device Manager to view and update the device drivers installed on the computer, and to ensure that the hardware is operating correctly.
  • Page 32 PCI-82x Series Cards Multifunction Boards Windows Server 2003  Step 1: “Start” button and point to “Administrative Tools”, and then click the “Computer Click the Management” option. Step 2: Expand the “System Tools” item in the console tree, click “Device Manager”.
  • Page 33 PCI-82x Series Cards Multifunction Boards  Microsoft Windows 8 Step 1: To display the Start screen icon from the desktop view, hover the mouse cursor over the bottom-left corner of screen. Step 2: Right-click the Start screen icon then click “Device Manager”.
  • Page 34: Check The Installation

    PCI-82x Series Cards Multifunction Boards 4.3.2 Check the Installation Check that the PCI-822/826 Series card is correctly listed in the Device Manager, as illustrated below. Installation successful User Manual, Ver. 1.5, Jan. 2017, PMH-024-15, Page: 34...
  • Page 35: Testing The Pci-822/826 Series Card

    PCI-82x Series Cards Multifunction Boards 5 Testing the PCI-822/826 Series Card This chapter provides detailed information about the “Self-Test” process, which is used to confirm that PCI-822/826 Series card is operating correctly. Before beginning the “Self-Test” process, ensure that both the hardware and driver installation procedures are fully completed. For detailed...
  • Page 36: Analog Input/Output Test Wiring

    PCI-82x Series Cards Multifunction Boards Step 2: Use the CA-2002 cable to connect the CON1 connector to CON1 the CON2 connector on the PCI-822/826 Series card. CA-2002 Cable CON2 5.1.2 Analog Input/Output Test Wiring  Preparing the device: Before beginning the “Self-Test” procedure, ensure that the following items are available: ...
  • Page 37: Execute The Test Program

    PCI-82x Series Cards Multifunction Boards Step 2: Set the JP1 jumper (Analog Input Type) on the PCI-822/826 Series card to Single-ended mode (see Section 2.2.1 for more details), and then connect the AO0_Out (Pin18) to the AI0 (Pin1), and connect the A.GND pin (Pin17) to the A.GND pin (Pin17).
  • Page 38 PCI-82x Series Cards Multifunction Boards Step 2: Confirm the PCI-822/826 Series card has been successfully installed in the Host system. Note that the device numbers start from 0. Step 3: Click the “TEST” button to start the test. Step 4: Get DIO function test result.
  • Page 39 PCI-82x Series Cards Multifunction Boards 4. Click the “Digital Input” tab. 5. Select the “Port1” from the “Port Number” drop-down options. 6. The corresponding DI become red for channel 0, 2, 4, 6 of DO is ON.   ...
  • Page 40 PCI-82x Series Cards Multifunction Boards 6. Click the “Analog Input” tab. 7. Confirm that the configuration settings are correct. 8. Click the “Start” button to start the test.    9. Check that the Analog Input value for Channel 0 is the same as the voltage value entered in Step 3.
  • Page 41: O Control Registers

    PCI-82x Series Cards Multifunction Boards 6 I/O Control Registers 6.1 Determining the I/O Address During the power-on stage, the Plug and Play BIOS will assign an appropriate I/O address to each PCI-822/826 Series card installed in the system. Each PCI-822/826 Series card includes four fixed ID...
  • Page 42 PCI-82x Series Cards Multifunction Boards 2. PCI82X_GetConfigAddressSpace(wBoardNo, *wBaseAddr, *wBaseDIO, *wBaseDA, *wBaseAD, *wIrqNo, *wModelD, *wCardID) This function is used to retrieve the I/O resource information for the PCI-822/826 Series cards installed in the system. The application will then be able to directly control all the functions related to the PCI-822/826 Series cards.
  • Page 43: I/O Address Mapping

    PCI-82x Series Cards Multifunction Boards 6.2 I/O Address Mapping The address of each register can be determined by simply adding the offset value to the base address of the corresponding section. More detailed descriptions of each register can be found in the following sections and also in the software manual.
  • Page 44: Bar 1: Digital I/O Registers

    PCI-82x Series Cards Multifunction Boards 6.3 Bar 1: Digital I/O Registers 6.3.1 Read/Write 16-bit Data for Port A/B  (Read/Write): wBase+0+0x00 Read/Write 16-bit data for Port A  (Read/Write): wBase+0+0x04 Read/Write 16-bit data for Port B Data This register provides the function for configuring the Digital Input/Output ports on the PCI-822/826 Series card.
  • Page 45: Read The Card Id (Sw1) And The Di/O Jumper (Jp4) Settings

    PCI-82x Series Cards Multifunction Boards 6.3.3 Read the Card ID (SW1) and the DI/O Jumper (JP4) Settings  (Read)wBase+0x0C Read the Card ID (SW1) and the DI/O Jumper (JP4) Settings Data This register is used to read the Card ID (SW1) and the DIO Jumper (JP4) settings on the PCI-822/826 Series card.
  • Page 46: Bar 2: Analog Output Registers

    PCI-82x Series Cards Multifunction Boards 6.4 Bar 2: Analog Output Registers 6.4.1 Read/Write 16-bit D/A Data  (Read/Write)wBase+0x0 Read/Write 16-bit D/A Data Data Each D/A converter provide 2-channel Analog Output. Refer to Section 6.4.2 below for details of how to select the D/A channel before writing data to the D/A converter.
  • Page 47: Enable/Disable An Analog Output Channel

    PCI-82x Series Cards Multifunction Boards 6.4.3 Enable/Disable an Analog Output Channel  (Write)wBase+0x08 Enable/Disable an Analog Output Channel Data D/A channel must be enabled or disabled before the voltage can be output to the channel. The D/A channels are allocated as follows: CH x = 1 ...
  • Page 48: Bar 3: Analog Input Registers

    PCI-82x Series Cards Multifunction Boards 6.5 Bar 3: Analog Input Registers 6.5.1 Read/Write the A/D Polling Configuration  (Read/Write)wBase+0x0 Read/Write the A/D Polling Configuration Data This register is used to read/set the Analog Input configuration for polling mode (software trigger).
  • Page 49 PCI-82x Series Cards Multifunction Boards Analog Input Channel Control (Polling Mode) (Bits 0 to 5) Single-ended/Differential Analog Input Selection: Bits 4 and 5 are used to configure the control (Polling) mode for the Analog Input channels, as indicated below. Analog Input...
  • Page 50: Write The Ai Software Trigger

    PCI-82x Series Cards Multifunction Boards 6.5.2 Write the AI Software Trigger  (Write)wBase+0x04 Write the AI Software Trigger This register is used to trigger the A/D Conversion and then save the data to the FIFO buffer. 6.5.3 Read the FIFO Data ...
  • Page 51: Read/Write Magicscan Counter Value

    PCI-82x Series Cards Multifunction Boards 6.5.5 Read/Write MagicScan Counter Value  (Write/Read)wBase+0x0C Read/Write MagicScan Counter Value This register is used to set/read the sampling value for MagicScan mode. The maximum value is 5000. 6.5.6 Write AI Pacer Configuration  (Write)wBase+0x10...
  • Page 52 PCI-82x Series Cards Multifunction Boards Analog Input Gain Control (Pacer Mode) (Bits 6 and 7) Gain Control: Bits 6 and 7 are used to configure the Gain Control mode for the Analog Input channels, as indicated below. Gain AI Range ±...
  • Page 53 PCI-82x Series Cards Multifunction Boards SE Ch8 SE Ch24 DIFF Ch8 SE Ch9 SE Ch25 DIFF Ch9 SE Ch10 SE Ch26 DIFF Ch10 SE Ch11 SE Ch27 DIFF Ch11 SE Ch12 SE Ch28 DIFF Ch12 SE Ch13 SE Ch29 DIFF Ch13...
  • Page 54: Read The Status Of The Fifo/Jp1/Adc

    PCI-82x Series Cards Multifunction Boards 6.5.7 Read the Status of the FIFO/JP1/ADC  (Read)wBase+0x10 Read the Status of the FIFO/JP1/ADC Data This register is used to read the current status of the FIFO, the JP1 Jumper and the A/D Conversion.
  • Page 55 PCI-82x Series Cards Multifunction Boards External Trigger Edge Settings (Bit F) Bit F used to configure the edge settings for the external trigger source, as indicated below. Trigger Edge Failing Edge Rising Edge Base Frequency Settings (Bits 8 to B) Bits 8 to B are used to configure the Base frequency settings, as indicated below.
  • Page 56: Start/Stop Magicscan

    PCI-82x Series Cards Multifunction Boards 6.5.9 Start/Stop MagicScan  (Write)wBase+0x18 Start/Stop MagicScan Data Start Stop This register is used to start or stop the AI Pacer or the MagicScan function, as indicated below. Enable Pacer START Bit F Disable Pacer START...
  • Page 57 PCI-82x Series Cards Multifunction Boards Interrupt Settings (Bits 0 to 3) 1. Sends the interrupt after the ADC stops Bit 3 A/D Stop Interrupt Disable Enable 2. Reads the external trigger signal and then sends the interrupt Bit 2 External Trigger Interrupt...
  • Page 58 PCI-82x Series Cards Multifunction Boards Analog Input Application Case Study  Polling (Single Channel + Software Trigger) //Set the Gain/Channel and clear the FIFO outpw(wBase+0x00,0x8030); //Set the Software AI Trigger outpw(wBase+0x04,0x0000);  Pacer (Single-Channel + FIFO-Half Full Interrupt + Internal Pacer Trigger) //Disable the Pacer Trigger outpw(wBase+0x18,0x4000);...
  • Page 59 PCI-82x Series Cards Multifunction Boards  Channel Scan [Magic Scan] (Multi-channel + FIFO-Half Full Interrupt + Internal Pacer Trigger) //Disable the Pacer Trigger outpw(wBase+0x18,0x4000); //Disable the Interrupt outpw(wBase+0x1C,0x0000); //Set the Base Frequency to 8 MHz //Set the Total Number of scan Channels to 3 outpw( wBase+0x14,(0x0001|(3-1)<<3));...
  • Page 60 PCI-82x Series Cards Multifunction Boards  External Post-Trigger (Multi-channel + External Trigger) //Disable the Pacer Trigger outpw(wBase+0x18,0x4000); //Disable the Interrupt outpw(wBase+0x1C,0x0000); //Set the Base Frequency to 8 MHz //Set the Total Number of Scan Channels to 3 //Set the Trigger Edge to Rising and Enable External Trigger Mode outpw( wBase+0x14,(0x8003|2<<3));...
  • Page 61: Calibration

    PCI-82x Series Cards Multifunction Boards 7 Calibration Each PCI-822/826 Series card is already fully calibrated when shipped from the factory, including the calibration coefficients that are stored in the onboard EEPROM, so it is usually unnecessary to calibrate the board again unless the accuracy is lost. The procedure described below provides a method that allows the board to be calibrated for a more precise application of voltages within the system, so that the correct voltages for your field connection can be achieved.
  • Page 62 PCI-82x Series Cards Multifunction Boards The following is a demonstration of how to perform the calibration procedure: The following pin assignments are used in the calibration process. D/A Ch0 (+): CON3.pin 18 A.GND(+): CON3.pin 1 D/A Ch1 (+): CON3.pin 36 A/D Ch0 (-): CON3.pin 20...
  • Page 63 PCI-82x Series Cards Multifunction Boards To calibrate the PCI-822/826 Series card, follow the procedure outlined below. Step Description Step Description (1) Enter the D/A data (2) Click the A0(8) button Select the calibration model for the board (3) Repeat items 1 and 2 until the D/A output...
  • Page 64: Appendix

    PCI-82x Series Cards Multifunction Boards Appendix A1. DOS Library Function Description All of the functions provided for PCI-822/826 card are listed in Appendixes A1-2 to A1-5 below. This list of functions is expanded on in the text that follows. However, in order to provide a clear and simplified description for the functions, the attributes of the input and output parameters for each function are indicated as [input] and [output] respectively, as shown in following table.
  • Page 65: A1-2: Driver Functions

    PCI-82x Series Cards Multifunction Boards A1-2: Driver Functions PCI82X_DriverInit This function is used to detect all PCI-822/826 cards installed in the system, and is implemented based on the PCI Plug and Play mechanism. Once all the PCI-822/826 Series cards installed in the system are detected, the resource information will be saved to the library.
  • Page 66: Pci82X_Getconfigaddressspace

    PCI-82x Series Cards Multifunction Boards PCI82X_GetConfigAddressSpace This function is used to retrieve the resource information found for all PCI-822/826 Series cards installed in the system. The application can then be used to directly control all of the functions related to the PCI-822/826 Series cards.
  • Page 67 PCI-82x Series Cards Multifunction Boards wModeID [Output] The Model ID number (Sub-Device ID, see Section 6.1 for details) 0x822 is PCI-822 0x826 is PCI-826 wCardID [Output] The Card ID number as configured using DIP Switch SW1 (see Section 2.3 for details) ...
  • Page 68: A1-3: Digital I/O Functions

    PCI-82x Series Cards Multifunction Boards A1-3: Digital I/O Functions PCI82X_SetDIOMode32 This function is used to configure the mode to be used for the I/O ports (Port A and Port B) on a specified board.  Syntax: WORD PCI82X_SetDIOMode32(WORD wBoardNo, WORD wDirection);...
  • Page 69: Pci82X_Writedo

    PCI-82x Series Cards Multifunction Boards PCI82X_WriteDO This function is used to send data to a specific I/O port on a specified board in 16-bit integer format.  Syntax: WORD PCI82X_WriteDO(WORD wBoardNo, WORD wPortNo, WORD wValue);  Parameters: wBoardNo [Input] The board number (Base 0)
  • Page 70: Pci82X_Readdi

    PCI-82x Series Cards Multifunction Boards PCI82X_ReadDI This function is used to data from a specific I/O port on a specified board in 16-bit integer format.  Syntax: WORD PCI82X_ReadDI(WORD wBoardNo, WORD wPortNo, WORD *wValue);  Parameters: wBoardNo [Input] The board number (Base 0)
  • Page 71: A1-4: Analog Output Functions

    PCI-82x Series Cards Multifunction Boards A1-4: Analog Output Functions PCI82X_WriteAO This function is used to output the voltage value to a specific D/A channel on a specified board in float format.  Syntax: WORD PCI82X_WriteAO(WORD wBoardNo, WORD wChannel, WORD wConfig, float fValue);...
  • Page 72: Pci82X_Writeaoh

    PCI-82x Series Cards Multifunction Boards PCI82X_WriteAOH This function is used to send data to a specific D/A channel on a specified board in 16-bit integer format.  Syntax: WORD PCI82X_WriteAO(WORD wBoardNo, WORD wChannel, WORD wValue);  Parameters: wBoardNo [Input] The board number (Base 0)
  • Page 73: A1-5: Analog Input Functions

    PCI-82x Series Cards Multifunction Boards A1-5: Analog Input Functions PCI82X_PollingAI This function is used to perform multiple A/D conversions on a specified board using the polling method, and then returns the A/D data as a float value.  Syntax: WORD PCI82X_PollingAI(WORD wBoardNo,...
  • Page 74: Pci82X_Pollingaih

    PCI-82x Series Cards Multifunction Boards PCI82X_PollingAIH This function is used to perform multiple A/D conversions on a specified board using the polling method, and then returns the A/D data in 16-bit integer format.  Syntax: WORD PCI82X_PollingAIH(WORD wBoardNo, WORD wChannel,...
  • Page 75: Pci82X_Startai

    PCI-82x Series Cards Multifunction Boards PCI82X_StartAI This function is used to start pacer trigger operation on a specified board and returns to the caller immediately. The A/D data is stored in the driver buffer and either the PCI82X_GetAIBuffer() or the PCI82X_GetAIBufferH() function must be called to retrieve the A/D data.
  • Page 76: Pci82X_Startaiscan

    PCI-82x Series Cards Multifunction Boards PCI82X_StartAIScan This function is used to start MagicScan operation on a specified board and returns to the caller immediately. The A/D data is stored in the driver buffer and either the PCI82X_GetAIBuffer() or the PCI82X_GetAIBufferH() function must be called to retrieve the A/D data. Refer to the PCI82X_StopAI() function for details of how to stop the MagicScan operation.
  • Page 77 PCI-82x Series Cards Multifunction Boards fSamplingRate [Input] Sets the total sampling rate in Hz dwDataCountPerChannel [Input] The A/D data values for every Analog Input channels  Returns: Refer to Appendix A1-1 Error Code Definitions.  Example: wChannels = 3 //Scan 3 channels...
  • Page 78: Pci82X_Getaibuffer

    PCI-82x Series Cards Multifunction Boards PCI82X_GetAIBuffer This function is used to retrieve the A/D data from the driver buffer of a specified board in float format.  Syntax: WORD PCI82X_GetAIBuffer(WORD wBoardNo, DWORD dwDataCount, float fValue[]);  Parameters: wBoardNo [Input] The Board number (Base 0)
  • Page 79: Pci82X_Stopai

    PCI-82x Series Cards Multifunction Boards  Parameters: wBoardNo [Input] The board number (Base 0) dwDataCount [Input] The A/D data value for every Analog Input channel hValue[] [Output] An array containing the A/D data received from the Analog Input channels in 16-bit integer format ...
  • Page 80: A2. Daughterboards

    PCI-82x Series Cards Multifunction Boards A2. Daughterboards DB-37 The DB-37 is a general-purpose daughterboard for devices that include 37-pin D-sub connectors, and is designed for easy wiring. DN-37 The DN-37 is a general-purpose daughterboard for devices that include 37-pin D-sub connectors. It is DIN-Rail mountable and is designed for easy wiring.
  • Page 81: Db-16P Isolated Digital Input Daughterboard

    PCI-82x Series Cards Multifunction Boards DB-16P Isolated Digital Input Daughterboard The DB-16P is a 16-channel isolated Digital Input daughterboard with optically isolated inputs that consist of a bi-directional optocoupler with a resistor to allow current sensing. The DB-16P can be used to sense DC signals from TTL levels up to 24 V, or can be used to sense a wide range of AC signals.
  • Page 82: Db-16R Relay Output Daughterboard

    PCI-82x Series Cards Multifunction Boards DB-16R Relay Output Daughterboard The DB-16R is a 16-channel Relay Output daughterboard that provides 16 Form C Relay Output channels which enable the efficient switching of loads via programmable controls. Both the connectors and the functionally are compatible with 785 Series boards an industrial-type terminal block.

Table of Contents