The ADTF Calibration Toolbox delivers following ADTF File Plugins for XCP:
.dat
files containing XCP streams.adtfdat
to .mdf
files.adtffileplugin
can be found in:
$(CALIBTB)/bin
$(CALIBTB)/bin/debug
The adtf_calibtb_2_deserializer.adtffileplugin
can be used to convert ADTF 2.x .dat
containing XCP messages to a ADTF 3.x .adtfdat
file.
xcp_frame
streams$(ADTF_DIR)/pkg/adtf_file/bin/adtf_dattool.exe
--liststreams <*.dat filename >
--plugin $(CALIBTB)/bin/adtf_calibtb_2_deserializer.adtffileplugin
xcp_frame
stream from ADTF2 .dat
file to an ADTF3 .adtfdat
file$(ADTF_DIR)/pkg/adtf_file/bin/adtf_dattool.exe
--create <*.adtfdat filename>
--input <*.dat filename>
--stream <"name of stream">
--plugin $(CALIBTB)/bin/adtf_calibtb_2_deserializer.adtffileplugin
The mdf_xcp_signals_exporter.adtffileplugin
can be used to export a XCP stream from an .adtfdat
to a .mdf
file.
$(ADTF_DIR)/pkg/adtf_file/bin/adtf_dattool.exe
--export <*.adtfdat filename>
--plugin $(CALIBTB)/bin/mdf_xcp_signals_exporter.adtffileplugin
--stream <"name of stream">
--processorid mdf_xcp_signals
--output <*.mdf filename>
--property a2l=<*.a2l filename>
[--property stream_name_as_prefix=<'true | false', default = 'true'>]
[--property xcp_config=<*.xml filename>]
Property | Type | Description |
---|---|---|
a2l | filename | Path to the A2L file. |
stream_name_as_prefix | bool | If 'true' the streamname of the stream is used as signalname prefix. |
xcp_config | filename | Path to an .xml file descriping the xcp configuration. Only necessary, if the stream_meta_type_xcp_frames isn't containing the xcp_config information. This will occur, when the stream was not recorded by ADTF (e.g. it's a TDMS record) |