Difference between revisions of "Extensions.ComInterface.GetBatteryVoltageFromComInterface"
Jump to navigation
Jump to search
(Created by Ngoc Tran.) |
(→Classification: Edited by Ngoc Tran.) |
||
Line 1: | Line 1: | ||
{{DISPLAYTITLE: '''GetBatteryVoltageFromComInterface'''}}[[Category:ComInterface]] | {{DISPLAYTITLE: '''GetBatteryVoltageFromComInterface'''}}[[Category:ComInterface]] | ||
== Classification == | == Classification == | ||
− | {{ClassificationActivity | GetBatteryVoltageFromComInterface | The battery voltage (as measured in Volts on the VCI module's VCI connector) as a float value. | [[Term]] | [[Extensions.ComInterface|OTX ComInterface extension]] | [[Extensions.ComInterface#Terms|ComInterface related Terms]]| [[ | + | {{ClassificationActivity | GetBatteryVoltageFromComInterface | The battery voltage (as measured in Volts on the VCI module's VCI connector) as a float value. | [[Term]] | [[Extensions.ComInterface|OTX ComInterface extension]] | [[Extensions.ComInterface#Terms|ComInterface related Terms]]| [[Extensions.ComInterface.NotConnectedException|NotConnectedException]] | |}} |
== OTL Syntax == | == OTL Syntax == |
Latest revision as of 11:01, 11 October 2019
Contents
Classification
Name | GetBatteryVoltageFromComInterface |
Short Description | The battery voltage (as measured in Volts on the VCI module's VCI connector) as a float value. |
Class | Term |
Extension | OTX ComInterface extension |
Group | ComInterface related Terms |
Exceptions | NotConnectedException |
Checker Rules | |
Standard Compliant | Yes |
OTL Syntax
FloatTerm ComInterface.GetBatteryVoltageFromComInterface(ComInterfaceTerm comInterface);
Description
It will return the battery voltage (as measured in Volts on the VCI module's VCI connector) as a float value.
![]()
The appropriate MVCI system operation is MCDInterface::getBatteryVoltage()
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 battery voltage (as measured in Volts on the VCI module's VCI connector) as a float value |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
comInterface | ComInterface | Term | - | [1..1] | This element identifies the communication interface. |
OTL Examples
/// Local Declarations
ComInterface.ComInterface ComInterface1;
DiagCom.ComChannel ComChannel1;
Float Float1;
/// Flow
ComInterface.ConnectComInterface(ConInterface1);
Float1 = ComInterface.GetBatteryVoltageFromComInterface(ComInterface1);