candbc_ccp_get

Purpose:

Instruct the CanDbc Driver to upload a request using CCP protocol at a particular Rate.

Enter:

candbc_ccp_get <Variable_Name> <Interval> [index] [-C=n]

Where:

Variable_Name

Specify the Signal Variable declared in the *.dbc file. When the CanDbc driver is started it will create any required variables if they were not already created.

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 if both channels on are being used on an AC2 Card and the same CAN message can be sent from both channels.

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