candbc_ccp_set

Purpose:

Instruct the CanDbc Driver to update a particular parameter at a specific rate.

Enter:

candbc_ccp_set <variable_name> <sendInterval> [value] [-C=n]

Where:

variable_name

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

sendInterval

Specify 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.

value

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

-C

Optional. Specify the channel if both channels on are being used on an AC2 Card and the same CAN message can be sent from both channels.

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:

 

See Also:

Can Bus Interface Setup and Use