commit | c4a4b5ae77bf96abe634caf065ea90852c230bef | [log] [tgz] |
---|---|---|
author | Markus Renner <m.renner@peak-solution.de> | Fri Jun 12 13:55:09 2020 +0200 |
committer | Markus Renner <m.renner@peak-solution.de> | Wed Dec 09 11:56:14 2020 +0100 |
tree | 1059f6020dd7c896736fbd241689bab3c1d21866 | |
parent | de722e2d9ffe55c2dcd2d39cacd94db5dcaf2bdc [diff] |
added support for array composition and several improvements - implemented CABLOCK - only array composition at CNBLOCKs is supported yet, no structure-based composition - when a CABLOCK is linked via the composition link from a CNBLOCK, the resulting AoMeasurementQuantity in ODS will have specified the rank and dimension attributes accordingly, as specified by the ODS standard - an additional attribute ('columnOriented' of type boolean at AoMeasurementQuantity) is also set, containing the information, whether the channel's value tensor has to be interpreted in a row- or column-oriented manner, when calculating the actual values from it - support for half-precision floating point data type - fixed local column creation: independent and axistype are now set according to SyncType and not ChannelType - added BlockReferenceTriple for handling of according references in mdf files - fixed misleading names of fields in CABLOCK - support default values at scale conversions with CCBLOCKS Signed-off-by: Markus Renner <m.renner@peak-solution.de>
Copyright (c) 2015-2020 Contributors to the Eclipse Foundation
See the NOTICE file(s) distributed with this work for additional information regarding copyright ownership.
This program and the accompanying materials are made available under the terms of the Eclipse Public License v. 2.0 which is available at http://www.eclipse.org/legal/epl-2.0.
SPDX-License-Identifier: EPL-2.0
Author: Christian Rechner, AUDI AG
This application allows accessing the content of an MDF3/MDF4 file via an ASAM ODS Session, backed by an ATFX-File, and the export of this file. The file contents including Meta-Data are transformed to the ASAM ODS standard and can be accessed using ASAMs OO-API.
import java.nio.file.Path; import java.nio.file.Paths; import org.asam.ods.AoSession; import org.omg.CORBA.ORB; import de.rechner.openatfx_mdf.ConvertException; import de.rechner.openatfx_mdf.MDFConverter; public class Example{ public static void main(String[] args) throws ConvertException{ ORB orb = ORB.init(new String[0], System.getProperties()); Path path = Paths.get("C:\\myExample.mf4"); MDFConverter reader = new MDFConverter(); AoSession aoSession = reader.getAoSessionForMDF(orb, path); } }