Skip to content

Purpose of "mux criteria" of the C++ example? #87

Answered by xR3b0rn
mf01 asked this question in Q&A
Discussion options

You must be logged in to vote

In addition to normal signals, DBC also offers an opportunity to specify a multiplexer signal and multiplexed signals in messages. If a multiplexer signal is specified in a message, the multiplexer signal determines which multiplexed signals are in the frame.

E.g. from tests/test_files/dbc/multiplex.dbc:

BO_ 2148676694 Message1: 8 Vector__XXX
 SG_ BIT_K m24 : 28|1@1+ (1,0) [0|0] "" Vector__XXX
 SG_ BIT_D m24 : 32|1@1+ (1,0) [0|0] "" Vector__XXX
 SG_ BIT_B m24 : 33|1@1+ (1,0) [0|0] "" Vector__XXX
 SG_ BIT_F m24 : 39|1@1+ (1,0) [0|0] "" Vector__XXX
 SG_ BIT_H m24 : 38|1@1+ (1,0) [0|0] "" Vector__XXX
 SG_ BIT_E m24 : 29|1@1+ (1,0) [0|0] "" Vector__XXX
 SG_ BIT_A m24 : 26|1@1+ (1,0) [0|0] "" …

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by xR3b0rn
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@MichaelBMiner
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants