background image

C/C++ DOS Function Library 

 15

PCIe-7432

Argument

cardNo:

 Card number of selected board

di_data: 

Returns 32-bit value from digital port

Return Code

ERR_NoError
ERR_BoardNoInit

Digital Output Relative Functions

Write data to the digital output ports (to write 32-bit data, call
function 

_7432_DO

).

Syntax

C/C++ (DOS)

U16  _7432_DO (U16 cardNo,  U32  do_data)

C/C++ (Windows)

U16  W_7432_DO (U16 cardNo,  U32  do_data)

Visual Basic (Windows)

W_7432_DO (ByVal cardNo As Integer, ByVal do_data 

As Long) As Integer

Argument

cardNo:

 Card number of selected board

do_data:

  value is written to digital output port

Return Code

ERR_NoError
ERR_BoardNoInit

Interrupt Source Control

The dual interrupt system allows two interrupt sources to be
generated and checked by the software, with the function
enabling selection and control of the 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.

Summary of Contents for PCIe-7432

Page 1: ...Advance Technologies Automate the World Manual Rev 2 00 Revision Date Jan 29 2016 Part No 50 11259 1000 PCIe 7432 32CH Isolated DI 32CH Isolated DO PCIe Card ...

Page 2: ...ii Revision History Revision Release Date Description of Change s 2 00 Jan 29 2016 Initial release ...

Page 3: ...ven if advised of the possibility of such damages Environmental Responsibility ADLINK is committed to fulfill its social responsibility to global environmental preservation through compliance with the Euro pean Union s Restriction of Hazardous Substances RoHS direc tive and Waste Electrical and Electronic Equipment WEEE directive Environmental protection is a top priority for ADLINK We have enforc...

Page 4: ...NOTE NOTE Additional information aids and tips that help users perform tasks CAUTION Information to prevent minor physical injury component dam age data loss and or program corruption when trying to com plete a task WARNING Information to prevent serious physical injury component damage data loss and or program corruption when trying to complete a specific task ...

Page 5: ... Support 3 PCIS DASK 3 1 5 PCB Layout 3 1 6 Connectors 4 1 7 DI O Channels 6 Isolated Digital Input Channels 6 Isolated Digital Output Channels 7 2 Getting Started 9 2 1 Unpacking Checklist 9 2 2 Installing the Card 9 3 Register Format 11 3 1 I O Address Map 11 3 2 Digital Input Register 11 3 3 Digital Output Register 12 AppendixA C C DOS Function Library 13 A 1 Data Types 13 A 2 List of Functions...

Page 6: ...tial 13 Digital Input Relative Functions 14 Digital Output Relative Functions 15 Interrupt Source Control 15 Get Interrupt Status 16 Interrupt Enable 17 Interrupt Disable 18 Important Safety Instructions 19 Getting Service 21 ...

Page 7: ...List of Figures vii PCIe 7432 List of Figures Figure 1 1 PCIe 7432 Board Layout 3 Figure 1 2 PCIe 7432 CN1 Connector 4 Figure 1 3 Isolated Input Connection 7 Figure 1 4 Common Ground Connection 8 ...

Page 8: ...viii List of Figures This page intentionally left blank ...

Page 9: ...t of Tables ix PCIe 7432 List of Tables Table 1 1 PCIe 7432 CN1 Pin Assignment 6 Table 3 1 I O Register Map 11 Table 3 2 IDI_N Isolated Digital Input CH N 11 Table 3 3 IDI_N Isolated Digital Input CH N 12 ...

Page 10: ...x List of Tables This page intentionally left blank ...

Page 11: ...isolated digital out put is ON sink current is through transistors and when OFF none is The extra connection is utilized for the flywheel diode forming a current release closed loop whereby transistors are protected from high reverse voltage generated by the inductance load when output is switched from ON to OFF 1 1 Features X PCI Express x1 Plug and Play X 32CH isolated digital input 32CH isolate...

Page 12: ...Sources Digital input channels 0 and channel 1 Isolated voltage 2 500V RMS channel to system Output Channels 32 Output Type Darlington transistor with common ground Output Voltage 5V DC min 35V DC maximum Throughput 10kHz 0 1 ms Isolated voltage 2 500V RMS channel to system Output Voltage 5V Output Current 200mA max 40 C Dimensions 175 mm x 107 mm standard PCIe half size Bus 1x PCI Express Operati...

