| Contents | Index |
transmitConfiguration(canch)
transmitConfiguration(canch) displays information about all messages in the CAN Channel, canch, configured for periodic transmit or event-based transmit.
For more information on periodic transmit of messages, refer to transmitPeriodic.
For more information on event-based transmit of messages, refer to transmitEvent.
canch |
Name of the CAN channel configured for periodic transmit or event-based transmit. |
Create a CAN channel and configure two messages:
canch = canChannel('Vector', 'Virtual 1', 1);
msg1 = canMessage(500, false, 8);
msg2 = canMessage(750, false, 8);
Transmit msg1 and msg2 using transmitEvent and transmitPeriodic respectively:
transmitEvent(canch, msg1, 'On'); transmitPeriodic(canch, msg2, 'On', 1);
Display messages on canch configured for periodic or event-based transmit:
transmitConfiguration(canch)
The function returns information about periodic configuration:
Periodic Messages ID Extended Name Data Rate (seconds) --- -------- ---- ---------------- -------------- 750 false 0 0 0 0 0 0 0 0 1.000000 Event Messages ID Extended Name Data --- -------- ---- ---------------- 500 false 0 0 0 0 0 0 0 0
canChannel | canMessage | transmitEvent | transmitPeriodic

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |