![ADLINK Technology HSLink HSL-AI16 Скачать руководство пользователя страница 40](http://html1.mh-extra.com/html/adlink-technology/hslink-hsl-ai16/hslink-hsl-ai16_user-manual_2852692040.webp)
32
•
NT DLL Programming
Stop
Ø
Systax
U16 _stdcall W_HSL_Stop(U16 card_ID, U16 set_ID);
Ø
Description
This function stop to scan the connected slave I/O modules of the HSLink
master card (PCI-7851 or PCI-7852) with set_ID value.
Ø
Parameter
card_ID
The card ID of the card that want to perform this
operation.
set_ID
In PCI-7851, because it contain only one connector so
the valid value is 0, for PCI-7852, the valid value is 0 or 1.
Ø
Return Number
ERR_NoError, ERR_ConnectIndex, ERR_InvalidBoardNumber
Ø
Example
result = W_HSL_Stop(cardNo, 0);
Connect Status
Ø
Systax
U16 _stdcall W_HSL_Connect_Status(U16 card_ID,
U16 set_ID, U16 slave_No, U8 sts _data);
Ø
Description
This function is to read the communication status of the slave I/O module.
The slave I/O module‘s address is slave_No and set value is set_ID.
Ø
Parameter
card_ID
The card id of the card that want to perform this
operation.
set_ID
In PCI-7851, because it contain only one connector so
the valid value is 0, for PCI-7852, the valid value is 0 or 1.
slave_No
Specify the slave I/O module with slave_No address
which want to perform this function.
The valid value is
between 1 ~ 63.