LogoLogo
Home
  • 🏠Home
  • Rexgen_XML_Examples
  • GNSS Data Transmission Over CAN Bus.
  • GNSS Data Recording & Transmission Over CAN Bus.
  • ADC Data Transmission Over CAN Bus.
  • ADC Data Recording & Transmission Over CAN Bus.
  • IMU Data Transmission Over CAN Bus.
  • IMU Data Recording & Transmission Over CAN Bus.
  • RTC Data To CAN Bus
  • Gateway Routing CAN0 to CAN1.
  • Gateway Routing CAN0 Signal to CAN1.
Powered by GitBook
On this page
  • Documentation
  • Default Settings
Export as PDF

Gateway Routing CAN0 to CAN1.

PreviousRTC Data To CAN BusNextGateway Routing CAN0 Signal to CAN1.

Last updated 1 year ago

In this example, we will see how we can configure a ReXgen data logger to route all the CAN traffic from CAN 0 Bus to CAN 1 Bus

Documentation

Below image shows how each element are linked in the XML file.

image

They are connected using Unique IDs (UID).

Default Settings

  • CAN Baud Rate: 500 Kbps

  • All CAN IDs are Routed

The following parameters can be modified by editing the XML as required.

Modifying CAN Baud Rate:

Edit the value of the CANBusSpeed element in the XML file under the CAN interface block. Value has to be specified in bps

<CANINTERFACE UID="4">
        <Type>CAN</Type>
        <PhysicalNumber>0</PhysicalNumber>
        <CANBusSpeed>500000</CANBusSpeed>
        <CANFDBusSpeed>8000000</CANFDBusSpeed>
        <CANFDNonISO>false</CANFDNonISO>

Users can load the XML file into the ReXgen logger using the ReXdesk application/ReXdesk Convert application or the Rxlibrary DLL.

The process to send XML to logger using ReXdesk. Click on Config Menu > Run > Run Config Using External File > Browse the XML file and click Open.

GitHub link

XML file

DBC file