All Rights Reserved.
Manual Rev. 3.34: October 22, 2002
Part NO: 50-11108-202
The information in this document is subject to change without prior notice in
order to improve reliability, design and function and does not represent a
commitment on the part of the manufacturer.
In no event will the manufacturer be liable for direct, indirect, special,
incidental, or consequential damages arisi ng out 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 reserved. No part of this manual may be reproduced by any
mechanical, electronic, or other means in any form without prior written
permission of the manufacturer.
Trademarks
NuDAQ, NuIPC, DAQBench are registered trademarks of ADLINK
Technology Inc. Other product names mentioned herein are used for
identification purposes only and may be trademarks and/or registered
trademarks of their respective companies.
Getting service from ADLINK
• Customer Satisfaction is the most important priority for ADLINK Tech Inc. If
you need any help or service, please cont act us.
ADLINK Technology Inc.
Web Site http://www.adlinktech.com
Sales & Service Service@adlinktech.com
NuDAQ + USBDAQ nudaq@adlinktech.com
Technical
Support
TEL +886-2-82265877 FAX +886-2-82265717
Address 9F, No. 166, Jian Yi Road, Chungho City, Taipei, 235 Taiwan.
• Please email or FAX us of your detailed information for a prompt,
satisfactory and constant service.
Com pany/Organization
Contact Person
E -mail Address
Address
Country
TEL FAX
Web Site
This manual is designed to help you use the 743X series products. It
describes how to modify and control various functions of the 743X card to
meet the requirements of your application. It is divided into four chapters:
Chapter 1, “Introduction”, gives an overview of the product
Chapter 2, “Getting Started”, describes how to install the board.
Chapter 3, “Registers”, describes the details of the registers and
Chapter 4, “C/C++ Library”, describes the functions in the DOS
features, applications, and specifications.
The PCB layout, connector specifications, and
installation notes are also described.
its structure. This information is important for
programmers who want to control the hardware with
low-level programming
C/C++ Library and Windows 95 DLL.
iv • How to Use This Guide
1
Introduction
The 743X series products are 64-CH high-density isolated digital input
and/or output cards. The 743X series products include the following cards
and are available in different form factors.
The following items are PCI bus products:
• PCI-7432: Isolated 32-CH DI and 32-CH DO card
• PCI-7433: Isolated 64-CH DI card
• PCI-7434: Isolated 64-CH DO card
The following items are 3U CompactPCI products:
• cPCI-7432 : Isolated 32-CH DI and 32-CH DO card
• cPCI-7433 : Isolated 64-CH DI card
• cPCI-7434 : Isolated 64-CH DO card with common ground
configuration
• cPCI-7434P: Isolated 64-CH DO card with common power
configuration
The following items are for 3U CompactPCI with rear I/O:
• cPCI-7432R : Isolated 32-CH DI and 32-CH DO card
• cPCI-7432RP : Isolated 32-CH DI and 32-CH DO card with common
power configuration
• cPCI-7433R : Isolated 64-CH DI card
• cPCI-7434R : Isolated 64-CH DO card with common ground
configuration
• cPCI-7434RP: Isolated 64-CH DO card with common power
configuration
Introduction • 1
The above I/O cards are isolated up-to 5000 Vdc (excluding cables) for
channel-to-computer isolation. It protects your computer against damage
caused by accidental contact with high external voltage and eliminates
troublesome ground loops.
The 743X series products use PCI -9050 PCI controller to interface the board
to the PCI bus. The PCI-9050 fully implements the PCI local bus
specification Rev 2.1. All bus relative configurations, such as base memory
and interrupt assignment, are automatically controlled by BIOS software.
1.1 Features
The PCI -743X Isolated D/I cards provide the following advanced features:
PCI bus PCI-7432 PCI-7433 PCI-7434
3U CompactPCI cPCI-7432 cPCI-7433
3U CompactPCI with Rear I/O
32 Isolated Digital Input / Output
Channels
64 Isolated Digital Input
Channels
64 Isolated Digital Output
Channels
High output driving capability
500mA sink current on isolated
output channels
5000 Vrms high voltage isolation
Up to 24V voltage protection for
• PCI-7432/33/34: Compact size only 106mm(H) X 173mm(L)
• cPCI-7432/33/34: Standard 3U CompactPCI form factor
• cPCI-7432R/33R/34R: Standard 3U CompactPCI form factor with
rear I/O
1.4 Supporting Software
ADLINK provides versatile software drivers and packages for users’ different
approach to building a system. We not only provide programming libraries
such as DLL for many Windows systems, but also provide drivers for many
other software package such as LabVIEW®, HP VEETM, DASYLabTM,
InTouchTM, InControlTM, ISaGRAFTM, and so on.
All software options are included in the ADLINK CD. Non-free software
drivers are protected with licensing codes. Without the software code, you
can install and run the demo version for two hours for trial/demonstration
purposes. Please contact ADLINK dealers to purchase the formal license.
1.4.1 Programming Library
For customers who are writing their own programs, we provide function
libraries for many different operating systems, including:
• DOS Library: Borland C/C++ and Microsoft C++, the functions
descriptions are included in this user’s guide.
• Windows 95 DLL: For VB, VC++, Delphi, BC5, the functions
descriptions are included in this user’s guide.
Introduction • 5
• PCIS-DASK: Includes device drivers and DLL for Windows 98,
Windows NT and Windows 2000. DLL is binary compatible across
Windows 98, Windows NT and Windows 2000. This means all
applications developed with PCIS-DASK are compatible across
Windows 98, Windows NT and Windows 2000. The developing
environment can be VB, VC++, Delphi, BC5, or any Windows
programming language that allows calls to a DLL. The user’s guide
and function reference manual of PCIS-DASK are in the CD. Please
refer to the PDF manual files under \\Manual_PDF\Software\PCISDASK
The above software drivers are shipped with the board. Please refer to the
“Software Installation Guide” for installation procedures.
1.4.2 PCIS-LVIEW: LabVIEW® Driver
PCIS-LVIEW contains the VIs, which are used to interface with NI’s
LabVIEW® software package. The PCIS-LVIEW supports Windows
95/98/NT/2000. The LabVIEW® drivers is shipped free with the board. You
can install and use them without a license. For more information about
PCIS-LVIEW, please refer to the user’s guide in the CD.
(\\Manual_PDF\Software\PCIS-LVIEW)
1.4.3 PCIS-VEE: HP -VEE Driver
The PCIS-VEE includes user objects, which are used to interface with the
HP VEE software package. PCIS-VEE supports Windows 95/98/NT. The
HP-VEE drivers are shipped free with the board. For more information
about PCIS-VEE, please refer to the user’s guide in the CD.
(\\Manual_PDF\Software\PCIS-VEE)
1.4.4 DAQBenchTM: ActiveX Controls
We suggest customers who are familiar with ActiveX controls and VB/VC++
programming use the DAQBenchTM ActiveX Control components library for
developing applications. The DAQBenchTM is designed under Windows
NT/98. For more information about DAQBench, please refer to the user’s
guide in the CD. (\\Manual_PDF\Software\DAQBench\DAQBench
Manual.PDF)
6 • Introduction
1.4.5 PCIS-DDE: DDE Server and InTouchTM
DDE stands for Dynamic Data Exchange. The PCIS-DDE includes the PCI
cards’ DDE server. The PCIS-DDE server is included in the ADLINK CD. It
needs a license. The DDE server can be used in conjunction with any DDE
client under Windows NT.
1.4.6 PCIS-ISG: ISaGRAFTM driver
The ISaGRAF WorkBench is an IEC1131-3 SoftPLC control program
development envi ronment. The PCIS-ISG includes ADLINK product drivers
for ISaGRAF under Windows NT environment. The PCIS-ISG is included in
the ADLINK CD. A license is needed to use the drivers.
1.4.7 PCIS-ICL: InControlTM Driver
PCIS-ICL is the InControl driver, which supports Windows NT. The PCISICL is included in the ADLINK CD. A license is needed to use the drivers.
1.4.8 PCIS-OPC: OPC Server
PCIS-OPC is an OPC Server, which can link with OPC clients. There are
several software packages on the market, which can provide the OPC
clients. The PCIS-OPC supports Windows NT and requires a license to
operate.
Introduction • 7
2
Getting Started
This chapter describes how to install and setup the 743X Series cards. The
contents in the package and unpacking information that you should be
aware of are outlined first.
2.1 What You Have
In addition to the User’s Manual, the package should include the following
items:
If any of these items are missing or damaged, contact ADLINK or the dealer
from whom you purchased the product. Save the shipping materials and
carton in case you want to ship or store the product in the future.
8 • Getting Started
2.2 Unpacking
The PCI-7432/33/34 card conta ins electro-static sensitive components that
can be easily be damaged by static electricity.
Therefore, the card should be handled on a grounded anti -static mat. The
operator should be wearing an anti -static wristband, grounded at the same
point as the anti-static mat.
Inspect the card module carton for obvious damages. Shipping and handling
may cause damage to your module. Be sure there are no shipping and
handling damages on the modules carton before continuing.
After opening the card module carton, ext ract the system module and place
it only on a grounded anti-static surface with component side up.
Again, inspect the module for damages. Press down on all the socketed IC's
to make sure that they are properly seated. Do this only with the module
place on a firm flat surface
Note: DO NOT ATTEMPT TO INSTALL A DAMAGED BOARD IN THE
COMPUTER.
You are now ready to install your card.
2.3 PCB Layout
2.3.1 PCI-743X PCB Layout
CN1 is the I/O interface and is a 100-pin SCSI-type connector.
Figure 1: PCI-743X PCB Layout
Getting Started • 9
2.3.2 cPCI-743X PCB Layout
The CN1 is the I/O interface and is a 100-pin SCSI-type connector.
Figure 2: cPCI-743X PCB Layout
2.3.3 cPCI-743XR PCB Layout
CN1 is the I/O interface and is a 100-pin SCSI-type connector. J2 is used for
rear I/O signaling. There are no connectors on the main board.
10 • Getting Started
Figure 3: cPCI-743XR PCB Layout
2.4 Hardware Installation Outline
PCI configuration
The PCI cards (or CompactPCI cards) are equipped with plug and play PCI
controllers, it can request base addresses and interrupts according to the
PCI standard. The system BIOS will assign the system resources based on
the PCI cards’ configuration registers and system parameters (which are set
by the system BIOS). Interrupt assignment and memory usage (I/O port
locations) can only be assigned by the system BIOS. These system
resource assignments are done on a board-by-board basis. It is not
suggested to assign the system resource by any other methods.
PCI slot selection
The PCI card can be inserted into any PCI slot without any configuration of
the system resources. The CompactPCI card can also be inserted into any
CompactPCI I/O slot.
Installation Procedures
1. Turn off your computer
2. Turn off all accessories (printer, modem, monitor, etc.) connected to
your computer.
3. Remove the cover from your computer.
4. Setup jumpers on the PCI or CompactPCI card.
5. Select a 32-bit PCI slot. PCI slot are shorter than ISA or EISA slots,
and are usually white or ivory.
6. Before handling the PCI cards, discharge any static buildup on your
body by touching the metal case of the computer. Hold the edge and
do not touch the components.
7. Position the board into the PCI slot you selected.
8. Secure the card in place at the rear panel of the system.
Getting Started • 11
For cPCI-743X products (with and without rear I/O)
1. Read through this manual, and setup the jumper according to your
application needs.
2. Turn off your computer and all accessories (printer, modem, monitor,
etc.) connected to the computer.
3. Remove the cover from the slot of your cPCI computer.
4. Select a 32 -bit cPCI expansion slot on the back plane for cPCI-743X
card.
5. Before handling the cPCI-743X card, discharge any static buildup
from your body by touching the metal casing of the computer. Hold
the edge and do not touch the components.
6. Position the board into the cPCI slot you selected.
7. Secure the card on the back plane by using screws removed from the
slot.
CAUTION!! Don’t put cPCI -743XR (rear I/O) cards into the cPCI back plane
of other manufacturers because the rear I/O definition might be
different, and permanent damage could happen.
2.5 Device Installation for Windows Systems
Once Windows 95/98/2000 has started, the Plug and Play functions of the
Windows system will find and locate the new NuDAQ/NuIPC card. If this is
the first time a NuDAQ/NuIPC card is installed in your Windows system, you
will be prompted to input the device information source. Please refer to the
“Software Installation Guide” for installation procedures of the device
drivers.
12 • Getting Started
2.6 Connector Pin Assignment for PCI-7432, cPCI-7432,
cPCI-7432R
The pin assignment of the 100-pin SCSI-II connector for the 7432 Series is
shown in figure 4 below.
(1) IDI_0 (26) IDO_0 (51) IDI_8 (76) IDO_8
(1)
(2)
(3)
(48)
(49)
(50)
(51)
(52)
(53)
Figure 4: Pin Assignment of 7432 CN1 Connector
Legend:
IDI_n: Isolated digital input channel n
IDO_n: Isolated digital output channel n
VDDm: Common pin for output channel group m (VDD1 is common
pin for isolated output channel 0~7, VDD2 is common pin for
isolated output channel 8~15, and so on).
IGND: Ground return path for isolated output channels
COMm: Common junction for isolated input channel group m (COM1
is common junction for input channel 0~7, COM2 is common
junction for input channel 8~15, and so on).
(COM1 is common junction for input channel 0~7, COM2 is
common junction for input channel 8~15, COM3 is common
junction of input channel 16~23, and so on.)
Getting Started • 15
2.9 Connector Pin Assignment of PCI-7434
The pin assignment of the 100-pin SCSI-II connector for the PCI-7434
Series is shown in figure 7 below.
IDO_n: Isolated digital output channel n.
VDDm: Common pin for isolated output channel group m, (VDD1 is
the common pin for isolated output channel 0~7, VDD2 is for
channel 8~15, VDD3 is for channel 16~23, VDD4 is for
channel 24~31, VDD5 is for channel 32~39, VDD6 is for
channel 40~47, VDD7 is for channel 48~55, and VDD8 is for
channel 56~63).
IGND: Ground return path for isolated output channels.
Figure 9: Pin Assignment of cPCI-7434RP CN1 Connector
Legend:
IDO_n: Isolated digital output channel n.
VDDm: Common pin for isolated output channel group m. (Note: All
outputs share the same power supply).
IGND: Ground return path for isolated output channels.
V5V: Onboard un-regulated 5V power supply output
18 • Getting Started
2.11 Jumpers Setting
Digital I/O cards often operate in noisy environments and may suffer
electrostatic discharge or transient voltage up to several 1000 volts. To
protect the system from potential damage, the PCI-7433 have implemented
protection circuits on its input channels. Eight jumpers on the PCI-7433 are
used to enable or disable the transient voltage suppressors. Each jumper is
responsible fo r up to 8 digital input channels. The following table and figure
illustrates the jumper settings. Please note that these setting are only
available for the PCI -7433.
Figure 10: Simplified digital input circuit diagram
Getting Started • 19
Figure 11: PCI-7433 (rev. B2) Jumper Locations
20 • Getting Started
3
Registers
The descriptions of the registers and structure of the 743X Series are
outlined in this chapter. The information in this chapter will assist
programmers, who wish to handle the card with low-level programs.
In addition, the low level programming syntax is introduced. This information
can help beginners to operate the 743X in the shortest possible time.
3.1 PCI PnP Registers
This PCI card functions as a 32-bit PCI target device to any master on the
PCI bus. There are three types of registers: PCI Configuration Registers
(PCR), Local Configuration Registers (LCR) and 743x series registers.
The PCR, which is PCI-bus specifications compliant, is initialized and
controlled by the plug & play (PnP) PCI BIOS. Users may obtain more
information on the PCI BIOS specification to better understand the operation
of the PCR. Please conta ct PCISIG to acquire the specifications of the PCI
interface.
The PCI bus controller PCI-9050 is provided by PLX technology Inc.
(www.plxtech.com). For more information about the LCR, please visit PLX
technology’s web site to download relative information. It is not necessary
for users to fully understand the details of the LCR if the software library
provided is used. The PCI PnP BIOS assigns the base address of the LCR.
The assigned address is located at an offset of 14h from the PCR.
The 743x series registers are discussed in the next section. The base
address, which is also assigned by the PCI PnP BIOS, is located at an offset
of 18h from the PCR. Therefore, users can read the address 18h from the
PCR to obtain its base address by using the BIOS function call. Do not
attempt to modify the base address and interrupt that have been assigned
by the PCI PnP BIOS, it may cause resource conflicts with your system.
Registers • 21
3.2 I/O Address Map
All 743X series registers are 32 bits long. Users can access these registers
using 32-bit I/O instructions. The following table shows the registers
address map, including descriptions and their offset addresses relative to
the base address
AddressWrite Read
PCI-7432
cPCI-7432
CPCI-7432R/P Base + 0x04 LED Control Slot Number
Base + 0x00 Isolated DO Isolated DI
Base + 0x40 Clear IRQ --
AddressWrite Read
PCI-7433
cPCI-7433
cPCI-7433R
cPCI-7433R Base + 0x50 LED Control Slot Number
Base + 0x00 -- Isolated DI
Base + 0x04 -- Isolated DI
Base + 0x08 Clear IRQ --
AddressWrite Read
Base + 0x00 Isolated DO -- PCI-7434
cPCI-7434[P]
cPCI-7434R[P]
cPCI-7434R[P] Base + 0x50 LED Control Slot Number
Table 5. I/O Address Map of c/PCI -7432/33/34
Caution: 1. I/O port is 32 bits width
2. 8-bit or 16-bit I/O access is not allowed.
Base + 0x04 Isolated DO --
22 • Registers
3.3 Digital Input Register
There are 32 isolated digital input channels on the PCI -7432 and 64 isolated
digital input channels on the PCI-7433, each bit of based address
corresponds to a signal on the digital input channel.
There are 32 digital output channels on the PCI -7432 and 64 isolated digital
output channels on the PCI -7434, each bit of based address corresponds to
a signal on the digital output channel.
Address: BASE + 0 ~ BASE + 3 for 7432
BASE + 0 ~ BASE + 7 for 7434
Attribute: write only
Data Format:
7432
7 6 5 4 3 2 1 0
Base + 0
Base + 1
Base + 2
Base + 3
Base + 0
Base + 1
Base + 2
Base + 3
Base + 4
Base + 5
Base + 6
Base + 7
The isolated digital input has an open collector transistor structure. The input
voltage range is 0V to 24V (0V to 50V for PCI -7433) and the input resistance
is 2.4KΩ (4.7KΩ for PCI-7433). The connection between external signals
and the 7432/33 is shown in Fig 12. Please note that the input common
junction could be common ground or common power, they are dependent on
the user’s environment. Therefore, the digital input could be either a current
source or a current sink.
Isolated Input
Current Flow
COM m
Current Flow
Isolated Input
COM m
(+VDD)
Figure 12: Isolated input connection
Operation Theory • 25
4.2 Isolated Digital Output Channels
Load
IGND
VDD n
+
V5V
Load
IGND
VDD n
+
V5V
The common ground connection of isolated digital output is shown figure 13,
while common power connection of isolated digital output as figure 14.
When the isolated digital output goes “ON”, the sink current will be
conducted through the transistors. When the isolated digital output goes
“OFF”, no current is conducted flow through the transistors. Please note that
when the load is of an “inductance nature” such as a relay, coil or motor, the
VDD pin must be connected to an external power source. The extra
connection is utilized for the ‘fly-wheel diode’ to form a current-release
closed loop, so that the transistors are protected from any high reverse
voltage which can be generated by the inductance load when the output is
switched from “ON” to “OFF”.
DC-DC
Convertor
V
-
5~35V
Figure 13: Common Ground Connection for cPCI -7434R and cPCI-7432R
DC-DC
Convertor
V
DD
5~35V
Figure 14: Common Power Connection for cPCI -7434R/P and cPCI-
7432R/P
26 • Operation Theory
5
C/C++ Libraries
This chapter describes the software libraries for operating this card. Only the
functions in the DOS library and Windows 95 DLL are described. Refer to
the PCIS-DASK function reference manual, which is included in the ADLINK
CD, for descriptions of Windows 98/NT/2000 DLL functions.
The function prototypes and useful constants are defined in the header files
located in the LIB directory (DOS) and INCLUDE directory (Windows 95).
For Windows 95 DLL, the developing environment can be Visual Basic 4.0
or above, Visual C/C++ 4.0 or above, Borland C++ 5.0 or above, Borland
Delphi 2.x (32-bit) or above, or any Windows programming language that
allows calls to a DLL.
5.1 Libraries Installation
Refer to the “Software Installation Guide” for information regarding software
installation of libraries for DOS, Windows 95 DLL, or PCIS-DASK for
Windows 98/NT/2000.
The device drivers and DLL functions for Windows 98/NT/2000 are included
in the PCIS-DASK. Refer to the PCIS-DASK user’s guide and function
reference, which is included in the ADLINK CD, for programming information.
C/C++ Libraries• 27
5.2 Programming Guide
5.2.1 Naming Convention
The functions of the NuDAQ PCI or NuIPC CompactPCI card software
drivers uses full-names to represent the functions' real meaning. The naming
convention rules are:
In DOS Environment :
_{hardware_model}_{action_name}. e.g. _7432_Initial().
All functions in the PCI -7432 driver have 7432 as {hardware_model} and can
be used by both PCI-7432 and cPCI-7432. All functions in the PCI-7433
driver have 7433 as {hardware_model}. And again can be used by PCI-7433,
cPCI-7433 and cPCI -7433R. All functions in the PCI-7434 driver have 7434
as {hardware_model}. And can be used by PCI-7434, cPCI-7434 and cPCI7434R.
In order to recognize the difference between the DOS library and Windows
95 library, a capita l "W" is placed at the start of each function name for
Windows 95 DLL drivers. e.g. W_7432_Initial().
5.2.2 Data Types
We have defined some data types in the Pci_743X.h (DOS) and Acl_pci.h
(Windows 95) header files. These data types are used by the NuDAQ Cards’
library. We recommend you use these data types in your application
programs. The following table shows the data type names and their range.
Type
Name
U16 16-bit unsigned integer 0 to 65535
U32 32-bit ingle-precision floating-point 0 to 4294967295
U8 8-bit ASCII character 0 to 255
I16 16-bit signed integer -32768 to 32767
I32 32-bit signed integer -2147483648 to 2147483647
-1.797683134862315E308 to
1.797683134862315E309
Table 8. Function Data Types
5.3 Running the Testing Utility
After installation, execute the DOS utility by typing the following command:
C> cd \7432\DOS\UTIL
C> 7432UTIL
(Use 7433UTIL.EXE or 7434UTIL.EXEdepending on the model of your 743X
series card).
5.4 Initial
@ Description
The 743X cards are initialized by this function. The software library
could be used to control multiple 743X cards. Because the 743X is
designed with the PCI bus architecture and meets the plug and play
specifications, the IRQ and I/O address are assigned by the system
BIOS directly
W_7434_Initial (existCards As Integer, info As PCI_INFO)
As Integer
@ Argument
existCards : The number of installed 7432/33/34 cards. The
Pciinfo : It is a structure used to memorize the PCI bus
returned value shows how many 7432/33/34 cards
are installed in the system.
plug and play initialization information which
is decided by the p&p BIOS. The PCI_INFO
structure is defined in ACL_PCI.H. The base I/O
address and the interrupt channel number are
stored in pciinfo which is used for reference.
@ Return Code
ERR_NoError
ERR_PCIBiosNotExist
30 • C/C++ Libraries
5.5 Digital Input Relative Functions
@ Description
These functions are used to read 32-bit digital inputs data from the
digital input port. To obtain a 32 -bit data from the 7432, use function
“_7432_DI”. To obtain a 32 bit data (MSB double word) from the 7433,
use “7433_DI_HiDW”, or use “7433_DI_LoDW” (LSB double word) for
the PCI -7433.
@ Syntax
PCI-7432 / cPCI-7432 / cPCI-7432R
C/C++ (DOS)
U16 _7432_DI (U16 cardNo, U32 *di_data)
C/C++ (Windows 95)
U16 W_7432_DI (U16 cardNo, U32 *di_data)
Visual Basic (Windows 95)
W_7432_DI (ByVal cardNo As Integer, di_data As Long) As
Integer
W_7433_DI_HiDW (ByVal cardNo As Integer, di_data As Long)
As Integer
W_7433_DI_LoDW (ByVal cardNo As Integer, di_data As Long)
As Integer
@ Argument
cardNo: card number of selected board
di_data: return 32-bit value from digital port.
@ Return Code
ERR_NoError
ERR_BoardNoInit
C/C++ Libraries• 31
5.6 Digital Output Relative Functions
@ Description
These functions are used to write data to the digital output ports. You
can write 32-bit data to the 7432 by using function “_7432_DO”; write
32-bit data (MSB double word) to the 7434 by using “_7434_DO_HiDW”;
or write 32-bit data (LSB double word) to 7434 by using
“_7434_DO_LoDW”.
@ Syntax
PCI-7432 / cPCI-7432 / cPCI-7432R
C/C++ (DOS)
U16 _7432_DO (U16 cardNo, U32 do_data)
C/C++ (Windows 95)
U16 W_7432_DO (U16 cardNo, U32 do_data)
Visual Basic (Windows 95)
W_7432_DO (ByVal cardNo As Integer, ByVal do_data As Long)
As Integer
W_7434_DO_HiDW (ByVal cardNo As Integer, ByVal do_data As
Long) As Integer
W_7434_DO_LoDW (ByVal cardNo As Integer, ByVal do_data As
Long) As Integer
@ Argument
cardNo : card number of selected board
do_data : value will be written to digital output port
@ Return Code
ERR_NoError
ERR_BoardNoInit
32 • C/C++ Libraries
5.7 Interrupt Source Control
@ Description
The 7432 and 7433 both have a dual interrupt system. Two interrupt
sources can be generated and be checked by the software. This
function is used to select and control the 7432/33 interrupt sources by
writing data to the interrupt control register. The interrupt source can be
set as Channel 0 (INT1) and/or channel 1 (INT2) of the digital input
channels.
W_7433_Set_INT_Control (ByVal cardNo As Integer, ByVal
int1Flag As Integer, ByVal int2Flag As Integer)
@ Argument
cardNo: card number of selected board
int1Flag: INT1 setting; 0: disable, 1: enable
int2Flag: INT2 setting; 0: disable, 1: enable
C/C++ Libraries• 33
5.8 Get Interrupt Status
@ Description
The 7432 and 7433 both have a dual interrupt system. Two interrupt
sources can be generated and be checked by the software. This
function is used to distinguish which interrupt is inserted if both INT1
and INT2 are in use.
W_7433_Get_IRQ_Status (ByVal cardNo As Integer,
int1Status As Integer, int2Status As Integer)
@ Argument
cardNo: card number of selected board
int1Status: 0: interrupt not INT1, 1: interrupt is INT1
int2Status: 0: interrupt not INT2, 1: interrupt is INT2
34 • C/C++ Libraries
5.9 Interrupt Enable
@ Description
This function is only available to Windows 95 drivers. It is used to
activate the interrupt controller. After calling this function, every time an
interrupt request signal is generated, a software event is signaled.
Please refer to the sample program 7432int.c or 7433int.c.
W_7433_INT_Enable (ByVal cardNo As Integer, hEvent As
Long) As Integer
@ Argument
cardNo : card number of selected board
hEvent : the address of an array of two handles. HEvent[0]
@ Return Code
ERR_NoError
ERR_BoardNoInit
and hEvent[1] are the events for interrupt signals
INT1 and INT2 respectively.
C/C++ Libraries• 35
5.10 Interrupt Disable
@ Description
This function is only available to Windows 95 drivers. This function is
used to disable the generation of interrupt signals.
@ Syntax
PCI-7432 / cPCI-7432 / cPCI-7432R
C/C++ (Windows 95)
U16 W_7432_INT_Disable (U16 cardNo)
Visual Basic (Windows 95)
W_7432_INT_Disable (ByVal cardNo As Integer) As Integer
PCI-7433 / cPCI-7433 / cPCI-7433R
C/C++ (Windows 95)
U16 W_7433_INT_DIsable (U16 cardNo)
Visual Basic (Windows 95)
W_7433_INT_Disable (ByVal cardNo As Integer) As Integer
@ Argument
cardNo : card number of selected board
@ Return Code
ERR_NoError
ERR_BoardNoInit
36 • C/C++ Libraries
5.11 LED Control Function
@ Description
The LED control function is only available to the CompactPCI rear I/O
version. The cPCI-7432R/33R/34R has four user defined LED’s. This
function is used to control the LED’s.
W_7432R_LED (ByVal cardNo As Integer , ByVal
LED_Data As Long) As Integer
W_7433R_LED (ByVal cardNo As Integer , ByVal
LED_Data As Long) As Integer
W_7434R_LED (ByVal cardNo As Integer , ByVal
LED_Data As Long) As Integer
@ Argument
cardNo: card number of selected board
LED_Data: control LED data (only use finally byte)
C/C++ Libraries• 37
5.12 Get Slot Number
@ Description
The Get slot number function is only available to the CompactPCI rear
I/O version. The slot number is read back from the geographic address,
which is defined on the backplane.
W_7432R_SlotNo (ByVal cardNo As Integer , slot_No
As Long) As Integer
W_7433R_SlotNo (ByVal cardNo As Integer , slot_No
As Long) As Integer
W_7434R_SlotNo (ByVal cardNo As Integer , slot_No
As Long) As Integer
@ Argument
cardNo: card number of selected board
slot_No: tne slot number of the cPCI card (only use LSB
byte)
38 • C/C++ Libraries
Warranty Policy
Thank you for choosing ADLINK. To understand your rights and enjoy all
the after-sales services we offer, please read the following carefully.
1. Before using ADLINK’s products, please read the user manual and
follow the instructions carefully. When sending in damaged
products for repair, please attach an RMA application form.
2. All ADLINK products come with a two-year guarantee, free of
repair charge.
• The warranty period starts from the product’s shipment date
from ADLINK’s factory
• Peripherals and third-party products not manufactured by
ADLINK will be covered by the original manufacturers’
warranty
• End users requiring maintenance services should contact
their local dealers. Local warranty conditions will depend on
the local dealers
3. Our repair service does not cover the two-year guarantee while
damages are causedby the following:
a. Damage caused by not following instructions in the user
menus .
b. Damage caused by carelessness on the users’ part during
product transportation.
c. Damage caused by fire, earthquakes, floods, lightening,
pollution and incorrect usage of voltage transformers.
d. Damage caused by unsuitable storage environments with
high temperatures, high humidity or volatile chemicals.
e. Damage caused by leakage of battery fluid when changing
batteries.
f. Damages from improper repair by unauthorized technicians.
g. Products with altered and damaged serial numbers are not
entitled to our service.
h. Other categories not protected under our guarantees.
4. Customers are responsible for the fees regarding transportation of
damaged products to our company or to the sales office.
Warranty Policy • 39
5. To ensure the speed and quality of product repair, please
download an RMA application form from our company website
www.adlinktech.com. Damaged products with RMA forms attached
receive priority.
For further questions, please contact our FAE staff.
ADLINK: service@adlinktech.com
Test & Measurement Product Segment: NuDAQ@adlinktech.com
Automation Product Segment: Automation@adlinktech.com
Computer & Communication Product Segment: NuPRO@adlinktech.com;
NuIPC@adlinktech.com
40 • Warranty Policy
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.