User`s guide

C/C++ Library 67
5.21 _9111_AD_Get_Mode
@ Description
This function is used to get AD mode. Please refer to section 5.1.3 for the
detailed description of AD trigger modes and section 5.1.5 for the
description of Pre-Trigger mode control.
@ Syntax
C/C++ (DOS)
U16 _9111_AD_Get_Mode (U16 cardNo, U16 *ADMode)
C/C++ (Windows 95)
U16 W_9111_AD_Get_Mode (U16 cardNo, U16 *ADMode)
Visual Basic (Windows 95)
W_9111_AD_Get_Mode (ByVal cardNo As Integer, ADMode As Integer)
As Integer
@ Argument
cardNo: The card number of PCI-9111 card initialized
ADMode: The value of AD mode. The returned value could be one or a
combination of the following modes:
A_9111_AD_PostTrg_ON
A_9111_AD_PostTrg_OFF
A_9111_AD_PreTrg_ON
A_9111_AD_PreTrg_OFF
A_9111_AD_External_SRC
A_9111_AD_Internal_SRC
A_9111_AD_TimerTrig
A_9111_AD_SoftTrig
A_9111_AD_AutoScan
@ Return Code
ERR_NoError