Difference between revisions of "Extensions.Measure.GetMeasurementTimestamp"
Jump to navigation
Jump to search
m (Hb moved page GetMeasurementTimestamp to Extensions.Measure.GetMeasurementTimestamp: #3153) |
|||
| Line 1: | Line 1: | ||
| − | [[Category:Measure]] | + | {{DISPLAYTITLE:'''GetMeasurementTimestamp '''}}[[Category:Measure]] |
== Classification == | == Classification == | ||
| − | {{ClassificationActivity | GetMeasurementTimestamp | Gets the timestamp of a measurement | [[Term]] | [[Measure|OTX Measure extension]] | [[Measurement related terms]] | [[InvalidMeasurementException]] | - }} | + | {{ClassificationActivity | GetMeasurementTimestamp | Gets the timestamp of a measurement | [[Term]] | [[Extensions.Measure|OTX Measure extension]] | [[Measurement related terms]] | [[Extensions.Measure.InvalidMeasurementException|InvalidMeasurementException]] | - }} |
== OTL Syntax == | == OTL Syntax == | ||
| Line 11: | Line 11: | ||
This term gets the timestamp of a measurement in milliseconds elapsed since 1970-01-01 00:00:00 UTC. | This term gets the timestamp of a measurement in milliseconds elapsed since 1970-01-01 00:00:00 UTC. | ||
| − | {{TermReturnValue| [[Integer]] | The timestamp of a measurement. }} | + | {{TermReturnValue| [[Core.DataTypes.SimpleDataType.Integer|Integer]] | The timestamp of a measurement. }} |
== Properties == | == Properties == | ||
{| {{TableHeader}} | {| {{TableHeader}} | ||
{{TableRowPropertiesHeader}} | {{TableRowPropertiesHeader}} | ||
| − | {{TableRowPropertie1| Measurement | [[Measurement]] | [[Term]] | - | [1] | The measurement whose timestamp is acquired.}} | + | {{TableRowPropertie1| Measurement | [[Extensions.Measure.Measurement|Measurement]] | [[Term]] | - | [1] | The measurement whose timestamp is acquired.}} |
|} | |} | ||
| Line 38: | Line 38: | ||
== See also == | == See also == | ||
| − | [[GetMeasurementStatus]] <br/> | + | [[Extensions.Measure.GetMeasurementStatus|GetMeasurementStatus]] <br/> |
| − | [[GetMeasurementQuantity]] <br/> | + | [[Extensions.Measure.GetMeasurementQuantity|GetMeasurementQuantity]] <br/> |
| − | [[GetMeasurementFloatValue]] <br/> | + | [[Extensions.Measure.GetMeasurementFloatValue|GetMeasurementFloatValue]] <br/> |
| − | [[IsValidMeasurement]] | + | [[Extensions.Measure.IsValidMeasurement|IsValidMeasurement]] |
Revision as of 02:29, 16 February 2016
Contents
Classification
| Name | GetMeasurementTimestamp |
| Short Description | Gets the timestamp of a measurement |
| Class | Term |
| Extension | OTX Measure extension |
| Group | Measurement related terms |
| Exceptions | InvalidMeasurementException |
| Checker Rules | - |
| Standard Compliant | Yes |
OTL Syntax
IntegerTerm = Measure.GetMeasurementTimestamp(Measurement);Description
This term gets the timestamp of a measurement in milliseconds elapsed since 1970-01-01 00:00:00 UTC.
Return Value
The Term returns the value, see table below.
![]()
In OTX, Terms are categorized according to its return data type!
| Data Type | Description |
| Integer | The timestamp of a measurement. |
Properties
| Name | Data Type | Class | Default | Cardinality | Description |
| Measurement | Measurement | Term | - | [1] | The measurement whose timestamp is acquired. |
OTL Examples
package Measure.DeviceSignature TestDocument
{
DeviceServiceSignature Sin(in Float a, out Measure.Measurement OutValue);
}
public procedure GetMeasurementTimestamp()
{
Measure.Measurement Sin_Return;
Float a = 12;
Integer timestamp;
Measure.ExecuteDeviceService(TestDocument, Sin, {in a = a, out OutValue = Sin_Return}, false, false);
timestamp = Measure.GetMeasurementTimestamp(Sin_Return);
}See also
GetMeasurementStatus
GetMeasurementQuantity
GetMeasurementFloatValue
IsValidMeasurement