OTX - Construction & Libraries
The OTX data model is essentially the core language (core) and in various functional extensions (libraries) divided. The following figure provides an overview of the term structure of OTX and its various standardized extension libraries. The OTX Core defined only for the extensions to the extension mechanism to engage the various libraries. OTX is the core principle was operated alone. OTX a compatible execution system needs to know how the individual elements of OTX on the runtime environment of the diagnostic application to be mapped (eg representation of the message dialog OTX activity or execution of diagnostic services).
OTX Architektur - Schnittstellen & Erweiterungen
Libraries
The libraries extend the core to a defined set of additional functionalities. Users can even create their own libraries, but these are not a part of the standard. For new data types, activities or phrases to use all the extensions in the core defined extension points. The picture above gives an overview of the key interfaces and extension libraries of OTX. Below that implemented libraries are briefly described.
DiagCom
The library provides DiagCom OTX elements for the off-board communication with the vehicle. The construction of the library allows to support in principle any diagnostic runtime system. However, it is the use of a standardized MVCI server recommended. The following tasks are covered by the library:
- Management there Kommunikationskanäle
- Execution of diagnostic services
- Set the request parameters and the evaluation of the response parameters
- Management of the positive and negative responses
- Management of Kommunikationsparameter
- Implementation of a variant identification
- Support functional addressing
Environment
The Environment Library regulates functions for communication with the environment (for example, within the test framework), with the operating system or other applications.
Event
The event library provides OTX to a system for the detailed control of events to interact with the outside world. We distinguish between events that are outside of the diagnostic sequence - for example, click the user or a timer has expired - and that occur within the process - such as changing a variable. The event handling in OTX is always in sync and never asynchronously. This means that a mechanism is used, which waits for the occurrence of these events and sequentially processed. In the event library the following elements are provided:
- event source - generation of events
- Event - event is generated by source and encapsulates all the information about the event.
- WaitForEvent - synchronization point - a current diagnosis sequence will stop and wait for specific events.
Flash
The flash library provides specific instructions for the authorized programming, see flashing, to control units available. It supports access to data types, terms and activities for reading typically present in ODX Flash sessions. A session contains any number of blocks, a block as many segments and a segment of any number of data bytes. The data can be packed. In addition, safety information sessions and / or blocks may be attached.
HMI - Human Machine Interface
To interact with the user, the HMI Library is responsible. It provides elements for the input and output as standard dialogs, freely configurable display output and keyboard input, are available. Due to the different characteristics of the various tests - some have only very simple input and output options - and because of the clear separation of process logic and surface representation in OTX, no surface-specific content, such as layout, color, design, etc. ready. This information may be tool-specific, such as stored in the metadata OTX.
It supports only two so-called Screens:
-
BasicScreen
Sets the standard tasks to be done, as called for simple inputs, providing warnings, etc. The dialog boxes are always modal. That is, as long as the dialog is displayed, the sequence is available. With the release by the user, such as Ok-button closes the dialogue and the process continues. basic screens must be supported by all end systems. In other testers have no display output capabilities are provided, such as LEDs, speakers, etc.
-
CustomScreen
In the custom screen a simple interface for externally generated surfaces is realized. The layout, the type and function of the surface elements are not described in OTX. The interface is that of a normal function call with input and output parameters. A custom screen is not modal. That is, the process is not stopped by the presentation, but continues running. Should still be maintained, but there is a screen event are available, see Event Library. Through the drain system ensures that when you change the content, such as a variable, the screen is updated. custom screens generally run in a different thread than the drainage system.
Internationalization (I18n)
The i18n library is an extension of OTX for translation of strings, units and values for the linguistic and regional adaptation of the drainage system.
Job
The job of OTX library provides a mechanism for accessing the job of a standardized API MVCI server (ASAM 3D Server) are available.
Math
The Math Library expanded to OTX not included in the core mathematical functions, such as power, Log, Ln tan, sin, cos.
Measure
Measure the library provides ready OTX activities and data types for basic measurement and control tasks. In particular when used within the production, there are numerous electrical and electronic tests, which have nothing to do with the ECU communication. OTX defined for this purpose a simple interface for integration of measurement and control hardware.
Quantities
Quantities The library is a layer of abstraction above the OTX data types to describe the units. NumericQuantities example, contain information about the size of the physical unit. This is necessary for conversion to other units due to regional peculiarities. OTX used here, the data model of UNIT-SPEC in ODX, see ISO 22901-1. Units can be created in OTX or ODX reference units.
StringUtil
The StringUtil Library of OTX is a mechanism for operations analysis and Return of strings.
See also
-
Created20. January 2011
-
Version12
-
Amended23. February 2011
-
Hits1649