Canhs_Getcanopmode - ICP DAS USA I-7565M-HS User Manual

Usb to can
Hide thumbs Also See for I-7565M-HS:
Table of Contents

Advertisement

5.5.2 CANHS_GetCANOPMode

This function is used to get the enable/disable setting and normal/silent operating
mode in the assigned CAN port of the I-7565M-HS device.
Syntax:
C++
int CANHS_GetCANOPMode(WORD i_wDevice_id, BYTE i_byCANPort, WORD
*o_wEnable, WORD *o_wMode);
C#
Int32 CANHS_GetCANOPMode(UInt16 i_wDevice_id, Byte i_byCANPort, out UInt16
o_wEnable, out UInt16 o_wMode);
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.
*o_wEnable
[out]
Enable or disable the assigned CAN port of the I-7565M-HS device.
0: disable, 1: enable.
*o_wMode
[out]
Normal or silent operating mode of the assigned CAN port of the
I-7565M-HS device.
0: normal mode, 1: silent mode.
Return Value:
Return 0 means success, others means failure.
I-7565M-HS USB to CAN converter User Manual (version 1.0.0)
Copyright © 2018 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com
Page: 44

Advertisement

Table of Contents
loading

Table of Contents