Function Reference
25
void CanEnableReceive(int handle);
Parameters
handle : handle retrieve from CanOpen-
Driver()
Return Value
none
Remarks
Call this function to enable receive.
Any packet on the network that can induce
a interrupt on your computer. If that packet
can pass your acceptance code and accep-
tance mask setting. So if your program
doesn’t want to be disturbed. You can call
CanDisableReceive() to disable receive
and CanEnableReceive() to enable
receives.
See Also
CanDisableReceive()
Usage
none
CanDisableReceive()
Purpose
Disable receive of a CAN port.
Prototype
C/C++
void CanEnableReceive(int handle);
Parameters
handle : handle retrieve from CanOpen-
Driver()
Return Value
none
Remarks
Please refer the CanEnableReceive()
See Also
CanEnableReceive()
Usage
none
CanSendMsg()
Purpose
Send can packet to a port
Prototype
C/C++
int CanSendMsg(int handle, CAN_PACKET
*packet);
Parameters
handle : handle retrieve from CanOpen-
Driver()
Packet : CAN_PACKET data
Return Value
Return 0 is successful
Summary of Contents for NuCOM cPCI-7841
Page 4: ......
Page 14: ...6 Introduction ...