canfd_clear

Purpose:

Instruct the CanFD Driver to clear the list of messages it was sending.

Enter:

canfd_clear [-c=n] [name=xxx] [id=xxx]

Where:

-c

Optional. Specify the channel list to clear. The default is to clear both lists.

name Optional. Specify the register name.
id Optional. Specify the message ID or name to clear.

Example:

canfd_clear
Stop sending all messages on the default channel as long as CanFD was not started with the ‘name=’ argument.

canfd_clear  -c=1
Stop sending all messages on the second channel.

canfd_clear name=CanFD2
Stop sending all messages on the default channel with a CanFD task started with the register name “CanFD2”.

canfd_clear name=CanFD2 -c=0 id=23456789
Stop sending the message with ID 23456789 on channel 1 with a CanFD task started with the register name “CanFD2”.

canfd_clear name=CanFD2 -c=1 id=can_message1
Stop sending the message with the name “can_message1” on channel 2 with a CanFD task started with the register name “CanFD2”.

Notes:

This utility requires the CanFD driver to be running.

See Also:

CanFD