MTConnect 2.8 class
Sample
Observation that is continuously changing or analog data value.
Description
It provides the information and data reported from a piece of equipment for those DataItem entities defined with category as SAMPLE in the MTConnectDevices Response Document.
Sample MUST always be reported in float.
Sample Example shows Sample type examples. It also shows an example for when the result is not available (dataItemId=cspeed).

Note: See sample-example for the XML representation of the same example.
The following Value Properties of Sample lists the additional and/or updated attributes for Sample.
Introduced in MTConnect 1.0.
Inheritance
Base classes, from the immediate parent to the root:
Subclasses
- Acceleration
ACCELERATION
- AccumulatedTime
ACCUMULATED_TIME
- Amperage
AMPERAGE
- AmperageAC
AMPERAGE_AC
- AmperageDC
AMPERAGE_DC
- Angle
ANGLE
- AngularAcceleration
ANGULAR_ACCELERATION
- AngularDeceleration
ANGULAR_DECELERATION
- AngularVelocity
ANGULAR_VELOCITY
- AssetUpdateRate
ASSET_UPDATE_RATE
- AxisFeedrate
AXIS_FEEDRATE
- BatteryCapacity
BATTERY_CAPACITY
- BatteryCharge
BATTERY_CHARGE
- CapacityFluid
CAPACITY_FLUID
- CapacitySpatial
CAPACITY_SPATIAL
- ChargeRate
CHARGE_RATE
- Concentration
CONCENTRATION
- Conductivity
CONDUCTIVITY
- CuttingSpeed
CUTTING_SPEED
- Deceleration
DECELERATION
- Density
DENSITY
- DepositionAccelerationVolumetric
DEPOSITION_ACCELERATION_VOLUMETRIC
- DepositionDensity
DEPOSITION_DENSITY
- DepositionMass
DEPOSITION_MASS
- DepositionRateVolumetric
DEPOSITION_RATE_VOLUMETRIC
- DepositionVolume
DEPOSITION_VOLUME
- DewPoint
DEW_POINT
- Diameter
DIAMETER
- DischargeRate
DISCHARGE_RATE
- Displacement
DISPLACEMENT
- DisplacementAngular
DISPLACEMENT_ANGULAR
Note: The displacement vector MAY be defined by the motion of the owning
Component.- DisplacementLinear
DISPLACEMENT_LINEAR
Note: The displacement vector MAY be defined by the motion of the owning
Component.- ElectricalEnergy
ELECTRICAL_ENERGY
- Elevation
ELEVATION
- EquipmentTimer
EQUIPMENT_TIMER
- FillHeight
FILL_HEIGHT
- FillLevel
FILL_LEVEL
- Flow
FLOW
- FollowingError
FOLLOWING_ERROR
- FollowingErrorAngular
FOLLOWING_ERROR_ANGULAR
- FollowingErrorLinear
FOLLOWING_ERROR_LINEAR
- Frequency
FREQUENCY
- GlobalPosition
GLOBAL_POSITION
- GravitationalAcceleration
GRAVITATIONAL_ACCELERATION
- GravitationalForce
GRAVITATIONAL_FORCE
Note: $$Mass\times GravitationalAcceleration$$
- HumidityAbsolute
HUMIDITY_ABSOLUTE
- HumidityRelative
HUMIDITY_RELATIVE
- HumiditySpecific
HUMIDITY_SPECIFIC
- Length
LENGTH
- Level
LEVEL
- LinearForce
LINEAR_FORCE
- Load
LOAD
- Mass
MASS
- ObservationUpdateRate
OBSERVATION_UPDATE_RATE
- Openness
OPENNESS
- Orientation
ORIENTATION
- PH
PH
- ParticleCount
PARTICLE_COUNT
- ParticleSize
PARTICLE_SIZE
- PathFeedrate
PATH_FEEDRATE
- PathFeedratePerRevolution
PATH_FEEDRATE_PER_REVOLUTION
- PathPosition
PATH_POSITION
Example
<DataItem type='PATH_POSITION' id='pathposit1' units="MILLIMETER_3D"/>XML Device Model Example for `PathPosition` using `MILLIMETER_3D` unit
<PathPosition>10.0 0.0 20.0</PathPosition>XML Streams Response Example for `PathPosition` using `MILLIMETER_3D` unit
<DataItem type='PATH_POSITION' id='pathposit1' representation="DATA_SET"> <Definition> <EntryDefinition key='X' units='MILLIMETER'> <EntryDefinition key='Y' units='MILLIMETER'> <EntryDefinition key='Z' units='MILLIMETER'> </Definition> </DataItem>XML Device Model Example for `PathPosition` to demonstrate multi-dimensional representation using `DataSet` representation
<PathPositionDataSet id='pathposit1'> <Entry key='X'>10.0</Entry> <Entry key='Z'>20.0</Entry> </PathPositionDataSet>XML Streams Response Example for `PathPosition` to demonstrate multi-dimensional representation using `DataSet` representation
- Position
POSITION
- PositionCartesian
POSITION_CARTESIAN
- PowerFactor
POWER_FACTOR
- Pressure
PRESSURE
- PressureAbsolute
The force per unit area measured relative to a vacuum.
- PressurizationRate
PRESSURIZATION_RATE
- ProcessTimer
PROCESS_TIMER
- Resistance
RESISTANCE
- Resistivity
RESISTIVITY
- RotaryVelocity
ROTARY_VELOCITY
- SettlingError
SETTLING_ERROR
- SettlingErrorAngular
SETTLING_ERROR_ANGULAR
- SettlingErrorLinear
SETTLING_ERROR_LINEAR
- SoundLevel
SOUND_LEVEL
- SpindleSpeed
SPINDLE_SPEED
- Strain
STRAIN
- Temperature
TEMPERATURE
- Temperature
Review the MTConnect definition and model details for Temperature, an MTConnect class.
- Tension
TENSION
- Tilt
TILT
- Torque
TORQUE
- Velocity
VELOCITY
- Viscosity
VISCOSITY
- VoltAmpere
VOLT_AMPERE
- VoltAmpereReactive
VOLT_AMPERE_REACTIVE
- Voltage
VOLTAGE
- VoltageAC
VOLTAGE_AC
- VoltageDC
VOLTAGE_DC
- VolumeFluid
VOLUME_FLUID
- VolumeSpatial
VOLUME_SPATIAL
- WaterHardness
WATER_HARDNESS
- Wattage
WATTAGE
- XDimension
X_DIMENSION
- YDimension
Y_DIMENSION
- ZDimension
Z_DIMENSION
Properties
Includes inherited members. Defined by identifies the class that declares each member.
| Name | Type | Multiplicity | Introduced | Deprecated | Defined by | Definition |
|---|---|---|---|---|---|---|
| duration | float | 0..1 | 1.2 | Sample | time-period over which the data was collected.
Access: public | |
| resetTriggered | ResetTriggeredEnum | 0..1 | 1.4 | Sample | identifies when a reported value has been reset and what has caused that reset to occur for those
Access: public | |
| result | float | 0..1 | 1.0 | Sample | Access: public Aggregation: composite | |
| sampleRate | float | 0..1 | 1.2 | Sample | rate at which successive samples of the value are recorded. Description
If When Access: public | |
| statistic | StatisticEnum | 0..1 | 1.2 | Sample | type of statistical calculation defined by the Access: public | |
| type | SampleEnum | 1 | 1.0 | Sample | Access: public Modifier: static Aggregation: composite | |
| units | UnitEnum | 1 | 1.0 | Sample | Access: public Modifier: static Aggregation: composite | |
| compositionId | string | 0..1 | 1.4 | Observation (inherited) | identifier of the Access: public Modifier: static | |
| dataItemId | string | 1 | 1.0 | Observation (inherited) | unique identifier of the
Access: public Modifier: static | |
| deprecated | boolean | 0..1 | 2.5 | Observation (inherited) | indicates if the Default: Access: private Aggregation: composite | |
| extended | boolean | 0..1 | 2.5 | Observation (inherited) | indicates if the Default: Access: private Aggregation: composite | |
| isUnavailable | boolean | 1 | 1.0 | Observation (inherited) | when
Default: Access: public Aggregation: composite | |
| made by | engineered system | 1 | Observation (inherited) | Access: private | ||
| name | string | 0..1 | 1.0 | Observation (inherited) | name of the
Access: public Modifier: static | |
| quality | QualityEnum | 0..1 | 2.5 | Observation (inherited) | indicates if the Default: Access: private Aggregation: composite | |
| sequence | integer | 1 | 1.0 | Observation (inherited) | number representing the sequential position of an occurrence of an observation in the data buffer of an agent.
Access: public | |
| subType | DataItemSubTypeEnum | 0..1 | 1.2 | Observation (inherited) | subtype of the
Access: public Modifier: static | |
| timestamp | dateTime | 1 | 1.0 | Observation (inherited) | most accurate time available to a piece of equipment that represents the point in time that the data reported was measured. Access: public |
Relationships
Includes inherited members. Defined by identifies the class that declares each member.
| Name | Type | Multiplicity | Introduced | Deprecated | Defined by | Definition |
|---|---|---|---|---|---|---|
| organizedByComponentStream | ComponentStream | Sample | Association: Samples Access: private | |||
| madeByComponent | Component | 1 | Observation (inherited) | Association: Observations Access: private | ||
| madeForDataItem | DataItem | 1 | Observation (inherited) | Association: Observations Access: private |
Source: MTConnect Institute model documentation, version 2.8.
MTConnect term dictionary ยท TAMS Model-Aware MTConnect Browser