Extensions.Measure.GetMeasurementStatus
Revision as of 02:08, 16 February 2016 by Hb (talk | contribs) (Hb moved page GetMeasurementStatus to Extensions.Measure.GetMeasurementStatus: #3153)
Contents
Classification
Name | GetMeasurementStatus |
Short Description | Gets the status of a measurement |
Class | Term |
Extension | OTX Measure extension |
Group | Measurement related terms |
Exceptions | - |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
StringTerm = Measure.GetMeasurementStatus(Measurement);
Description
This term gets the status of a measurement. The status of the measurement reflects the situation of the generation of the measurement. The returned status is a String
Return Value
The Term returns the value, see table below.
![]()
In OTX, Terms are categorized according to its return data type!
Data Type | Description |
String | The status of a measurement. |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
Measurement | Measurement | Term | - | [1] | The measurement whose status is acquired. |
OTL Examples
package Measure.DeviceSignature TestDocument
{
DeviceServiceSignature Sin(in Float a, out Measure.Measurement OutValue);
}
public procedure GetMeasurementStatus()
{
Float a = 14;
Measure.Measurement Sin_Return;
String Status;
Measure.ExecuteDeviceService(TestDocument, Sin, {in a = a, out OutValue = Sin_Return}, false, false);
Status = Measure.GetMeasurementStatus(Sin_Return);
}
See also
GetMeasurementTimestamp
GetMeasurementQuantity
GetMeasurementFloatValue
IsValidMeasurement