HP (Hewlett-Packard) PCI-9111DG/HR Network Card User Manual


 
48 C/C++ Library
@ Argument
cardNo: The card number of PCI-9111 card initialized
ADStatus: The status of AD FIFO. The AD FIFO status could be one of
the following:
ADSTS_FF_EF: FIFO is empty
ADSTS_FF_HF: FIFO is half-full
ADSTS_FF_FF: FIFO is full, A/D data may have been loss
ADSTS_BUSY: AD is busy, A/D data is written into FIFO.
@ Return Code
ERR_NoError
5.20 _9111_AD_Set_Mode
@ Description
This function is used to set AD trigger and channel scan 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_Set_Mode (U16 cardNo, U16 ADMode)
C/C++ (Windows 95)
U16 W_9111_AD_Set_Mode (U16 cardNo, U16 ADMode)
Visual Basic (Windows 95)
W_9111_AD_Set_Mode (ByVal cardNo As Integer, ByVal ADMode As
Integer) As Integer
@ Argument
cardNo: The card number of PCI-9111 card initialized
ADMode: The value of AD mode. The mode could be one or a
combination of the following modes:
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