Extensions.DiagCom.GetParameterName

From emotive
Revision as of 02:38, 15 February 2016 by Hb (talk | contribs)
Jump to navigation Jump to search

Classification

Name GetParameterName
Short Description Name of a parameter
Class Term
Extension OTX DiagCom extension
Group Parameter related terms
Exceptions -
Checker Rules -
Standard Compliant Yes

OTL Syntax

StringTerm = DiagCom.GetParameterName(ParameterTerm);

Description

The GetParameterName term accepts a ParameterTerm and returns the name of the parameter.

Return Value

The Term returns the value, see table below.

Icons Note.png In OTX, Terms are categorized according to its return data type!
Data Type Description
String Name of parameter.

Properties

Name Data Type Class Default Cardinality Description
Parameter Parameter Term - [1] The Parameter object.

OTL Examples

DiagCom.Parameter Parameter1;
DiagCom.ComChannel ComChannel1;
DiagCom.Request Request1;
String Name1;

ComChannel1 = DiagCom.GetComChannel("LL_AllUDSSyste", null, false);
Request1 = DiagCom.GetRequest(DiagCom.CreateDiagServiceByName(ComChannel1, "DiagnServi_CommuContr"));
Parameter1 = DiagCom.GetParameterByPath(Request1, {"Param_ContrType"});
Name1 = DiagCom.GetParameterName(Parameter1);

See also

GetParameterBySemantic
GetParameterByPath
GetParameterSemantic
GetParameterAsList
ExecuteDiagService