Difference between revisions of "Extensions.DiagCom.GetParameterTextId"

From emotive
Jump to navigation Jump to search
(No difference)

Revision as of 07:08, 5 February 2016

Classification

Name GetParameterTextId
Short Description The text id of the parameter
Class Term
Extension OTX DiagCom extension
Group Parameter related terms
Exceptions -
Checker Rules -
Standard Compliant Yes

OTL Syntax

StringTerm = DiagCom.GetParameterTextId(ParameterTerm);

Description

The GetParameterTextId term accepts a ParameterTerm and returns the text id 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 The text id of the parameter.

Properties

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

OTL Examples

DiagCom.DiagService DiagService1;
DiagCom.Parameter Parameter1;
String TextId;
DiagCom.ComChannel ComChannel1;

ComChannel1 = DiagCom.GetComChannel("LL_WheelDampeElectUDS", "EV_DRCONTITEMIC_001", false);
DiagService1 = DiagCom.CreateDiagServiceByName(ComChannel1, "SinglJob_FlashProgr");
Parameter1 = DiagCom.GetParameterByPath(DiagCom.GetRequest(DiagService1), {"IPA_LogLevel"});
TextId = DiagCom.GetParameterTextId(Parameter1);

See also

GetParameterName
GetParameterSemantic
GetParameterByPath
GetParameterAsList
ExecuteDiagService