2.3.3.1.61. NXsensor

Status:

base class, extends NXcomponent

Description:

A sensor used to monitor an external condition ...

A sensor used to monitor an external condition

The condition itself is described in NXenvironment.

Symbols:

No symbol table

Groups cited:

NXfabrication, NXgeometry, NXlog, NXoff_geometry, NXorientation

Structure:

model: (optional) NX_CHAR

Sensor identification code/model number

name: (optional) NX_CHAR

Name for the sensor

short_name: (optional) NX_CHAR

Short name of sensor used e.g. on monitor display program

attached_to: (optional) NX_CHAR

where sensor is attached to (“sample” | “can”)

measurement: (optional) NX_CHAR

name for measured signal ...

name for measured signal

Any of these values or a custom value (if you use a custom value, also set @custom=True):

  • temperature

  • pH

  • magnetic_field

  • electric_field

  • current

  • conductivity

  • resistance

  • voltage

  • pressure

  • flow

  • stress

  • strain

  • shear

  • surface_pressure

type: (optional) NX_CHAR

The type of hardware used for the measurement. ...

The type of hardware used for the measurement. Examples (suggestions but not restrictions):

Temperature:

J | K | T | E | R | S | Pt100 | Rh/Fe

pH:

Hg/Hg2Cl2 | Ag/AgCl | ISFET

Ion selective electrode:

specify species; e.g. Ca2+

Magnetic field:

Hall

Surface pressure:

wilhelmy plate

run_control: (optional) NX_BOOLEAN

Is data collection controlled or synchronised to this quantity: ...

Is data collection controlled or synchronised to this quantity: 1=no, 0=to “value”, 1=to “value_deriv1”, etc.

high_trip_value: (optional) NX_FLOAT {units=NX_ANY}

Upper control bound of sensor reading if using run_control

low_trip_value: (optional) NX_FLOAT {units=NX_ANY}

Lower control bound of sensor reading if using run_control

value: (optional) NX_FLOAT (Rank: 1, Dimensions: [n]) {units=NX_ANY}

nominal setpoint or average value ...

nominal setpoint or average value - need [n] as may be a vector

value_deriv1: (optional) NX_FLOAT (Rank: same as field value, Dimensions: same as field value) {units=NX_ANY}

Nominal/average first derivative of value ...

Nominal/average first derivative of value e.g. strain rate - same dimensions as “value” (may be a vector)

value_deriv2: (optional) NX_FLOAT (Rank: same as field value, Dimensions: same as field value) {units=NX_ANY}

Nominal/average second derivative of value ...

Nominal/average second derivative of value - same dimensions as “value” (may be a vector)

external_field_brief: (optional) NX_CHAR

Any of these values:

  • along beam

  • across beam

  • transverse

  • solenoidal

  • flow shear gradient

  • flow vorticity

depends_on: (optional) NX_CHAR

Add a definition for the reference point of a sensor. ...

geometry: (optional) NXgeometry

DEPRECATED: Use the field depends_on and NXtransformations to position the beamstop and NXoff_geometry to describe its shape instead

Defines the axes for logged vector quantities if they are not the global instrument axes.

value_log: (optional) NXlog

Time history of sensor readings

value_deriv1_log: (optional) NXlog

Time history of first derivative of sensor readings

value_deriv2_log: (optional) NXlog

Time history of second derivative of sensor readings

external_field_full: (optional) NXorientation

For complex external fields not satisfied by External_field_brief

OFF_GEOMETRY: (optional) NXoff_geometry

This group describes the shape of the sensor when necessary.

FABRICATION: (optional) NXfabrication

Hypertext Anchors

List of hypertext anchors for all groups, fields, attributes, and links defined in this class.

NXDL Source:

https://github.com/FAIRmat-NFDI/nexus_definitions/tree/fairmat/base_classes/NXsensor.nxdl.xml