User`s guide

Vehicle Network Communication Examples
1-25
Set a filter for the message EngineMsg and display the channel:
filterAllowOnly(canch1, 'EngineMsg');
canch1
Summary of CAN Channel using 'Vector' 'CANcaseXL 1' Channel 1.
Channel Parameters: Bus Speed is 500000.
Bus Status is 'N/A'.
Transceiver name is ''.
Serial Number of this device is 0.
Initialization access is allowed.
'demoVNT_CANdbFiles.dbc' database is attached.
Status: Offline - Waiting for start.
0 messages available to receive.
0 messages transmitted since last start.
0 messages received since last start.
Filter History: Standard ID Filter: Allow Only | Extended ID Filter: Allow All
If you start the channel and receive messages, you should now only see the EngineMsg
pass through the filter.
Multiplex Signals
Use multiplexing to represent multiple signals in one signal's location in a CAN
message's data. A multiplexed message can have three types of signals:
Standard signal
This signal is always active. You can create one or more standard signals.
Multiplexor signal
Also called the mode signal, it is always active and its value determines which
multiplexed signal is currently active in the message data. You can create only one
multiplexor signal per message.
Multiplexed signal
This signal is active when its multiplex value matches the value of the multiplexor
signal. You can create one or more multiplexed signals in a message.
Multiplexing works only with a CAN database with message definitions that already
contain multiplex signal information. This example shows you how to access the different
multiplex signals using a database constructed specifically for this purpose. This
database has one message with these signals:
SigA: A multiplexed signal with a multiplex value of 0.