Sanjana25
Sanjana25

Reputation: 11

Disable particular Node in CANoe using CAPL

I am trying to disable a particular message of a node from sending default values available in dbc file, and through capl i need to transmit new(dummy) values. I found the function ILNodeControlStop(), which blocks the node completely, but i want to block only one message and not block the entire node.

How to disable an ECU node from sending a message from IL?

Upvotes: 1

Views: 2206

Answers (1)

mspiller
mspiller

Reputation: 3857

You can use

ILDisableMsg(<messageName>);

to disable the message and

ILEnableMsg(<messageName>);

to enable it again.

All this assuming, that you are using the CANoe interaction layer.

Upvotes: 0

Related Questions