Function Library
187
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
Summary of Contents for cPCI-8168
Page 4: ......
Page 10: ...vi List of Figures...
Page 29: ...Installation 19 2 9 Overview of CN3 CN6...
Page 31: ...Installation 21 2 11 Switch Setting...
Page 204: ...194 Function Library...