Help command: help convert-file
General convert format: convert-file -I <input file> -O <output file>
To convert an RXD file to asc, use the below script:
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:
CD C:\Program Files (x86)\Influx Technology\ReXdesk\&&rexdesk convert-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 script below:
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”
To convert an RXD file to CSV after linking the DBC file and resampling, use the below script:
CD C:\Program Files (x86)\Influx Technology\ReXdesk\&&rexdesk convert-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” -r 1000 near -t first duplicate duplicate
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 configuration (.xml), 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)
· Peak Can Trace File (*.trc)
· Matlab 5.0 (*.mat)
Comma Separated Values (*.csv)
-F <format>
(Optional)
Specify the 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.
Regional - unofficial csv file format. This one uses local regional settings for the 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.
-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 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
Location of Exe is: C:\Program Files (x86)\Influx Technology\ReXdesk
Command to bring up the Help section
Help command: rexdesk help
CD C:\Program Files (x86)\Influx Technology\ReXdesk\&&rexdesk help (opens the ReXdesk console mode help screen)
Command
Purpose
Description
help convert-file
convert-file
Convert XML configuration to ReX configuration (*.rxc) or RXD data file to other data files
help convert-folder
convert-folder
Batch convert the RXD data file to other data files
help configure
configure
Send the configuration to the ReXgen device
help reflash
reflash
Reprogram ReXgen with new firmware
help format
format
Clear ReXgen internal storage
help
help
Display the Current help screen
Help command: help convert-folder
General convert format: convert-folder -I <input folder> -O <output folder>
To convert all the RXD files in a folder to asc, use the below script:
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
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
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”
To convert an RXD file to CSV after linking the DBC file and resampling, use the below script:
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” -r 100 near -t first duplicate duplicate
Command Options
Purpose
Description
-I <input file>
Specify input file path.
Supported formats are: ReXgen Firmware (*.zip)
Command Options
Purpose
Description
-I <input file>
Specifythe input file path.
Supported formats are: ReX configuration (*.rxc)
Command Options
Purpose
Description
-I <input folder>
Specify the input folder path containing RXD files.
-O <output folder>
Specify output target folder path.
-C (optional)
Set concatenation mode.
All converted data will be stored in the same output file (concatenated) when- C is used.
-F <type> <format>
Specify the desired output type and internal file format.
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)
· mat for Matlab 5.0 (*.mat)
· 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 the 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 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