Difference between revisions of "Extensions.DiagCom.GetParameterValueAsByteField"
Jump to navigation
Jump to search
Line 16: | Line 16: | ||
{| {{TableHeader}} | {| {{TableHeader}} | ||
{{TableRowPropertiesHeader}} | {{TableRowPropertiesHeader}} | ||
− | {{TableRowPropertie2| Parameter | [[Extensions.DiagCom.Parameter|Parameter]] | [[Term]] | - | [1] | The '''Parameter''' whose value | + | {{TableRowPropertie2| Parameter | [[Extensions.DiagCom.Parameter|Parameter]] | [[Term]] | - | [1] | The '''Parameter''' whose value will be returned as a [[Core.DataTypes.ComplexDataType.ByteField|ByteField]].}} |
|} | |} | ||
Latest revision as of 10:19, 12 September 2019
Contents
Classification
Name | GetParameterValueAsByteField |
Short Description | Gets the actual value of the parameter as a ByteField |
Class | Term |
Extension | OTX DiagCom extension |
Group | Parameter related terms |
Exceptions | TypeMismatchException |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
ByteFieldTerm DiagCom.GetParameterValueAsByteField(ParameterTerm parameter);
Description
The GetParameterValueAsByteField term accepts a ParameterTerm and returns the actual value of the parameter as a ByteField.
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 actual value of the parameter. |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
Parameter | Parameter | Term | - | [1] | The Parameter whose value will be returned as a ByteField. |
OTL Examples
/// Local Declarations
DiagCom.Request Request1;
ByteField ByteField1;
DiagCom.ComChannel ComChannel1;
/// Flow
ComChannel1 = DiagCom.GetComChannel("LL_GatewUDS", "", false);
Request1 = DiagCom.GetRequest(DiagCom.CreateDiagServiceByName(ComChannel1, "SinglJob_PostDataSet"));
ByteField1 = DiagCom.GetParameterValueAsByteField(DiagCom.GetParameterByPath(Request1, {0}));
See also
GetComChannel
CreateDiagServiceByName
CreateDiagServiceBySemantic
GetRequest
ExecuteDiagService
GetFirstResponse
GetAllResponses
GetParameterBySemantic
GetParameterByPath
GetParameterAsList
GetParameterValueAsBoolean
GetParameterValueAsString
GetParameterValueAsInteger
GetParameterValueAsFloat
GetParameterValueAsQuantity