Extensions.DiagCom.GetDefaultComParameterValueAsByteField
Contents
Classification
Name | GetDefaultComParameterValueAsByteField |
Short Description | Gets the default value of a ByteField communication parameter |
Class | Term |
Extension | OTX DiagCom extension |
Group | ComParam related terms |
Exceptions | UnknownTargetException TypeMismatchException |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
ByteFieldTerm DiagCom.GetDefaultComParameterValueAsByteField(ComChannelTerm comChannel, StringTerm comParameterName);
Description
The GetDefaultComParameterValueAsByteField term will return the default value of a bytefield type 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 |
ByteField | The default value of a ByteField communication parameter. |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
ComChannel | ComChannel | Term | - | [1] | The ComChannelTerm specifies the ComChannel which will be queried. |
ComParameterName | String | Term | - | [1] | The otx:StringTerm specifies the name of a communication parameter. |
OTL Examples
/// Local Declarations
DiagCom.ComChannel ComChannel1;
ByteField ByteField1;
/// Flow
ComChannel1 = DiagCom.GetComChannel("LL_CentrElectUDS", "EV_BCMCONTI_009", false);
ByteField1 = DiagCom.GetDefaultComParameterValueAsByteField(ComChannel1, "CP_TesterPresentMessage");
See also
GetComChannel
GetComplexComParameter
SetComplexComParameter
GetDefaultComParameterValueAsBoolean
GetDefaultComParameterValueAsString
GetDefaultComParameterValueAsInteger
GetDefaultComParameterValueAsFloat
GetDefaultComParameterValueAsQuantity