Extensions.DiagCom.SetComplexComParameter

From emotive
Revision as of 07:52, 16 February 2016 by Hb (talk | contribs) (→‎Classification)
Jump to navigation Jump to search

Classification

Name SetComplexComParameter
Short Description Setting of complex communication parameters
Class Action
Extension OTX DiagCom extension
Group ComParameter related actions
Exceptions TypeMismatchException
Checker Rules -
Standard Compliant Yes

OTL Syntax

DiagCom.SetComplexComParameter(ComChannelVariable, ParameterTerm);

Description

The OTX SetComplexComParameter action is an enhanced variant of SetComParameter. The difference between these actions is that in this case complex data types can be used.

Icons Note.png In an ODX/MVCI based Diagnostic Runtime System complex communication parameters to define lists of response IDs required for functional addressing.

Properties

Name Data Type Class Default Cardinality Description
ComChannel ComChannel Variable - [1] Communication Channel (Control unit).
Parameter Parameter Term - [0..1] Structure of the parameter to be changed Communication Saving Meters.

OTL Examples

DiagCom.ComChannel myComCannel;
DiagCom.Request req;
DiagCom.Parameter param;

myComCannel = DiagCom.GetComChannel("LL_AllEmissRelatUDSSyste", null, false);
req = DiagCom.GetRequest(DiagCom.CreateDiagServiceByName(myComCannel, "DiagnServi_ReadDataByIdentActuaTestStatu"));
param = DiagCom.GetParameterByPath(req, {"Param_RequeServiId"});
DiagCom.SetComplexComParameter(myComCannel, param);

See also

GetComChannel
SetComParameter