beautypg.com

ADLINK cPCI-7300 User Manual

Page 58

background image

50

• C/C++ Libraries

5.4 _7300_Close

@ Description

Close a previously initialized PCI-7300A card.

@ Syntax

Visual C/C++ (Windows 95)

int W_7300_Close (int card_number)

Visual Basic (Windows 95)

W_7300_Close (ByVal card_number As Long) As Long

C/C++ (DOS)

int _7300_Close (int card_number)

@ Argument

card_number: The card number of the PCI-7300A card.

@ Return Code

NoError
PCICardNumErr
PCICardNotInit

5.5 _7300_Configure

@ Description

Set the port DI/O configuration, terminator control, and control signal polarity
for the PCI-7300A card.

@ Syntax

Visual C/C++ (Windows 95)

int W_7300_Configure (int card_number, int dio_config, int

term_cntrl, int cntrl_pol)

Visual Basic (Windows 95)

W_7300_Configure (ByVal card_number As Long, ByVal dio_config As

Long, ByVal term_cntrl As Long, ByVal c ntrl_pol
As Long) As Long

C/C++ (DOS)

int _7300_Configure (int card_number, int dio_config, int

term_cntrl, int cntrl_pol)

@ Argument

card_number: The card number of the PCI-7300A card.
dio_config:

The port configuration

DI32: input port is 32-bit wide, PORTB is
configured as the extension of PORTA.

DO32: output port is 32-bit wide, PORTA is
configured as the extension of PORTB.

DI8DO8: PORTA is 8-bit input and PORTB is 8-bit
output