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
Содержание cPCI-8168
Страница 4: ......
Страница 10: ...vi List of Figures...
Страница 29: ...Installation 19 2 9 Overview of CN3 CN6...
Страница 31: ...Installation 21 2 11 Switch Setting...
Страница 124: ...114 Function Library Src Counter source Return Code ERR_NoError Value Meaning 0 External Feedback 1 Command pulse...
Страница 134: ...124 Function Library Return Code ERR_NoError ERR_SpeedError ERR_PChangeSlowDownPointError ERR_MoveRatioError...
Страница 155: ...Function Library 145 12 At FH speed maximum velocity 13 In deceleration 14 Waiting for INP signal 15 Reserved...
Страница 204: ...194 Function Library...