Page 13: ...ation environments such as Lab VIEW Be sure to install the driver utility before using the PCIe 7432 PCIS DASK PCIS DASK consists of advanced 32 64 bit kernel drivers and SDK for customized DAQ application development enabling detailed operations and superior performance and reliability from data acquisition systems PCIS DASK kernel drivers now support Windows 7 8 1 OS 1 5 PCB Layout Figure 1 1 PC...

Page 14: ...ction 1 6 Connectors The PCIe 7432 is equipped with a 100 pin SCSI connector CN1 Figure 1 2 PCIe 7432 CN1 Connector ID Pin Pin ID IDI_0 1 51 IDI_8 IDI_1 2 52 IDI_9 IDI_2 3 53 IDI_10 IDI_3 4 54 IDI_11 1 50 51 100 ...

Page 15: ...5 IDI_26 IDI_19 16 66 IDI_27 IDI_20 17 67 IDI_28 IDI_21 18 68 IDI_29 IDI_22 19 69 IDI_30 IDI_23 20 70 IDI_31 COM3 21 71 COM4 COM3 22 72 COM4 COM3 23 73 COM4 COM3 24 74 COM4 NC 25 75 NC IDO_0 26 76 IDO_8 IDO_1 27 77 IDO_9 IDO_2 28 78 IDO_10 IDO_3 29 79 IDO_11 IDO_4 30 80 IDO_12 IDO_5 31 81 IDO_13 IDO_6 32 82 IDO_14 IDO_7 33 83 IDO_15 VDD1 34 84 VDD2 IGND 35 85 IGND IGND 36 86 IGND IGND 37 87 IGND I...

Page 16: ...ween external signals and the PCIe 7432 is as shown in Fig A01 Since input common junction can be common ground in the environment digital input can be either a current source or a current sink IDO_16 38 88 IDO_24 IDO_17 39 89 IDO_25 IDO_18 40 90 IDO_26 IDO_19 41 91 IDO_27 IDO_20 42 92 IDO_28 IDO_21 43 93 IDO_29 IDO_22 44 94 IDO_30 IDO_23 45 95 IDO_31 VDD3 46 96 VDD4 IGND 47 97 IGND IGND 48 98 IGN...

Page 17: ...e load is of an induc tance 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 flywheel diode to form a current release closed loop whereby transistors are protected from any high reverse volt age generated by the inductance load when output is switched from ON to OFF 2 4k Isolated Input Signal source COM m GND Cu...

Page 18: ...8 Introduction Figure 1 4 Common Ground Connection Vm 5 to 35V Load DC DC Converter IGND ...

Page 19: ...re you install the card into your com puter system See Software Support on page 3 for driver sup port information To install the card 1 Turn off the system chassis and disconnect the power plug from the power source 2 Remove the system chassis cover 3 Select the PCIE Express slot that you intend to use then remove the bracket opposite the slot if any 4 Align the card connectors golden fingers with...

Page 20: ...tware no jumper setting is required for base address DMA and interrupt IRQ Configuration is subject to change with every boot of the system as new PCI PCIE Express cards are added or removed Troubleshooting If your system fails to boot or if you experience erratic operation with your PCI PCIE Express card in place an interrupt conflict may have been generated such as when the BIOS Setup is incor r...

Page 21: ...Register Map 3 2 Digital Input Register Each bit of based address corresponds to a signal on one of the 32 digital input channels Address BASE 0 to BASE 3 for 7432 Attribute Read Only Data format 7432 Table 3 2 IDI_N Isolated Digital Input CH N Address Write Read Base 0x00 Isolated DO Isolated DI Base 0x40 Clear IRQ NOTE NOTE X I O port is 32 bits wide X There is no 8 bit or 16 bit I O access 7 6 ...

Page 22: ... BASE 3 for 7432 Attribute Write Only Data format 7432 Table 3 3 IDI_N Isolated Digital Input CH N 7 6 5 4 3 2 1 0 Base 0 IDO_7 IDO_6 IDO_5 IDO_4 IDO_3 IDO_2 IDO_1 IDO_0 Base 1 IDO_15 IDO_14 IDO_13 IDO_12 IDO_11 IDO_10 IDO_9 IDO_8 Base 2 IDO_23 IDO_22 IDO_21 IDO_20 IDO_19 IDO_18 IDO_17 IDO_16 Base 3 IDO_31 IDO_30 IDO_29 IDO_28 IDO_27 IDO_26 IDO_25 IDO_24 ...

