beautypg.com

ADLINK cPCI-7300 User Manual

Page 72

background image

64

C/C++ Libraries

5.22 _7300_DO_PG_Stop

@ Description

This function is used to stop the pattern generation operation. After executing
this function, the _7300_DO_PG_Start function is stopped.

@ Syntax

Visual C/C++ (Windows 95)

int W_7300_DO_PG_Stop (int card_number)

Visual Basic (Windows 95)

W_7300_DO_PG_Stop (ByVal card_number As Long) As Long

C/C++ (DOS)

int _7300_DO_PG_Stop (int card_number)

@ Argument

card_number:

The card number of the PCI-7300A card.

@ Return Code

NoError
PCICardNumErr
PCICardNotInit

5.23 _7300_DI_Timer

@ Description

This function is used to set the internal timer pacer for digital input. Timer pacer
frequency = 10Mhz / C0.

@ Syntax

Visual C/C++ (Windows 95)

int W_7300_DI_Timer (int card_number, U16 c0)

Visual Basic (Windows 95)

W_7300_DI_Timer (ByVal card_number As Long, ByVal c0 As Integer)

As Long

C/C++ (DOS)

int _7300_DI_Timer (int card_number, U16 c0)

@ Argument

card_number:

The card number of the PCI-7300A card.

c0:

frequency divider of Counter #0. Valid value
ranges from 2 to 65535.

Note: Since the Integer type in Visual Basic is signed integer. It’s range is

within -32768 and 32767. In Visual Basic, if you want to set c0 as
value larger than 32767, please set it as the intended value minus
65536. For example, if you want to set c0 as 40000, please set c0 as
40000-65536=-25536.