Difference between revisions of "Extensions.DiagCom.GetDefaultComParameterValueAsInteger"

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

Revision as of 07:13, 5 February 2016

Classification

Name GetDefaultComParameterValueAsInteger
Short Description The default value of a Integer communication parameter
Class Term
Extension OTX DiagCom extension
Group ComParam related terms
Exceptions UnknownTargetException
TypeMismatchException
Checker Rules -
Standard Compliant Yes

OTL Syntax

IntegerTerm = DiagCom.GetDefaultComParameterValueAsInteger(ComChannelTerm, StringTerm);

Description

The GetDefaultComParameterValueAsInteger term return the default value of a Integer communication 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
Integer The default value of a Integer communication parameter.

Properties

Name Data Type Class Default Cardinality Description
ComChannel ComChannel Term - [1] Communication channel.
ComParameterName String Term - [1] Name of communication channel.

OTL Examples

DiagCom.ComChannel myComCannel;
DiagCom.DiagService DiagService1;
Integer Integer1;

myComCannel = DiagCom.GetComChannel("LL_AirbaUDS", null, false);
DiagService1 = DiagCom.CreateDiagServiceByName(myComCannel, "DiagnServi_ReadDataByIdentBasicSettiStatu");
Integer1 = DiagCom.GetDefaultComParameterValueAsInteger(myComCannel, "CP_CanTransmissionTime");

See also

GetDefaultComParameterValueAsBoolean
GetDefaultComParameterValueAsString
GetDefaultComParameterValueAsFloat
GetDefaultComParameterValueAsByteField
GetDefaultComParameterValueAsQuantity