candbc_ccp_set

Purpose:

Update a particular parameter at a specific rate.

Enter:

candbc_ccp_set <variable_name> <sendInterval> [-c=n] [value] [name=regname]

Where:

variable_name

Specify a variable name as listed in the *.dbc file.

sendInterval

Specify the delay time between messages in milliseconds:

  • Specify 0 to disable delay time.
  • Specify an integer < 20 to send a message once and then disable delay time.
  • Specify an integer >= 20 to send a message at the specified value intervals.

-c

Optional. Specify the channel number (0 or 1).

value

Optional. Specify a value to send and download. If value is not specified, the current value of the variable will be used.

name

Optional. Specify the registered CanDbc name.

Example:

candbc_set rpmd_gov 1 950
Send the message on the default channel.

candbc_set rpmd_main 1000 -c=1
Send the message on the second channel.

Notes:

Channel number must be 0 or 1. Invalid values will cause an error.

See Also:

Can Bus Interface Setup and Use