ADLINK PCM-9112+ User Manual
Page 62

54
• C/C++ Library
5.12 _9112_AD_Soft_Trig
@ Description
This function is used to trigger the A/D conversion by software. When
the function is called, a trigger pulse will be generated and A/D
conversion will start, and the converted data will be stored in the base
address Base + 0x10 after the conversion.
@ Syntax
Visual C++ (Windows-95)
int W_9112_ AD_AD_Soft_Trig (int card_number)
Visual Basic (Windows-95)
W_9112_ AD_Soft_Trig (ByVal card_number As Long) As Long
C/C++ ( DOS)
int _9112_AD_Soft_Trig (int card_number)
@ Argument:
card_number:
the card number of PCI-9112
@ Return Code:
ERR_NoError, ERR_BoardNoInit
5.13 _9112_AD_Aquire
@ Description
This function is used to poll the AD conversion data. It will trigger the AD
conversion, and read the 12-bit A/D data until the data is ready ('data
ready' bit becomes low).
@ Syntax
Visual C++ (Windows-95)
int W_9112_AD_Aquire (int card_number, int *ad_data)
Visual Basic (Windows-95)
W_9112_ AD_Aquire (ByVal card_number As Long, ad_data As
Long) As Integer
C/C++ ( DOS)
int _9112_AD_Aquire (int card_number, int *ad_data )