Difference between revisions of "Extensions.DiagCom.GetParameterValueAsInteger"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
{{DISPLAYTITLE:OTX '''GetParameterValueAsInteger'''}}[[Category:DiagCom]] | {{DISPLAYTITLE:OTX '''GetParameterValueAsInteger'''}}[[Category:DiagCom]] | ||
== Classification == | == Classification == | ||
− | {{ClassificationActivity | GetParameterValueAsInteger | The actual value of the parameter as a [[Core.DataTypes.SimpleDataType.Integer|Integer]] | [[Term]] | [[Extensions.DiagCom|OTX DiagCom extension]] | [[Parameter related terms]] | [[TypeMismatchException]] | - }} | + | {{ClassificationActivity | GetParameterValueAsInteger | The actual value of the parameter as a [[Core.DataTypes.SimpleDataType.Integer|Integer]] | [[Term]] | [[Extensions.DiagCom|OTX DiagCom extension]] | [[Parameter related terms]] | [[Core.Actions.Throw.Exception.TypeMismatchException|TypeMismatchException]] | - }} |
== OTL Syntax == | == OTL Syntax == |
Revision as of 08:13, 16 February 2016
Contents
Classification
Name | GetParameterValueAsInteger |
Short Description | The actual value of the parameter as a Integer |
Class | Term |
Extension | OTX DiagCom extension |
Group | Parameter related terms |
Exceptions | TypeMismatchException |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
IntegerTerm = DiagCom.GetParameterValueAsInteger(ParameterTerm);
Description
The GetParameterValueAsInteger term accepts a ParameterTerm and returns the actual value of the parameter as a Integer.
Return Value
The Term returns the value, see table below.
![]()
In OTX, Terms are categorized according to its return data type!
Data Type | Description |
Interger | The actual value of the parameter as a Interger.) |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
Parameter | Parameter | Term | - | [1] | The parameter object. |
OTL Examples
DiagCom.DiagService DiagService1;
DiagCom.Request Request1;
DiagCom.Parameter Parameter1;
Integer ValueAsInteger;
DiagCom.Comchannel ComChannel1;
ComChannel1 = DiagCom.GetComChannel("LL_BatteMonitContrModulUDS", "", false);
DiagService1 = DiagCom.CreateDiagServiceByName(ComChannel1, "DiagnServi_ReadDataByIdentASAMODXFileIdent");
Request1 = DiagCom.GetRequest(DiagService1);
Parameter1 = DiagCom.GetParameterByPath(Request1, {"Param_RequeServiId"});
ValueAsInteger = DiagCom.GetParameterValueAsInteger(Parameter1);
See also
GetParameterValueAsBoolean
GetParameterValueAsString
GetParameterValueAsFloat
GetParameterValueAsByteField
GetParameterValueAsQuantity