REXGEN 1REXGEN 2REXGEN 2 IMU GNSSREXGEN AirREXGEN ProGetting started

REXGEN: record a CAN trace and export it to BLF, ASC or MDF4

Updated

Record every frame on a CAN bus with any REXGEN logger, then download the trace and convert it to BLF, ASC, MDF4 or another format. You need REXDESK installed and the logger connected to the bus and to your PC.

Before you start

Build a Log All configuration

  1. Add Log All to each bus. Drag Log All from the Tools panel onto each CAN bus you want (CAN0 to CAN3) or onto LIN. Use only the channels your logger has.
    REXDESK Tools panel on the left and Configuration panel on the right, with arrows showing the CAN Log All tool dragged onto CAN0, CAN1, CAN2 and CAN3 and the LIN Log All tool dragged onto LIN
    Drag Log All onto each bus. A Bus icon appears beside it.
  2. Set the bit rate. Select the Bus icon. Choose the Type (CAN or CAN FD) and the CAN speed, plus the CAN FD speed for a CAN FD bus. If the logger must not acknowledge frames, tick Silent Mode. Select OK.
    Bus settings window with Type set to CAN, a Silent Mode box, CAN speed choices from 100 kbit to 1000 kbit and a greyed CAN FD speed of 8 Mbit
    CAN FD speed is available only when the type is CAN FD.
  3. Limit the file size. Select Storage under Device Configuration and choose the Max Logging Time and Max Log Size. A new file starts when the log reaches either limit.
    Storage settings with Max Logging Time set to 1 hour and Max Log Size set to 100 MB
  4. Send the configuration. Connect the logger and select Run on the toolbar. When REXDESK asks, save the project.

Check that it is logging

  1. Check the LEDs. The LED for each configured bus turns solid once the configuration is active.
  2. Connect the bus. When the logger sees traffic, the LED starts blinking to show that it is logging.
  3. Check the file times. In Internal Storage, check that a new log file appears with sensible start and end times. If the times are wrong, set the clock with Set Time.

Watch: Set up REXGEN series to record CAN data (1:19)

Download and convert the trace

  1. Open the log. Select Internal Storage, select the log file, then open the Download menu.
    Internal Storage window listing one log file with its start time, end time and size, and the Download menu open showing ReX data, ASAM MDF, ASCII logging file, Vector binary frames, Matlab, comma delimited and Advanced
    Each format converts in one step, and Advanced opens every export option.
  2. Choose how to download. Select a format to download straight away, or select Advanced to open the Export data window.
  3. Set the output. In Export data, choose the Output format and the Output location, then select Process.
    Export data window, General page, with the Output format list open on Vector binary frames and an Output location field with a Browse button

Watch: Retrieve raw data from a REXGEN series (0:52)

Which format to choose

From the logger's storage to analysis formats DATA · FILE FLOW From the logger's storage to analysis formats Logger storage SD card or eMMC Raw log file RXD or IVD Export configuration software Raw CAN frames ASC BLF MDF4 Decode with a DBC optional step Physical values MDF4 CSV MAT Files reach the PC over USB, through a card reader or over the air, depending on the product. A dashed box is an optional step. Which formats are offered depends on the product and the software version: the product guide lists them.
REXDESK export formats
Format File Use it for
ReX data .rxd The raw log as the logger wrote it
Vector binary frames .blf Raw frames for Vector tools
ASCII logging file .asc Raw frames as readable text
ASAM MDF4 .mf4 Raw frames, or decoded signals with a DBC file
MATLAB .mat Decoded signals for MATLAB
Comma delimited .csv Decoded signals for spreadsheets
ReX XML structure .xml The log as XML

To decode signals with a DBC file, merge files or resample, see REXDESK: download and export your logs. To analyse MDF4 files further, see Analyse REXGEN MF4 files in asammdf.

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

REXGEN Air

CAN to cloud

View REXGEN Air Ask an engineer

REXGEN Pro

Edge data platform

View REXGEN Pro Ask an engineer

Still stuck?

Our engineers answer support questions on every Influx Technology product.