Difference between revisions of "OtfOdxAccessPath"

From emotive
Jump to navigation Jump to search
Line 5: Line 5:
 
An example of complete access path: ''"LL_AccesStartInterUDS'''.'''EV_KessyHellaMQBAB_002'''.'''DiagnServi_ReadDataByIdentActuaTestStatu'''.'''Req_ReadDataByIdentActuaTestStatu'''.'''Param_RequeServiId"''
 
An example of complete access path: ''"LL_AccesStartInterUDS'''.'''EV_KessyHellaMQBAB_002'''.'''DiagnServi_ReadDataByIdentActuaTestStatu'''.'''Req_ReadDataByIdentActuaTestStatu'''.'''Param_RequeServiId"''
  
The access path is used for validation and supporting selection of possible shortnames instead of editing.
+
Access path can be determined from the workflow via shortnames of property of term/action like [[GetComChannel]], [[CreateDiagServiceByName]] or [[ExecuteDiagService]]. In some cases, access path can just be detected at runtime. Thereby it would be set at the AccessPath property of corresponding actions.
  
 
==Validation==
 
==Validation==

Revision as of 11:07, 3 December 2014

Overview

Access path is a solid connection from OTX to ODX data. It comprises the shortnames of following ODX element: logical link, ecuvariant (optional), diagservice, request/response and parameter, written in order and separated with ".".

An example of complete access path: "LL_AccesStartInterUDS.EV_KessyHellaMQBAB_002.DiagnServi_ReadDataByIdentActuaTestStatu.Req_ReadDataByIdentActuaTestStatu.Param_RequeServiId"

Access path can be determined from the workflow via shortnames of property of term/action like GetComChannel, CreateDiagServiceByName or ExecuteDiagService. In some cases, access path can just be detected at runtime. Thereby it would be set at the AccessPath property of corresponding actions.

Validation

Both determined and set access path will be validated in OTF. There 3 check rules for access path:

  • DiagCom_Chk100 (warning): The access path can not be determined unambiguously. For example: the ODX database is not set yet.
  • DiagCom_Chk101 (critical): The access path may be determined, but the target do not exist
  • DiagCom_Chk102 (warning): The objectives of the access paths exist, but do not have the same structure (attributes).

When validating the values ​​in AccessPath property are used only when the access path can not be explicitly determined from the workflow

Accesspath1.png
Access path validation

Shortname selection

Access path is also used to find all the possible values of shortname for property of comchannel, diagservice or request/response parameters. When opening the property, user just has to choose the right value instead of seeking and entering it himself.

Snselection.png
Shortname selection