Difference between revisions of "Extensions.Measure.GetMeasurementFloatValue"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
{{DISPLAYTITLE:'''GetMeasurementFloatValue '''}}[[Category:Measure]] | {{DISPLAYTITLE:'''GetMeasurementFloatValue '''}}[[Category:Measure]] | ||
== Classification == | == Classification == | ||
− | {{ClassificationActivity | GetMeasurementFloatValue | Gets the float value of a measurement | [[Term]] | [[Extensions.Measure|OTX Measure extension]] | [[Measurement related terms]] | [[ | + | {{ClassificationActivity | GetMeasurementFloatValue | Gets the float value of a measurement | [[Term]] | [[Extensions.Measure|OTX Measure extension]] | [[Measurement related terms]] | [[Core.Actions.Throw.Exception.InvalidMeasurementException|InvalidMeasurementException]] | - }} |
== OTL Syntax == | == OTL Syntax == |
Revision as of 06:58, 16 February 2016
Contents
Classification
Name | GetMeasurementFloatValue |
Short Description | Gets the float value of a measurement |
Class | Term |
Extension | OTX Measure extension |
Group | Measurement related terms |
Exceptions | InvalidMeasurementException |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
FloatTerm = Measure.GetMeasurementFloatValue(Measurement);
Description
This term brings the float value of a measurement that is independent of a physical device information.
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 float value of a measurement. |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
Measurement | Measurement | Term | - | [1] | The measurement whose float value is acquired. |
OTL Examples
package Measure.DeviceSignature TestDocument
{
DeviceServiceSignature Addition(in Integer a, in Integer b, out Measure.Measurement OutValue);
}
public procedure GetMeasurementFloatValue()
{
Measure.Measurement Return;
Float Float;
Float a = 12;
Measure.ExecuteDeviceService(TestDocument, Addition, {in a = 2, in b = 3, out OutValue = Return}, false, false);
Float = Measure.GetMeasurementFloatValue(Return);
}
See also
GetMeasurementTimestamp
GetMeasurementStatus
GetMeasurementQuantity
IsValidMeasurement