6 _7300_di_mode, Description, Syntax – ADLINK PCI-7300A User Manual

Page 76: Argument, Return code, 7300_di_mode, Description @ syntax @ argument @ return code

Advertising
background image

64

C/C++ Libraries

5.6 _7300_DI_Mode

@ Description

Set the clock mode and start mode for the PCI-7300A DI opera-
tion.

@ 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 PCI-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