CAN Receive Block

CAN Receive

The CAN Receive block reads messages from a given CAN bus and message type. In order to decode messages, first upload a DBC file for your expected CAN message format.

Outputs

  • One output for each "signal" defined in the chosen CAN message type.
  • isValid: A boolean representing whether the data is valid as determined by the Stale Age (ms) param

Parameters

  • Iface (default = can0): CAN bus for reading messages.
  • Can Message: CAN message type to read. This field will populate when a CAN database file is uploaded to Static Assets.
  • Stale Age Ms (default = 1000): Allowable amount of time between valid data packets. If new data is not received within this amount of time, the block will output Is Valid as False.

Examples