76
•
Motion Library
I16 _8136_A_Set_Trigger_Map(I16 CardNo, I16 Channel, I16
Source)
I16 _8136_A_Set_Trigger(I16 CardNo, I16 Channel, I16 Control)
I16 _8136_A_Set_Preload_Volt(I16 CardNo, I16 Channel, F64
Volt)
Visual Basic 5.0 or higher
B_8136_A_Write_Value (ByVal CardNo As Integer, ByVal
Channel As Integer, ByVal Value As Integer) As Integer
B_8136_A_Write_Volt (ByVal CardNo As Integer, ByVal Channel
As Integer, ByVal Volt As Single) As Integer
B_8136_A_Read_Value Lib (ByVal CardNo As Integer, ByVal
Channel As Integer, Value As Integer) As Integer
B_8136_A_Read_Volt (ByVal CardNo As Integer, ByVal Channel
As Integer, Volt As Double) As Integer
B_8136_A_Output_Control (ByVal CardNo As Integer, ByVal
Channel As Integer, ByVal Control As Integer) As Integer
B_8136_A_Set_Compare_Value(ByVal CardNo As Integer, ByVal
Channel As Integer, ByVal Value As Integer) As Integer
B_8136_A_Set_Compare_Volt (ByVal CardNo As Integer, ByVal
Channel As Integer, ByVal Volt As Double) As Integer
B_8136_A_Output_Control (ByVal CardNo As Integer, ByVal
Channel As Integer, ByVal Control As Integer) As Integer
B_8136_A_Set_Trigger_Map(ByVal CardNo As Integer,ByVal
Channel As Integer, ByVal Source As Integer) As Integer
B_8136_A_Set_Trigger(ByVal CardNo As Integer, ByVal Channel
As Integer, ByVal Control As Integer) As Integer
B_8136_A_Set_Preload_Volt(ByVal CardNo As Integer, ByVal
Channel
As Integer, ByVal Volt As Double) As Integer
@ Argument
CardNo: card number designated to set (Range 0 ~ 3)
Channel: channel number designated to set (Range 0 ~ 6)
Value: the output value for DAC channel (Range –32768 ~
+32767)
Volt: the output voltage for DAC channel (Range –10.0 ~ +10.0)
Value: the input value for ADC channel (Range 0 ~4000)
Volt: the input voltage for ADC channel (Range –10.0 ~ +10.0)
Control: enable or disable trigger ( 1 for enable/0 for disable )
Source: Set DAC trigger source
Value 0~5 is for encoder 0~5
Value 8~13 is for ADC channel 0~5
@ Return Code
ERR_RangeError
ERR_NoError