![ICP DAS USA I-7565M-HS User Manual Download Page 66](http://html2.mh-extra.com/html/icp-das-usa/i-7565m-hs/i-7565m-hs_user-manual_3630632066.webp)
I-7565M-HS USB to CAN converter User Manual (version 1.0.0)
Page: 66
Copyright © 2018 ICP DAS Co., Ltd. All Rights Reserved. E-mail: [email protected]
5.6.3 CANHS_SetCANHWSendMode
This function is used to enable or disable CAN message sending in the assigned
CAN port by using module hardware timer and it will be more precise than PC software
timer.
Syntax:
C++
int CANHS_SetCANHWSendMode(WORD i_wDevice_id, BYTE i_byCANPort, BYTE
i_byMode);
C#
Int32 CANHS_SetCANHWSendMode(UInt16 i_wDevice_id, Byte i_byCANPort, Byte
i_byMode);
Parameter:
i_wDevice_id
[in]
The assigned device ID of the I-7565M-HS device.
i_byCANPort
[in]
The assigned CAN port of the I-7565M-HS device.
i_byMode
[in]
Enable or disable CAN message sending in the assigned CAN port by using
module hardware timer.
0: disable CAN message sending by using module hardware timer.
1: enable CAN message sending by using module hardware timer.
Return Value:
Return 0 means success, others means failure.