Difference between revisions of "Extensions.Measure.GetMeasurementQuantity"
Jump to navigation
Jump to search
m (Hb moved page GetMeasurementQuantity to Extensions.Measure.GetMeasurementQuantity: #3153) |
|
(No difference)
|
Revision as of 02:09, 16 February 2016
Contents
Classification
Name | GetMeasurementQuantity |
Short Description | Gets the measured NumericQuantity from a measurement |
Class | Term |
Extension | OTX Measure extension |
Group | Measurement related terms |
Exceptions | InvalidMeasurementException |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
QuantityTerm = Measure.GetMeasurementQuantity(Measurement);
Description
This term gets the measured NumericQuantity from a measurement.
Return Value
The Term returns the value, see table below.
![]()
In OTX, Terms are categorized according to its return data type!
Data Type | Description |
Quantity | The NumericQuantity of a measurement. |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
Measurement | Measurement | Term | - | [1] | The measurement whose quantity value is acquired. |
OTL Examples
package Measure.DeviceSignature TestDocument
{
DeviceServiceSignature Addition(in Integer a, in Integer b, out Measure.Measurement OutValue);
}
public procedure GetMeasurementQuantity()
{
Measure.Measurement Return;
Float a = 12;
Quantities.Quantity Quantity;
Measure.ExecuteDeviceService(TestDocument, Addition, {in a = 2, in b = 3, out OutValue = Return}, false, false);
Quantity = Measure.GetMeasurementQuantity(Return);
}
See also
GetMeasurementTimestamp
GetMeasurementStatus
GetMeasurementFloatValue
IsValidMeasurement