C2xEnableMsg
CAPL Functions » Car2x » C2xEnableMsg Valid for: CANoe DEFunction Syntax
long C2xEnableMsg (char* dbMessage); //form 1long C2xEnableMsg (char* dbMessage, char* stationName); //form 2long C2xEnableMsg(long packetHandle); // form 3long C2xEnableMsg (char stationName[], long packetHandle); // form 4
Description
Enables a message for which the database attribute Send Type is Cyclic or CyclicIfActive in the database for cyclic sending. The function has no effect for messages with Send Type NoMsgSendType.Parameters
- dbMessage: Name of the message to be enabled
- stationName: Name of the sending station
- packetHandle: Packet handle of the message to be enabled.
Return Values
- 0: Success
- ≠0: Error code