Convert-file

Main command: help convert-file

General convert format: convert-file -I <input file> -O <output file>

Command Options

Purpose

Description

-I <input file>

Specify input file path.

Supported formats are XML (for configuration) and RXD (for data file conversion)

-O <output file>

Specify output target file path.

If the input file is a configuration (.xml) file, the output file format should be .rxc. If the input file is a data file (.rxd), supported output formats are:

· ASAM MDF4 file (*.mf4)

· ASCII Logging File (*.asc)

· Vector binary frames (*.blf)

· Matlab 5.0 (*.mat)

· Comma delimited (*.csv)

-F <format>

(Optional)

Specify desired internal file format.

Applicable for CSV file type. Supported formats are:

DiaLOG - file format structured for DiaLOG import (default).

InfluxDB - file format structured for InfluxDB import.

-S <bus> <signal file>

(Optional)

Attach signals to specific can bus.

It can be used multiple times for each bus.

· Parameter <bus> should be the name of the bus - can0, can1...

· Parameter <signal file> should be the signal file path. Supported file formats are DBC only.

Example:

To convert an RXD file to asc, use the below script:

@echo off

CD C:\Program Files (x86)\Influx Technology\ReXdesk\&&rexdesk convert-file -I “C:\Users\user\Desktop\Input\New Project_ReXgen0000049_20210702_113743.rxd” -O “C:\Users\user\Desktop\Output\Converted.asc”

To convert an RXD file to CSV after linking a DBC file, use the below script:

@echo off

CD C:\Program Files (x86)\Influx Technology\ReXdesk\&&rexdeskconvert-file -I “C:\Users\user\Desktop\Input\IMU_out_0000007_20211116_185402.rxd” -O “C:\Users\user\Desktop\Ouput\Converted.csv” -s can0 “C:\Users\user\Desktop\ReXgen_IMU_Out_V2.dbc”

To convert an XML configuration file to rxc, use the below script:

@echo off

CD C:\Program Files (x86)\Influx Technology\ReXdesk\&&rexdesk convert-file -I “C:\Users\user\Desktop\Input\New Project_ReXgen0000049_20210702_113743.xml” -O “C:\Users\user\Desktop\Output\Config.rxc”

Last updated