beautypg.com

ADLINK PCI-7396 User Manual

Page 51

background image

C/C++ Libraries

• 43

5.11 _7396_Set_Event_Edge

@ Description

This function is used to set the edge trigger of event signal (Pin51) and
external trigger signal (Pin99). The following table shows the possible settings.

Set_Event_Edge C0

0

1

External Trigger (Pin99) Active Low

Active High

Event (Pin51)

Rising Edge
Count

Falling Edge
Count

@ Syntax

C/C++ (DOS)

U16 _7396_Set_Event_Edge (U16 cardNo, U16 *c0)

C/C++ (Windows 95)

U16 W_7396_Set_Event_Edge (U16 cardNo, U16 *c0)

Visual Basic (Windows 95)

W_7396_ Set_Event_Edge (ByVal cardNo As Integer, c0 As Integer)

As Integer

@ Argument

cardNo :The card number of PCI7396 card initialized.
c0: The event signal and external clock signal setting.

@ Return Code

ERR_NoError