Difference between revisions of "Extensions.DiagCom.GetComParameterValueAsBoolean"

From emotive
Jump to navigation Jump to search
Line 1: Line 1:
[[Category:DiagCom]]
+
{{DISPLAYTITLE:OTX '''GetComParameterValueAsBoolean'''}}[[Category:DiagCom]]
 
== Classification ==
 
== Classification ==
{{ClassificationActivity | GetComParameterValueAsBoolean | The current value of a [[Boolean]] communication parameter | [[Term]] | [[DiagCom|OTX DiagCom extension]] | [[ComParam related terms]] | [[UnknownTargetException]] <br/> [[TypeMismatchException]] | - }}
+
{{ClassificationActivity | GetComParameterValueAsBoolean | The current value of a [[Core.DataTypes.SimpleDataType.Boolean|Boolean]] communication parameter | [[Term]] | [[Extensions.DiagCom|OTX DiagCom extension]] | [[ComParam related terms]] | [[Extensions.DiagCom.UnknownTargetException|UnknownTargetException]] <br/> [[TypeMismatchException]] | - }}
  
 
== OTL Syntax ==
 
== OTL Syntax ==
Line 9: Line 9:
  
 
== Description ==
 
== Description ==
The '''GetComParameterValueAsBoolean''' term return the current value of a [[Boolean]] communication parameter.
+
The '''GetComParameterValueAsBoolean''' term return the current value of a [[Core.DataTypes.SimpleDataType.Boolean|Boolean]] communication parameter.
  
{{TermReturnValue| [[Boolean]] | The current value of a [[Boolean]] communication parameter.}}
+
{{TermReturnValue| [[Core.DataTypes.SimpleDataType.Boolean|Boolean]] | The current value of a [[Core.DataTypes.SimpleDataType.Boolean|Boolean]] communication parameter.}}
  
 
== Properties ==
 
== Properties ==
 
{| {{TableHeader}}
 
{| {{TableHeader}}
 
{{TableRowPropertiesHeader}}
 
{{TableRowPropertiesHeader}}
{{TableRowPropertie1| ComChannel | [[ComChannel]] | [[Term]] | - | [1] | Communication channel.}}
+
{{TableRowPropertie1| ComChannel | [[Extensions.DiagCom.ComChannel|ComChannel]] | [[Term]] | - | [1] | Communication channel.}}
{{TableRowPropertie2| ComParameterName | [[String]] | [[Term]] | - | [1] | Name of communication channel.}}
+
{{TableRowPropertie2| ComParameterName | [[Core.DataTypes.SimpleDataType.String|String]] | [[Term]] | - | [1] | Name of communication channel.}}
 
|}
 
|}
  
Line 32: Line 32:
  
 
== See also ==
 
== See also ==
[[GetComParameterValueAsString]] <br/>
+
[[Extensions.DiagCom.GetComParameterValueAsString|GetComParameterValueAsString]] <br/>
[[GetComParameterValueAsInteger]] <br/>
+
[[Extensions.DiagCom.GetComParameterValueAsInteger|GetComParameterValueAsInteger]] <br/>
[[GetComParameterValueAsFloat]] <br/>
+
[[Extensions.DiagCom.GetComParameterValueAsFloat|GetComParameterValueAsFloat]] <br/>
[[GetComParameterValueAsByteField]] <br/>
+
[[Extensions.DiagCom.GetComParameterValueAsByteField|GetComParameterValueAsByteField]] <br/>
[[GetComParameterValueAsQuantity]]
+
[[Extensions.DiagCom.GetComParameterValueAsQuantity|GetComParameterValueAsQuantity]]

Revision as of 05:16, 15 February 2016

Classification

Name GetComParameterValueAsBoolean
Short Description The current value of a Boolean communication parameter
Class Term
Extension OTX DiagCom extension
Group ComParam related terms
Exceptions UnknownTargetException
TypeMismatchException
Checker Rules -
Standard Compliant Yes

OTL Syntax

BooleanTerm = DiagCom.GetComParameterValueAsBoolean(ComChannelTerm, StringTerm);

Description

The GetComParameterValueAsBoolean term return the current value of a Boolean communication parameter.

Return Value

The Term returns the value, see table below.

Icons Note.png In OTX, Terms are categorized according to its return data type!
Data Type Description
Boolean The current value of a Boolean 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;
Boolean Boolean1 = false;

myComCannel = DiagCom.GetComChannel("LL_AirbaUDS", null, false);
DiagService1 = DiagCom.CreateDiagServiceByName(myComCannel, "DiagnServi_ReadDataByIdentBasicSettiStatu");
Boolean1 = DiagCom.GetComParameterValueAsBoolean(myComCannel, "CP_CanTransmissionTime");

See also

GetComParameterValueAsString
GetComParameterValueAsInteger
GetComParameterValueAsFloat
GetComParameterValueAsByteField
GetComParameterValueAsQuantity