SENSOR_CATEGORY_MECHANICAL

The SENSOR_CATEGORY_MECHANICAL category contains sensors that provide information related to mechanical devices and measurements.

Platform-Defined Sensor Types

This category includes the following platform-defined sensor types.

Sensor type Description
SENSOR_TYPE_BOOLEAN_SWITCH
{9C7E371F-1041-460B-8D5C-71E4752E350C}
Two-state switches (off or on).
SENSOR_TYPE_BOOLEAN_SWITCH_ARRAY
{545C8BA5-B143-4545-868F-CA7FD986B4F6}
Array of two-state switches (off or on).
SENSOR_TYPE_FORCE
{C2AB2B02-1A1C-4778-A81B-954A1788CC75}
Force sensors.
SENSOR_TYPE_MULTIVALUE_SWITCH
{B3EE4D76-37A4-4402-B25E-99C60A775FA1}
Multiple-position switches.
SENSOR_TYPE_PRESSURE
{26D31F34-6352-41CF-B793-EA0713D53D77}
Pressure sensors.
SENSOR_TYPE_SCALE
{C06DD92C-7FEB-438E-9BF6-82207FFF5BB8}
Weight sensors.
SENSOR_TYPE_STRAIN
{C6D1EC0E-6803-4361-AD3D-85BCC58C6D29}
Strain sensors.

Platform-Defined Data Fields

Platform-defined property keys for this category are based on SENSOR_DATA_TYPE_GUID_MECHANICAL_GUID:

{38564A7C-F2F2-49BB-9B2B-BA60F66A58DF}

This category includes the following platform-defined data fields.

Data field name and PID Description
SENSOR_DATA_TYPE_ABSOLUTE_PRESSURE_PASCAL
(PID = 5)
VT_R8
Absolute pressure, in pascals.
SENSOR_DATA_TYPE_BOOLEAN_SWITCH_ARRAY_STATES
(PID = 10)
VT_UI4
State fields for an array of Boolean switches.
SENSOR_DATA_TYPE_BOOLEAN_SWITCH_STATE
(PID = 2)
VT_BOOL
State field for SENSOR_TYPE_BOOLEAN_SWITCH.
SENSOR_DATA_TYPE_FORCE_NEWTONS
(PID = 4)
VT_R8
Force, in newtons.
SENSOR_DATA_TYPE_GAUGE_PRESSURE_PASCAL
(PID = 6)
VT_R8
Relative gauge pressure, in pascals.
SENSOR_DATA_TYPE_MULTIVALUE_SWITCH_STATE
(PID = 3)
VT_R8
State field for SENSOR_TYPE_MULTIVALUE_SWITCH.
SENSOR_DATA_TYPE_STRAIN
(PID = 7)
VT_R8
Strain.
SENSOR_DATA_TYPE_WEIGHT_KILOGRAMS
(PID = 8)
VT_R8
Weight, in kilograms.

Requirements

Requirement Value
Minimum supported client
Windows 7 [desktop apps only]
Minimum supported server
None supported
Header
Sensors.h