Convert-folder
Main command: help convert-folder
General convert format: convert-folder -I <input folder> -O <output folder>
Command Options
Purpose
Description
-I <input folder>
Specify input folder path containing RXD files.
-O <output folder>
Specify output target folder path.
-C (optional)
Set concatenation mode.
When -C is used, all converted data will be stored in the same output file (concatenated).
-F <type> <format>
Specify desired output type and internal file format.
Supported target conversion file types and formats are:
Supported target conversion file types and formats are:
mf4 for ASAM MDF4 file (*.mf4)
· asc for ASCII Logging File (*.asc)
· blf for Vector binary frames (*.blf)
· trc for Peak Can Trace File (*.trc)
· .0cst for Comma separated trace (*.cst)
· mat for Matlab 5.0 (*.mat)
· parquet for Apache Parquet (*.parquet)
· csv for Comma separated values (*.csv)
· csv InfluxDB for CSV line protocol file (*.csv) required for InfluxDB import
· csv Regional for unofficial CSV line protocol file (*.csv) using local regional settings for list separator and decimal separator
-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.
-E <encryption key>
(Optional)
Specify encryption key file.
Used for decrypting .rxe files.
-R <rate> <method>
Specify the resampling rate and method
Define the resampling rate in milliseconds and the method to use to obtain values:
· Near - to use the nearest sample by timestamp
· Last - last sample, which means the previous
-T<axis> <begin><end>
Specify the beginning and end parameters
Define the time axis sync initial sample timestamp source
· First - first sample in file
· Zero - zero seconds (0 sec)
Begin and End parameters can describe what to do before the initial sample in each channel and after the last sample in each channel. Optional values can be:
· nothing
· duplicate
Example:
To convert all the RXD files in a folder to asc, use the below script:
@echo off
CD C:\Program Files (x86)\Influx Technology\ReXdesk\&&rexdesk convert-folder -F “asc” -I “C:\Users\usern\Desktop\Input” -O “C:\Users\usern\Desktop\Output”
To merge and convert all the RXD files in a folder to CSV using the below script
@echo off
CD C:\Program Files (x86)\Influx Technology\ReXdesk\&&rexdesk convert-folder -C -F “csv” -I “C:\Users\user\Desktop\Input” -O “C:\Users\user\Desktop\Output”
To merge and convert all the RXD files in a folder to CSV after linking the DBC file, use the below script
@echo off
CD C:\Program Files (x86)\Influx Technology\ReXdesk\&&rexdesk convert-folder -C -F “asc” -I “C:\Users\user\Desktop\Input” -O “C:\Users\user\Desktop\Output” -s can0 “C:\Users\user\Desktop\ReXgen_IMU_Out_V2.dbc”
Last updated