User`s guide

transmitPeriodic
12-55
transmitPeriodic
Configure messages for periodic transmission
Syntax
transmitPeriodic(canch, msg, 'On', period)
transmitPeriodic(canch, msg, 'Off')
Description
transmitPeriodic(canch, msg, 'On', period) enables periodic transmit of the
message, msg, on the channel, canch, to transmit at the specified period, period.
transmitPeriodic(canch, msg, 'Off') disables periodic transmit of the message,
msg, on the channel, canch.
Input Arguments
canch
The name of the CAN channel on which the specified message is enabled for periodic
transmit.
msg
The message enabled for periodic transmission on the specified CAN channel.
'state'
Specify whether periodic transmission is enabled on the specified message. Input On for
enabling periodic transmission on the specified message and Off to disable it. If you
enable periodic transmission, specify a period value.
period
Specify a period in seconds. This value is used to transmit the message in the specified
period. By default this value is 0.500 seconds.