Page 23: ...it ASCII character 0 to 255 I16 16 bit signed integer 32768 to 32767 U16 16 bit unsigned integer 0 to 65535 I32 32 bit signed integer 2147483648 to 2147483647 U32 32 bit single precision floating point 0 to 4294967295 F32 32 bit single precision floating point 3 402823E38 to 3 402823E38 F64 64 bit double precision floating point 797683134862315E308 to 1 797683134862315E309 Boolean Boolean logic va...

Page 24: ... initialization infor mation as set by p p BIOS PCIe_INFO structure is defined in ACL_PCI H with base I O address and interrupt channel number are stored in pciinfo for reference Return Code ERR_NoError ERR_PCIBiosNotExist Digital Input Relative Functions Read 32 bit digital input data from the digital input port to obtain 32 bit data call function _7432_DI Syntax C C DOS U16 _7432_DI U16 cardNo U...

Page 25: ... do_data Visual Basic Windows W_7432_DO ByVal cardNo As Integer ByVal do_data As Long As Integer Argument cardNo Card number of selected board do_data value is written to digital output port Return Code ERR_NoError ERR_BoardNoInit Interrupt Source Control The dual interrupt system allows two interrupt sources to be generated and checked by the software with the function enabling selection and cont...

Page 26: ...Card number of selected board int1Flag INT1 setting 0 disable 1 enable int2Flag INT2 setting 0 disable 1 enable Return Code ERR_NoError ERR_BoardNoInit Get Interrupt Status The dual interrupt system allows two interrupt sources to be generated and checked by the software with the function identifying the inserted interrupt when both INT1 and INT2 are in use Syntax C C DOS void _7432_Get_IRQ_Status...

Page 27: ...rdNoInit Interrupt Enable Activates the interrupt controller After calling software sig nals every interrupt request signal generated Refer to sam ple program 7432int c Syntax C C Windows U16 W_7432_INT_Enable U16 cardNo HANDLE hEvent Visual Basic Windows W_7432_INT_Enable ByVal cardNo As Integer hEvent As Long As Integer Argument cardNo Card number of selected board hEvent address of array of two...

Page 28: ... interrupt signals Only available for Windows 95 drivers Syntax C C Windows U16 W_7432_INT_Disable U16 cardNo Visual Basic Windows W_7432_INT_Disable ByVal cardNo As Integer As Integer Argument cardNo Card number of selected board Return Code ERR_NoError ERR_BoardNoInit ...

Page 29: ...Turn off power and unplug any power cords cables X To avoid electrical shock and or damage to equipment Z Keep equipment away from water or liquid sources Z Keep equipment away from high heat or high humidity Z Keep equipment properly ventilated do not block or cover ventilation openings Z Make sure to use recommended voltage and power source settings Z Always install and operate equipment near an...

Page 30: ...viced by authorized technicians when Z The power cord or plug is damaged Z Liquid has penetrated the equipment Z It has been exposed to high humidity moisture Z It is not functioning or does not function according to the user s manual Z It has been dropped and or damaged and or Z It has an obvious sign of breakage WARNING Risk of explosion if battery is replaced with one of an incorrect type Dispo...

Page 31: ...6 21 5132 8988 Fax 86 21 5132 3588 Email market adlinktech com ADLINK Technology Beijing Address ҀᏖ ऎϞഄϰ䏃 1 োⲜ ࡼ ॺ E ᑻ 801 ᅸ 100085 Rm 801 Power Creative E No 1 Shang Di East Rd Beijing 100085 China Tel 86 10 5885 8666 Fax 86 10 5885 8626 Email market adlinktech com ADLINK Technology Shenzhen Address ഇᏖफቅऎ ᡔುफऎ催ᮄफϗ䘧 ᄫᡔᴃು A1 2 ὐ C ऎ 518057 2F C Block Bldg A1 Cyber Tech Zone Gao Xin Ave Sec 7 High T...

Page 32: ...Korea 463 825 Toll Free 82 80 800 0585 Tel 82 31 786 0585 Fax 82 31 786 0583 Email korea adlinktech com ADLINK Technology Singapore Pte Ltd Address 84 Genting Lane 07 02A Cityneon Design Centre Singapore 349584 Tel 65 6844 2261 Fax 65 6844 2263 Email singapore adlinktech com ADLINK Technology Singapore Pte Ltd Indian Liaison Office Address 50 56 First Floor Spearhead Towers Margosa Main Road betwe...

Reviews: