29.10.2012 Aufrufe

Fibex-Import Wrapper Fibex-Import Wrapper - crst.de

Fibex-Import Wrapper Fibex-Import Wrapper - crst.de

Fibex-Import Wrapper Fibex-Import Wrapper - crst.de

MEHR ANZEIGEN
WENIGER ANZEIGEN

Sie wollen auch ein ePaper? Erhöhen Sie die Reichweite Ihrer Titel.

YUMPU macht aus Druck-PDFs automatisch weboptimierte ePaper, die Google liebt.

Münchener Str. 4a<br />

D-82131 Gauting<br />

Tel. +49-89-8931043/45<br />

E-Mail: contact@<strong>crst</strong>.<strong>de</strong><br />

Web: www.<strong>crst</strong>.<strong>de</strong><br />

FIBEX-<strong>Import</strong> <strong>Wrapper</strong><br />

API Documentation<br />

Überblick<br />

FIBEX (Field Bus Exchange Format) ist ein standardisiertes XML-Format zur Beschreibung komplexer,<br />

nachrichtenorientierter Kommunikationssysteme, wie z.B. Fahrzeug-Bordnetzwerke. Mit Hilfe dieses<br />

Austauschformates können Daten zwischen Design-, Konfigurations-, Simulations- und Monitoring-<br />

Tools ausgetauscht wer<strong>de</strong>n.<br />

Der FIBEX-<strong>Import</strong> <strong>Wrapper</strong> ist ein Programmpaket, das die Integration von FIBEX XML Dateien in<br />

eigene Java-Programme wesentlich erleichtert. Das Paket besteht aus einer FIBEX-<strong>Wrapper</strong> DLL,<br />

einer FIBEX-<strong>Wrapper</strong> Klasse und weiteren Klassen, die die FIBEX-Datei abbil<strong>de</strong>n.<br />

Der FIBEX-<strong>Import</strong> <strong>Wrapper</strong> stellt Funktionen zum <strong>Import</strong> sowie zur Auswertung einer FIBEX XML-<br />

Datei zur Verfügung. Unterstützt wer<strong>de</strong>n FlexRay, CAN, MOST und LIN. Die in einer FIBEX-XML<br />

Datei enthaltenen Informationen wer<strong>de</strong>n <strong>de</strong>m Anwen<strong>de</strong>r in Form von verketteten Objekten zur<br />

Verfügung gestellt. Weitere Funktionen erleichtern <strong>de</strong>n Umgang mit FIBEX. So liefert z.B. die Funktion<br />

FxGetTree mit nur einem Aufruf eine komplette Baumansicht <strong>de</strong>r FIBEX-Datei. Des weiteren steht für<br />

die Hardware-Konfiguration die Funktion FxGetCHI zur Verfügung. Mit dieser Funktion wer<strong>de</strong>n alle<br />

FlexRay-Parameter aus <strong>de</strong>r FIBEX-Datei in eine CHI-Datei (MFR4300, ERay) übertragen.<br />

Mitgelieferte Beispiele in Java erleichtern die Integration in eigene Programme.<br />

FIBEX-<strong>Import</strong> <strong>Wrapper</strong> Version 1.2<br />

Der FIBEX-<strong>Import</strong> <strong>Wrapper</strong> stellt folgen<strong>de</strong> Funktionen zur Verfügung:<br />

FxLoad<strong>Fibex</strong>File();<br />

FxGetProject();<br />

FxGetClusters();<br />

FxGetChannels();<br />

FxGetGateways();<br />

FxGetECUs();<br />

FxGetFrames();<br />

FxGetFunctions();<br />

FxGetSignals();<br />

FxGetComposites();<br />

FxGetPhysicalDimensions();<br />

FxGetUnits();<br />

FxGetCodings();<br />

FxGetPortReqs();<br />

FxGetFunctionRegs();<br />

FxGetSignalGroups();<br />

FxFreeMemory();<br />

FxGetDllInfos();<br />

FxGetErrorText();<br />

FxValidate();<br />

FxGetDescription();<br />

FxGetCHI();<br />

FxGetTree();<br />

Schematische Darstellung Integration FIBEX in Eclipse<br />

System-Voraussetzungen<br />

● FIBEX-<strong>Import</strong> DLL Version 2.0<br />

Verfügbarkeit<br />

● Der FIBEX-<strong>Import</strong> <strong>Wrapper</strong> Version 1.2 ist ab Lager verfügbar<br />

FIBEX-<strong>Import</strong> <strong>Wrapper</strong> V 1.2 Datenblatt (9/2007) Seite 1 CRST Ges. für Software und Systeme mbH


FIBEX-<strong>Import</strong> <strong>Wrapper</strong><br />

Overview<br />

FIBEX (Field Bus Exchange Format) is a standard XML-Format to <strong>de</strong>scribe complex message based<br />

communication systems, e.g. vehicle communication databases. Based on this XML data format the<br />

data exchange between <strong>de</strong>sign, configuration, simulation and monitoring tools is an easy task.<br />

The FIBEX-<strong>Import</strong> <strong>Wrapper</strong> is software package, which significantly simplifies the integration of FIBEX<br />

XML files into Java programs.<br />

The FIBEX-<strong>Import</strong> <strong>Wrapper</strong> <strong>de</strong>livers functions for import and using the content of a FIBEX XML file, it<br />

supports FlexRay, CAN, MOST und LIN.The information contained in a FIBEX XML file is presented<br />

to the caller in form of linked objects. Additional functions simplify reading FIBEX files. The FxGetTree<br />

function e.g. returns (with only one call) a complete tree of the FIBEX file. The FxGetCHI function<br />

simplifies the configuration of embed<strong>de</strong>d FlexRay hardware, it converts the FlexRay parameter out of<br />

the FIBEX file into a corresponding CHI file for the MFR4300 or ERay communication controller.<br />

Several examples simplify the integration into own software modules.<br />

FIBEX-<strong>Import</strong> <strong>Wrapper</strong> Version 1.2<br />

The FIBEX-<strong>Import</strong> <strong>Wrapper</strong> supplies the following functions:<br />

FxLoad<strong>Fibex</strong>File();<br />

FxGetProject();<br />

FxGetClusters();<br />

FxGetChannels();<br />

FxGetGateways();<br />

FxGetECUs();<br />

FxGetFrames();<br />

FxGetFunctions();<br />

FxGetSignals();<br />

FxGetComposites();<br />

FxGetPhysicalDimensions();<br />

FxGetUnits();<br />

FxGetCodings();<br />

FxGetPortReqs();<br />

FxGetFunctionRegs();<br />

FxGetSignalGroups();<br />

FxFreeMemory();<br />

FxGetDllInfos();<br />

FxGetErrorText();<br />

FxValidate();<br />

FxGetDescription();<br />

FxGetCHI(); Example: FIBEX Integration into Eclipse<br />

FxGetTree();<br />

System-Preconditions<br />

• FIBEX-<strong>Import</strong> DLL Version 2.0<br />

Availability<br />

• The FIBEX-<strong>Import</strong> <strong>Wrapper</strong> Version 1.2 is available on stock.<br />

FIBEX-<strong>Import</strong> <strong>Wrapper</strong> V 1.2 Datasheet (9/2007) Seite 2 CRST Ges. für Software und Systeme mbH

Hurra! Ihre Datei wurde hochgeladen und ist bereit für die Veröffentlichung.

Erfolgreich gespeichert!

Leider ist etwas schief gelaufen!