6.23 General-purposed AIO
@ Name
_8168_read_ad – Read AD value
_8168_write_da – Write DA value
@ Description
_8168_read_ad():
Read value for specified AD channel
_8168_write_da():
Write value into specified DA channel
@ Syntax
C/C++ (DOS, Windows)
F64 _8168_read_ad(I16 CardNo, I16 ch);
I16 _8168_write_da(I16 CardNo ,I16 ch, F64 v);
Visual Basic (Windows)
B_8168_read_ad (ByVal card As Integer, ByVal ch
As Integer) As Double
B_8168_write_da (ByVal card As Integer, ByVal ch
As Integer, ByVal v As Double) As Integer
@ Argument
CardNo: Designated card number
Ch: Designated channel number
v: Voltage value , range: -10.0 ~ +10.0
@ Return Value
ERR_NoError
Function Library
187
Need help?
Do you have a question about the cPCI-8168 and is the answer not in the manual?