Instrument Panel select Signal of node with range

Professional Windows® software to communicate with CAN and CAN FD busses and its add-ins: Plotter, CANdb Import, Instruments Panel, and J1939
Post Reply
bkiepke
Posts: 10
Joined: Fri 22. Oct 2021, 13:31

Instrument Panel select Signal of node with range

Post by bkiepke » Wed 31. May 2023, 10:41

If a symbol is defined in a symbol file as follows:

[Vert_X28_NMT_HEARTBEAT]
ID=750h-751h
DLC=1
Var=s NMTState 0,7
Var=reserved unsigned 7,1

so it does contain a range as ID, how can a signal of a specific node be selected within a intrument panel?
PCANExplorer_InstrumentPanel_Select_Signal_of_node.png
PCANExplorer_InstrumentPanel_Select_Signal_of_node.png (65.16 KiB) Viewed 279 times

User avatar
U.Wilhelm
Sales & Support
Sales & Support
Posts: 1546
Joined: Fri 10. Sep 2010, 19:34

Re: Instrument Panel select Signal of node with range

Post by U.Wilhelm » Wed 31. May 2023, 12:01

If you define a Symbol like this

Code: Select all

[Vert_X28_NMT_HEARTBEAT]
ID=750h-751h
DLC=1
Var=s NMTState 0,7
Var=reserved unsigned 7,1
The Signal "s" is always the same ! If you reciece ID0x750 with valid Data, the signal "s" is set, if your receive ID0x751with valid Data the signal "s" will also be set.

See Symbol Documentation inside the PE6 Online Help.

Code: Select all

// The following symbol matches all received messages that have a
// CAN ID in the range 300h to 400h and length 5

[RcvSymbol]
ID=300h-400h
Len=5
Sig=BitfieldValue 0
Sig=MotorolaValue 16
Sig=EnumValue     32

If you want seperateted Signals, you need to define seperated Symbols.

Code: Select all

[Vert_X28_NMT_HEARTBEAT_1]
ID=750h
DLC=1
Var=s NMTState 0,7
Var=reserved unsigned 7,1

[Vert_X28_NMT_HEARTBEAT_2]
ID=751h
DLC=1
Var=s NMTState 0,7
Var=reserved unsigned 7,1
--------------------------------
PEAK-System Technik
Technical Support Team
support@peak-system.com
-------------------------------

Post Reply