beautypg.com

ADLINK HSL-DI16DO16-M-NN User Manual

Page 108

background image

HSL Function Library

95

I16 HSL_D_wait_di_interrupt(I16 card_ID, I32

time_out_ms);

Visual Basic (Windows 98/NT/2000/XP)

HSL_D_write_output (ByVal card_ID As Integer,

ByVal connect_index As Integer, ByVal
slave_No As Integer, ByVal out_data As Long)
As Integer

HSL_D_write_channel_output (ByVal card_ID As

Integer, ByVal connect_index As Integer,
ByVal slave_No As Integer, ByVal channel As
Integer, ByVal out_data As Integer) As
Integer

HSL_D_read_input (ByVal card_ID As Integer, ByVal

connect_index As Integer, ByVal slave_No As
Integer, in_data As Long) As Integer

HSL_D_read_channel_input (ByVal card_ID As

Integer, ByVal connect_index As Integer,
ByVal slave_No As Integer, ByVal channel As
Integer, in_data As Integer) As Integer

HSL_D_read_output (ByVal card_ID As Integer,

ByVal connect_index As Integer, ByVal
slave_No As Integer, out_data_in_ram As
Long) As Integer

HSL_D_read_all_slave_input (ByVal card_ID As

Integer, ByVal connect_index As Integer,
in_data As Integer) As Integer

HSL_D_write_all_slave_output (ByVal card_ID As

Integer, ByVal connect_index As Integer,
out_data As Integer) As Integer

HSL_D_set_input_logic (ByVal card_ID As Integer,

ByVal connect_index As Integer, ByVal
slave_No As Integer, ByVal input_logic As
Integer) As Integer

HSL_D_set_output_logic (ByVal card_ID As Integer,

ByVal connect_index As Integer, ByVal
slave_No As Integer, ByVal output_logic As
Integer) As Integer

HSL_D_set_int_renewal_type(ByVal card_ID As

Integer, ByVal connect_index As Integer,
ByVal type As Integer)As Integer

HSL_D_set_int_renewal_bit(ByVal card_ID As

Integer, ByVal connect_index As Integer,