ADLINK HSL-DO32-M-N/HSL-DO32-M-P User Manual
Page 117
104
HSL Function Library
last_channel: For single-ended setting, the maximum last
channel is 15. For differential setting, the maximum last channel is
7.
*last_channel: You can get the last channel depending on
what you set previously. For single-ended setting, the maximum
last channel is 15. For differential setting, the maximum last chan-
nel is 7.
ai_channel: Specifies the AI channel of the slave module that
wants to perform this function. The valid value is described as fol-
lows.
HSL-AI16AO2-M-VV/AV
Differential: 0 - 15
Single-ended: 0 - 7
ao_channel: Specifies the AI channel of the slave module that
wants to perform this function. For HSL-AI16AO2-M-VV/AV, the
valid value is 0 and 1.
*ai_data: The AI data of the specified channel. The unit is Volt
for HSL-AI16AO2-M-VV module and mA for HSL-AI16AO2-M-AV
module.
ao_data: The AO data of the specified channel in Volt.
*ver: kernel version number.
@ Return Code
ERR_No_Error
ERR_Invalid_Board_Number
ERR_Connect_Index
ERR_Time_Out
ERR_Memory_Mapping
ERR_Satellite_Number
ERR_Satellite_Type
ERR_Over_Max_Address
ERR_AI16AO2_Signal_Range