REXGEN 1REXGEN 2REXGEN 2 IMU GNSSSoftware

REXGEN: live CAN with SavvyCAN

Updated

Use your REXGEN logger as a live CAN interface for SavvyCAN, a free CAN analysis tool. Watch the bus in real time, decode it with a DBC file and send your own frames. It works with REXGEN 1, REXGEN 2 and REXGEN 2 IMU GNSS.

Before you start

There are two ways to connect: directly over QT SerialBus, or through the J2534 driver. Use the direct route unless your logger's firmware is older than 2.18.

Connect directly over QT SerialBus

  1. Open the connection window. On the Connection menu, select Open Connection Window.
  2. Add a connection. Select Add New Device Connection.
  3. Choose the REXGEN device. Set Connection Type to QT SerialBus Devices, SerialBus Device Type to ReXgen and Port to CAN 0 (or the channel you want). Select Create New Connection.
    SavvyCAN New Connection dialog with QT SerialBus Devices selected, SerialBus Device Type set to ReXgen and Port set to CAN 0
  4. Set the bit rate. Select the new device in the list, choose the bus Speed and select Save Bus Settings.
    SavvyCAN Connection Settings with one SerialBus ReXgen device on CAN 0 showing Connected, Speed set to 250000 and the Save Bus Settings button
    The device shows Connected once you save the bus settings.
  5. Watch the trace. CAN frames start to appear in the main window.
  6. Enable Overwrite Mode. In the main window, tick Overwrite Mode. It keeps SavvyCAN stable on a busy bus.
SavvyCAN main window listing four received frames on bus 0 with timestamps, IDs 0x201, 0x230, 0x200 and 0x428, lengths and data bytes
Live CAN frames from a REXGEN logger in SavvyCAN.

Connect through the J2534 driver

This route uses the REXGEN J2534 driver, so install it first. See REXGEN: use the logger as a J2534 pass-thru interface.

  1. Add a connection. Open the connection window and select Add New Device Connection.
  2. Choose the pass-thru device. Set Connection Type to QT SerialBus Devices, SerialBus Device Type to passthrucan and Port to Rexgen. Select Create New Connection.
    SavvyCAN Connection Settings with the New Connection dialog open: QT SerialBus Devices selected, SerialBus Device Type passthrucan and Port Rexgen
  3. Set the bit rate. Choose the Speed. A change of speed deselects the device. Select the device again, then select Save Bus Settings.
  4. Watch the trace. When the connection is live, SavvyCAN starts collecting CAN messages.

Decode live data with a DBC file

  1. Open the DBC manager. On the File menu, select DBC File Manager.
  2. Load your DBC file. Select Load and open the file. Loaded files appear in the list. Close the window.
  3. Decode the frames. In the main window, tick Interpret Frames and select Expand All Rows. Each frame now shows its decoded signals.
    SavvyCAN side panel with the Interpret Frames tick box and the Expand All Rows button highlighted, and Overwrite Mode ticked above them

New to DBC files? Read understanding CAN DBC.

Send your own CAN frames

  1. Open the frame sender. On the Send Frames menu, select Custom. The Frame Sender window opens.
  2. Enter the message. Fill in one row per frame:
    • Bus: 0 or 1.
    • ID: the CAN identifier. Put 0x in front if you enter it in hexadecimal.
    • Len: the number of data bytes.
    • Data: the bytes, for example 0x02 0x01 0x0C.
    • Trigger: when to send it, for example every 100ms.
    • Modifications: advanced options. See the SavvyCAN documentation.
  3. Start sending. Tick En on the row.
SavvyCAN Frame Sender with one enabled row on bus 0, ID 0x7DF, length 3, data 0x02 0x01 0x0C and trigger 100ms; above it the trace shows the request going out on 0x7DF and an answer 04 41 0C on 0x7E8
The example frame is an OBD-II engine speed request, and the engine ECU answers on 0x7E8.

To record OBD-II parameters on the logger itself, without a PC, see REXGEN: log OBD2 Mode 1 PIDs.

Products in this guide

REXGEN 1

Vehicle black box

View REXGEN 1 Ask an engineer

REXGEN 2

Evidence data logger

View REXGEN 2 Ask an engineer

REXGEN 2 IMU GNSS

Motion & location data logging

View REXGEN 2 IMU GNSS Ask an engineer

Still stuck?

Our engineers answer support questions on every Influx Technology product.