ADLINK Technology cPCI-7432 Manual Download Page 33

28 

••

 C/C++ Libraries

4.9 _7432_Get_INT_Status / _7433_Get_INT_Status

@ Description

The PCI-7432 or PCI-7433 has dual interrupts 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 interrupts are used.

@ Syntax

PCI-7432

C/C++ ( DOS)

void  _7432_Get_IRQ_Status (U16 cardNo, U16

*int1Status, U16 *int2Status)

C/C++ (Windows 95)

void W_7432_Get_IRQ_Status (U16 cardNo, U16

*int1Status, U16 *int2Status)

Visual Basic (Windows 95)

W_7432_Get_IRQ_Status (ByVal cardNo As Integer,

int1Status As Integer, int2Status As Integer)

PCI-7433

C/C++ ( DOS)

void  _7433_Get_IRQ_Status (U16 cardNo, U16

*int1Status, U16 *int2Status)

C/C++ (Windows 95)

void W_7433_Get_IRQ_Status (U16 cardNo, U16

*int1Status, U16 *int2Status)

Visual Basic (Windows 95)

W_7433_Get_IRQ_Status (ByVal cardNo As Integer,

int1Status As Integer, int2Status As Integer)

@ Argument

cardNo :

card number to select board

int1Status :

  INT1 status; 0: interrupt is not from INT1, 1:

interrupt is from INT1

int2Status :

  INT2 status; 0: interrupt is not from INT2, 1:

interrupt is from INT2

Summary of Contents for cPCI-7432

Page 1: ...PCI 7432 7433 7434 cPCI 7432 7433 7434 64 Channels Isolated Digital I O Digital Input Digital Output Card...

Page 2: ......

Page 3: ...bility 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 t...

Page 4: ...FORMAT CONNECTION REGISTER FORMAT CONNECTION 13 13 3 1 I O Registers Format 13 3 2 Digital Input Register 14 3 3 Digital Output Register 15 3 4 Isolated Digital Input Channels 16 3 5 Isolated Digital...

Page 5: ...ii Contents PRODUCT WARRANTY SERVICE 31 31...

Page 6: ...uses ASIC PCI controller to interface the board to the PCI bus The ASIC fully implement the PCI local bus specification Rev 2 0 All bus relative configurations such as base memory and interrupt assig...

Page 7: ...DLL driver for Win NT DAQBench ActiveX OLE controls for Win NT 1 1 Features The PCI 743X Isolated D I cards provide the following advanced features PCI 7432 PCI 7433 PCI 7434 cPCI 7432 cPCI 7433 CPCI...

Page 8: ...Input resistance 1 2K 0 5W Isolated voltage 5000 Vdc Throughput 10K Hz Optical isolated Output channel Number of Channels 32 digital outputs for 7432 64 digital outputs for 7434 Output Voltage open co...

Page 9: ...433 5V 500 mA typical 8PCI 7434 5V 560 mA typical 8cPCI 7432 5V 455 mA typical 8cPCI 7433 5V 500 mA typical 8cPCI 7434 5V 430 mA typical Dimension 8PCI 7432 33 34 Compact size only 98mm H X 173mm L 8c...

Page 10: ...I 7432 33 34 are plug and play it is very easy to install into any PC system with PCI slots 2 1 What You Have In addition to this User s Manual the package includes the following items PCI 7432 PCI 74...

Page 11: ...Shipping and handling may cause damage to your module Be sure there are no shipping and handing damages on the module before processing After opening the card module carton extract the system module a...

Page 12: ...Windows 95 the system will detect this device automatically and show the following dialog box that prompts you to select the device information source Choose the default option Driver from disk provi...

Page 13: ...d 7434 Win95 these directories include PCI 7432 33 34 device information files 7432 inf 7433 inf or 7434 inf in the input field X indicates the CD ROM driver and then click OK The system will start th...

Page 14: ...ct a 32 bit PCI expansion slot PCI slots are short than ISA or EISA slots and are usually white or ivory Caution Don t put PCI 7432 33 34 card into ISA or EISA slot 5 Before handling the PCI 7432 33 3...

Page 15: ...t Figure 2 7 Pin Assignment of PCI 7432 Connector CN1 1 IDI_0 26 IDO_0 51 IDI_8 76 IDO_8 2 IDI_1 27 IDO_1 52 IDI_9 77 IDO_9 3 IDI_2 28 IDO_2 53 IDI_10 78 IDO_10 4 IDI_3 29 IDO_3 54 IDI_11 79 IDO_11 5...

