![ICP DAS USA I-7565M-HS User Manual Download Page 42](http://html2.mh-extra.com/html/icp-das-usa/i-7565m-hs/i-7565m-hs_user-manual_3630632042.webp)
I-7565M-HS USB to CAN converter User Manual (version 1.0.0)
Page: 42
Copyright © 2018 ICP DAS Co., Ltd. All Rights Reserved. E-mail: [email protected]
5.4.4 CANHS_CloseDevice
This function is used to close the I-7565M-HS device. After the device closed, all the
resoruces the API Library used will be released.
Syntax:
C++
int CANHS_CloseDevice(WORD i_wDevice_id);
C#
Int32 CANHS_CloseDevice(UInt16 i_wDevice_id);
Parameter:
i_wDevice_id
[in]
The assigned device ID of the I-7565M-HS device.
Return Value:
Return 0 means success, others means failure.