6 _7300_di_mode, 7300_di_mode – ADLINK PCIe-7300A User Manual

Page 79

Advertising
background image

C/C++ Libraries

69

5.6

_7300_DI_Mode

@ Description

Set the clock mode and start mode for the cPCI/PCI/PCIe-7300A
DI operation.

@ Syntax

Visual C/C++ (Windows 95)

int W_7300_DI_Mode (int card_number, int

clk_mode, int start_mode)

Visual Basic (Windows 95)

W_7300_DI_Mode (ByVal card_number As Long, ByVal

clk_mode As Long, ByVal start_mode As Long)

As Long

C/C++ (DOS)

int _7300_DI_Mode (int card_number, int clk_mode,

int start_mode)

@ Argument

card_number

:The card number of the cPCI/PCI/PCIe-7300A

card.

clk_mode

:DI_CLK_TIMER: use timer0 output as input clock

DI_CLK_20M: use 20MHz clock as input clock

DI_CLK_10M: use 10MHz clock as input clock

DI_CLK_REQ: use external clock (DI_REQ) as input clock

DI_CLK_REQACK: REQ/ACK handshaking mode

start_mode

:DI_WAIT_TRIG: delay input sampling until DITRIG

is active

DI_NO_WAIT: start input sampling immediately

@ Return Code

NoError

PCICardNumErr

PCICardNotInit

InvalidDIOMode

Advertising