Difference between revisions of "Extensions.DiagCom.GetParameterValueAsFloat"
Jump to navigation
Jump to search
m (Hb moved page GetParameterValueAsFloat to Extensions.DiagCom.GetParameterValueAsFloat: #3153) |
|||
Line 1: | Line 1: | ||
− | [[Category:DiagCom]] | + | {{DISPLAYTITLE:OTX '''GetParameterValueAsFloat'''}}[[Category:DiagCom]] |
== Classification == | == Classification == | ||
− | {{ClassificationActivity | GetParameterValueAsFloat | The actual value of the parameter as a [[Float]] | [[Term]] | [[DiagCom|OTX DiagCom extension]] | [[Parameter related terms]] | [[TypeMismatchException]] | - }} | + | {{ClassificationActivity | GetParameterValueAsFloat | The actual value of the parameter as a [[Core.DataTypes.SimpleDataType.Float|Float]] | [[Term]] | [[Extensions.DiagCom|OTX DiagCom extension]] | [[Parameter related terms]] | [[TypeMismatchException]] | - }} |
== OTL Syntax == | == OTL Syntax == | ||
Line 9: | Line 9: | ||
== Description == | == Description == | ||
− | The '''GetParameterValueAsFloat''' term accepts a [[ParameterTerm]] and returns the actual value of the parameter as a [[Float]]. | + | The '''GetParameterValueAsFloat''' term accepts a [[ParameterTerm]] and returns the actual value of the parameter as a [[Core.DataTypes.SimpleDataType.Float|Float]]. |
− | {{TermReturnValue| [[Float]] | The actual value of the parameter as a [[Float]].)}} | + | {{TermReturnValue| [[Core.DataTypes.SimpleDataType.Float|Float]] | The actual value of the parameter as a [[Core.DataTypes.SimpleDataType.Float|Float]].)}} |
== Properties == | == Properties == | ||
{| {{TableHeader}} | {| {{TableHeader}} | ||
{{TableRowPropertiesHeader}} | {{TableRowPropertiesHeader}} | ||
− | {{TableRowPropertie1| Parameter | [[Parameter]] | [[Term]] | - | [1] | The parameter object.}} | + | {{TableRowPropertie1| Parameter | [[Extensions.DiagCom.Parameter|Parameter]] | [[Term]] | - | [1] | The parameter object.}} |
|} | |} | ||
Line 40: | Line 40: | ||
== See also == | == See also == | ||
− | [[GetParameterValueAsBoolean]] <br/> | + | [[Extensions.DiagCom.GetParameterValueAsBoolean|GetParameterValueAsBoolean]] <br/> |
− | [[GetParameterValueAsString]] <br/> | + | [[Extensions.DiagCom.GetParameterValueAsString|GetParameterValueAsString]] <br/> |
− | [[GetParameterValueAsInteger]] <br/> | + | [[Extensions.DiagCom.GetParameterValueAsInteger|GetParameterValueAsInteger]] <br/> |
− | [[GetParameterValueAsByteField]] <br/> | + | [[Extensions.DiagCom.GetParameterValueAsByteField|GetParameterValueAsByteField]] <br/> |
− | [[GetParameterValueAsQuantity]] | + | [[Extensions.DiagCom.GetParameterValueAsQuantity|GetParameterValueAsQuantity]] |
Revision as of 03:04, 15 February 2016
Contents
Classification
Name | GetParameterValueAsFloat |
Short Description | The actual value of the parameter as a Float |
Class | Term |
Extension | OTX DiagCom extension |
Group | Parameter related terms |
Exceptions | TypeMismatchException |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
FloatTerm = DiagCom.GetParameterValueAsFloat(ParameterTerm);
Description
The GetParameterValueAsFloat term accepts a ParameterTerm and returns the actual value of the parameter as a Float.
Return Value
The Term returns the value, see table below.
![]()
In OTX, Terms are categorized according to its return data type!
Data Type | Description |
Float | The actual value of the parameter as a Float.) |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
Parameter | Parameter | Term | - | [1] | The parameter object. |
OTL Examples
DiagCom.Request Request1;
DiagCom.Parameter Parameter1;
Float ParameterValueAsFloat;
DiagCom.ComChannel ComChannel1;
ComChannel1 = DiagCom.GetComChannel("LL_AccesStartInterUDS", "", false);
Request1 = DiagCom.GetRequest(DiagCom.CreateDiagServiceByName(ComChannel1, "DiagnServi_ReadDataByIdentActuaTestStatu"));
Parameter1 = DiagCom.GetParameterByPath(Request1, {"Param_RequeServiId"});
try
{
ParameterValueAsFloat = DiagCom.GetParameterValueAsFloat(Parameter1);
}
catch
{
}
See also
GetParameterValueAsBoolean
GetParameterValueAsString
GetParameterValueAsInteger
GetParameterValueAsByteField
GetParameterValueAsQuantity