Difference between revisions of "Extensions.DiagCom.GetDefaultComParameterValueAsQuantity"
Jump to navigation
Jump to search
(Created page with "Category:DiagCom == Classification == {{ClassificationActivity | GetDefaultComParameterValueAsQuantity | The default value of a Quantity communication parameter | Te...") |
|||
Line 3: | Line 3: | ||
{{ClassificationActivity | GetDefaultComParameterValueAsQuantity | The default value of a [[Quantity]] communication parameter | [[Term]] | [[DiagCom|OTX DiagCom extension]] | [[ComParam related terms]] | [[UnknownTargetException]] <br/> [[TypeMismatchException]] | - }} | {{ClassificationActivity | GetDefaultComParameterValueAsQuantity | The default value of a [[Quantity]] communication parameter | [[Term]] | [[DiagCom|OTX DiagCom extension]] | [[ComParam related terms]] | [[UnknownTargetException]] <br/> [[TypeMismatchException]] | - }} | ||
− | == | + | == OTL Syntax == |
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | + | QuantityTerm = DiagCom.GetDefaultComParameterValueAsQuantity(ComChannelTerm, StringTerm); | |
</syntaxhighlight> | </syntaxhighlight> | ||
Line 20: | Line 20: | ||
|} | |} | ||
− | == Examples == | + | == OTL Examples == |
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | Quantity | + | DiagCom.ComChannel myComCannel; |
+ | DiagCom.DiagService DiagService1; | ||
+ | Quantities.Quantity Quantity1; | ||
+ | |||
+ | myComCannel = DiagCom.GetComChannel("LL_AirbaUDS", null, false); | ||
+ | DiagService1 = DiagCom.CreateDiagServiceByName(myComCannel, "DiagnServi_ReadDataByIdentBasicSettiStatu"); | ||
+ | Quantity1 = DiagCom.GetDefaultComParameterValueAsQuantity(myComCannel, "CP_CanTransmissionTime"); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 08:05, 6 February 2015
Contents
Classification
Name | GetDefaultComParameterValueAsQuantity |
Short Description | The default value of a Quantity communication parameter |
Class | Term |
Extension | OTX DiagCom extension |
Group | ComParam related terms |
Exceptions | UnknownTargetException TypeMismatchException |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
QuantityTerm = DiagCom.GetDefaultComParameterValueAsQuantity(ComChannelTerm, StringTerm);
Description
The GetDefaultComParameterValueAsQuantity term return the default value of a Quantity communication parameter.
Return Value
The Term returns the value, see table below.
![]()
In OTX, Terms are categorized according to its return data type!
Data Type | Description |
Quantity | The default value of a Quantity 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;
Quantities.Quantity Quantity1;
myComCannel = DiagCom.GetComChannel("LL_AirbaUDS", null, false);
DiagService1 = DiagCom.CreateDiagServiceByName(myComCannel, "DiagnServi_ReadDataByIdentBasicSettiStatu");
Quantity1 = DiagCom.GetDefaultComParameterValueAsQuantity(myComCannel, "CP_CanTransmissionTime");
See also
GetDefaultComParameterValueAsBoolean
GetDefaultComParameterValueAsString
GetDefaultComParameterValueAsInteger
GetDefaultComParameterValueAsFloat
GetDefaultComParameterValueAsByteField