User`s guide
transmitEvent
12-53
transmitEvent
Configure messages for event-based transmission
Syntax
transmitEvent(canch, msg, state)
Description
transmitEvent(canch, msg, state) enables an event-based transmit of the CAN
message, msg, on the channel, canch when 'state' is On and disables it when 'state'
is Off.
Input Arguments
canch
The name of the CAN channel on which the specified message is enabled for event-based
transmit.
msg
The message enabled for event-based transmission on the specified CAN channel.
state
Specify whether event-based transmission is enabled on the specified message. Input On
to enable event-based transmission on the specified message, and Off for disabling it.
Examples
Construct a CAN channel and configure a message on the channel:
canch = canChannel('Vector', 'CANCaseXL 1', 1);
msg = canMessage(500, false, 4);