5.4.2 VCI_CloseCAN
This function is used to disable all CAN port function of
I-7565-H1/H2. After the CAN port function is disabled, it will not interfere
the communication of CAN bus network even if I-7565-H1/H2 is power on.
Syntax :
int
VCI_CloseCAN (
BYTE
DevPort
);
Parameter :
DevPort
:
[in] The virtual com port number
Return Values :
Return 0 means success, others means failure.
Examples :
Int Ret;
BYTE ComPort;
ComPort = 1;
Ret = VCI_CloseCAN(ComPort);
// Disable CAN port
I-7565-H1/H2 High Performance USB/CAN Converter User’s Manual (Ver 1.7, Aug/2011) ------------- 49