Page 16: ...53 IDI_10 78 IDI_42 4 IDI_3 29 IDI_35 54 IDI_11 79 IDI_43 5 IDI_4 30 IDI_36 55 IDI_12 80 IDI_44 6 IDI_5 31 IDI_37 56 IDI_13 81 IDI_45 7 IDI_6 32 IDI_38 57 IDI_14 82 IDI_46 8 IDI_7 33 IDI_39 58 IDI_15...

Page 17: ...CN1 1 IDO_0 26 IDO_32 51 IDO_8 76 IDO_40 2 IDO_1 27 IDO_33 52 IDO_9 77 IDO_41 3 IDO_2 28 IDO_34 53 IDO_10 78 IDO_42 4 IDO_3 29 IDO_35 54 IDO_11 79 IDO_43 5 IDO_4 30 IDO_36 55 IDO_12 80 IDO_44 6 IDO_5...

Page 18: ...forms the PCI bus specifications is initialized and controlled by the system plug play PCI BIOS User s can refer to the PCI BIOS specification to understand how to get information from the PCR The LCR...

Page 19: ...I O address space Table 3 1 shows the I O address of each register with respect to the base address Address Write Read PCI 7432 Base 0 3 Isolated DO Isolated DI PCI 7433 Base 0 7 Isolated DI PCI 7434...

Page 20: ...DI_40 Base 6 IDI_55 IDI_54 IDI_53 IDI_52 IDI_51 IDI_50 IDI_49 IDI_48 Base 7 IDI_63 IDI_62 IDI_61 IDI_60 IDI_59 IDI_58 IDI_57 IDI_56 IDI_N Isolated Digital Input CH N 3 3 Digital Output Register There...

Page 21: ..._57 IDO_56 IDO_N Isolated Digital Output CH N 3 4 Isolated Digital Input Channels The isolated digital input is open collector transistor structure The input voltage range form 5V to 24V and input res...

Page 22: ...al output goes OFF no current could flow through the transistor Please note that when the loading is as inductance type loading such as relay coil or motor the VDD signal must be connect to the extern...

Page 23: ......

Page 24: ...some demonstration programs which can help you reduce programming work MS DOS Software Installation 1 Turn your PC s power switch on 2 Put the ADLink s Manual Software Utility CD into the appropriate...

Page 25: ...lity CD into the appropriate CD driver step 2 If Windows 95 is loaded choose Run from the menu bar step 3 Type X Software Pci_Card 7230 Win95 Setup exe in the Run dialog box After a welcome dialog box...

Page 26: ...L or 7434 DLL is copied to Windows System directory default is C WINDOWS SYSTEM and the driver files PCIW95 VXD W95_7432 VXD or W95_7433 VXD are also copied to the appropriate directory There are two...

Page 27: ...program Because the default interrupt on PCI 7432 33 board is off users who want to use interrupt function can use this utility to turn on the interrupt of their PCI 7432 33 board 4 3 1 Running I_eep...

Page 28: ...ds are initialized by this function The software library could be used to control multiple PCI 7432 33 34 cards Because PCI 7432 33 34 is in PCI bus architecture and meets the plug and play specificat...

Page 29: ...your system pciinfo It is a structure to memorize the PCI bus plug and play initialization information which is decided by p p BIOS The PCI_INFO structure is defined in ACL_PCI H The base I O address...

Page 30: ...2 di_data U16 W_7433_DI_LoDW U16 cardNo U32 di_data Visual Basic Windows 95 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...

Page 31: ...rdNo U32 do_data U16 _7434_DO_LoDW U16 cardNo U32 do_data C C Windows 95 U16 W_7434_DO_HiDW U16 cardNo U32 do_data U16 W_7434_DO_LoDW U16 cardNo U32 do_data Visual Basic Windows 95 W_7434_DO_HiDW ByVa...

Page 32: ...C C DOS void _7432_Set_INT_Control U16 cardNo U16 int1Flag U16 int2Flag C C Windows 95 void W_7432_Set_INT_Control U16 cardNo U16 int1Flag U16 int2Flag Visual Basic Windows 95 W_7432_Set_INT_Control B...

Page 33: ...s U16 cardNo U16 int1Status U16 int2Status Visual Basic Windows 95 W_7432_Get_IRQ_Status ByVal cardNo As Integer int1Status As Integer int2Status As Integer PCI 7433 C C DOS void _7433_Get_IRQ_Status...

Page 34: ...rated Please refer to the sample program 7432int c or 7433int c Syntax PCI 7432 C C Windows 95 U16 W_7432_INT_Enable U16 cardNo HANDLE hEvent Visual Basic Windows 95 W_7432_INT_Enable ByVal cardNo As...

Page 35: ...l generation Syntax PCI 7432 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 C C Windows 95 U16 W_7433_INT_DIsab...

Page 36: ...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...

Reviews: