Sample
Supertype: Observation
Definition: Observation that is continuously changing or analog data value.
Version Info
| Introduced | Deprecated | Updated |
|---|---|---|
| 1.0 |
Documentation
Description
It provides the information and data reported from a piece of equipment for those DataItem entities defined with DataItem::category as SAMPLE in the MTConnectDevices Response Documentresponse document published by an MTConnect Agent in response to a probe request..
Sample MUST always be reported in float.
Figure Sample Example shows Sample type examples. It also shows an example for when the Observation::result is not available (dataItemId=cspeed).

Note: See sample-example for the XML representation of the same example.
The following Section Value Properties of Sample lists the additional and/or updated attributes for Sample.
Inherited Properties
| Name | Type | Int | Dep | Multiplicity | Description |
|---|---|---|---|---|---|
compositionId | ID | 1.4 | 0..1 | identifier of the Composition entity defined in the MTConnectDevices Response Documentresponse document published by an MTConnect Agent in response to a probe request. associated with the data reported for the Observation. | |
dataItemId | ID | 1.0 | 1 | unique identifier of the
| |
name | string | 1.0 | 0..1 | name of the
| |
sequence | integer | 1.0 | 1 | number representing the sequential position of an occurrence of an observationobserved value of a property at a point in time. in the data buffer of an agentsoftware that collects data published from one or more piece(s) of equipment, organizes that data in a structured manner, and responds to requests for data from client software systems by providing a structured response in the form of a response document that is constructed using the semantic data model of a Standard. .
| |
subType | DataItemSubTypeEnum | 1.2 | 0..1 | subtype of the
| |
timestamp | datetime | 1.0 | 1 | most accurate time available to a piece of equipment that represents the point in time that the data reported was measured. | |
type | DataItemTypeEnum | 1.0 | 1 | type of the
| |
units | UnitEnum | 1.0 | 0..1 | units of the
| |
isUnavailable | boolean (Default: true) | 1.0 | 1 | when
<Execution dataItemId=”…” …>UNAVAILABLE</Execution> | |
result | string | 1.0 | 0..1 | observationobserved value of a property at a point in time. of the The default value type for
|
Properties
| Name | Type | Int | Dep | Multiplicity | Description |
|---|---|---|---|---|---|
duration | SECOND | 1.2 | 0..1 | time-period over which the data was collected.
| |
resetTriggered | ResetTriggeredEnum | 1.4 | 0..1 | identifies when a reported value has been reset and what has caused that reset to occur for those
| |
sampleRate | float | 1.2 | 0..1 | rate at which successive samples of the value are recorded. | |
statistic | StatisticEnum | 1.2 | 0..1 | type of statistical calculation defined by the DataItem::statistic defined in the MTConnectDevices Response Documentresponse document published by an MTConnect Agent in response to a probe request.. | |
result | float | 1.0 | 0..1 | ||
units | UnitEnum | 1.0 | 1 | ||
type | SampleEnum | 1.0 | 1 |