Argument – ADLINK HSL-DO32-M-N/HSL-DO32-M-P User Manual
Page 96
HSL Function Library
83
I16 HSL_get_scan_condition(I16 card_ID, I16
connect_index, I16 *comm_type, I16
*transfer_rate, I16 *hub_number);
I16 HSL_connect_status (U16 card_ID, U16
connect_index, U16 slave_No, U8 *sts_data);
I16 HSL_slave_live (U16 card_ID, U16
connect_index, U16 slave_No, U8 *live_data);
void HSL_get_irq_channel (I16 card_ID, I16
*irq_no);
Visual Basic (Windows 98/NT/2K/XP)
HSL_initial (ByVal card_ID As Integer) As Integer
HSL_close (ByVal card_ID As Integer) As Integer
HSL_start (ByVal card_ID As Integer, ByVal
connect_index As Integer, ByVal max_slave_No
As Integer) As Integer
HSL_auto_start (ByVal card_ID As Integer, ByVal
connect_index As Integer) As Integer
HSL_stop (ByVal card_ID As Integer, ByVal
connect_index As Integer) As Integer
HSL_set_scan_condition(ByVal card_ID As Integer,
ByVal connect_index As Integer, ByVal
comm_type As Integer, ByVal transfer_rate As
Integer, ByVal hub_number As Integer);
HSL_get_scan_condition((ByVal card_ID As Integer,
ByVal connect_index As Integer, comm_type As
Integer, transfer_rate As Integer,
hub_number As Integer);
HSL_connect_status (ByVal card_ID As Integer,
ByVal connect_index As Integer, ByVal
slave_No As Integer, sts_data as Byte) As
Integer
HSL_slave_live (ByVal card_ID As Integer, ByVal
connect_index As Integer, ByVal slave_No as
Integer, live_data as Byte) As Integer
HSL_get_irq_channel (ByVal card_ID As Integer,
irq_no As Integer) As Integer
@ Argument
card_ID: Specify the HSL master card index. Normally, the board
index sequence would be decided by the system. The index is
from 0.