candbc_ccp_get

Purpose:

Perform a short upload request using CCP protocol at a specified rate.

Enter:

candbc_ccp_get <Variable_Name> <Interval> [index] [-c=n] [name=regname]

Where:

Variable_Name

Specify the Signal Variable declared in the *.dbc file. 

Interval

Specify a delay time between requests in milliseconds:

  • Specify 0 for no delay time.
  • Specify an integer <20 to request the data once.
  • Specify an integer >= 20 to request the data every n milliseconds.

index

Optional. Specify an index to send repeated messages at different times. The default is 0.

-c

Optional. Specify the channel number (0 or 1) if both channels are in use.

name

Optional. Specify the name of the registered CanDbc to send the command to.

Example:

candbc_ccp_get FPP_pci 50
The above example updates the variable every 50 milliseconds.

candbc_ccp_get rpmd_gain 1000 -c=1
The above example updates the variable on the second channel.

Notes:

 

See Also:

CAN Bus Interface Setup and Use