ADLINK HSL-AI16AO2-M-VV/-AV User Manual

Page 111

Advertising
background image

98

HSL Function Library

enable: Enables (0) or disables (1) the Di interrupt.

time_out_ms: Specifies the time-out interval in milliseconds. The

function returns if the interval elapses, even when the interrupt is
non-signaled. If time_out_ms is zero, the function tests the Di state
and returns immediately. If time_out_ms is -1, the function's time-
out interval does not elapses (infinite).

@ Return Code

ERR_No_Error
ERR_Invalid_Board_Number
ERR_Memory_Mapping
ERR_Connect_Index
ERR_Satellite_Number
ERR_Over_Max_Address
ERR_DI_Renewal_Type
ERR_Wait_Di_Interrupt
ERR_Di_Event_Open_Already
ERR_Di_Event_Disable

Advertising