NXsensor

Status:

base class, extends NXobject

Description:

A sensor used to monitor an external condition

The condition itself is described in NXenvironment.

Symbols:

No symbol table

Groups cited:

NXgeometry, NXlog, NXorientation

Structure:

@default: (optional) NX_CHAR

Declares which child group contains a path leading to a NXdata group.

It is recommended (as of NIAC2014) to use this attribute to help define the path to the default dataset to be plotted. See https://www.nexusformat.org/2014_How_to_find_default_data.html for a summary of the discussion.

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

Any of these values:

  • temperature

  • pH

  • magnetic_field

  • electric_field

  • conductivity

  • resistance

  • voltage

  • pressure

  • flow

  • stress

  • strain

  • shear

  • surface_pressure

type: (optional) NX_CHAR

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: 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[n]: (optional) NX_FLOAT {units=NX_ANY}

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

value_deriv1[ref(value)]: (optional) NX_FLOAT {units=NX_ANY}

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

value_deriv2[ref(value)]: (optional) NX_FLOAT {units=NX_ANY}

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

geometry: (optional) NXgeometry

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

Hypertext Anchors

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

documentation (reST source) anchor

web page (HTML) anchor

/NXsensor/attached_to-field

#nxsensor-attached-to-field

/NXsensor/external_field_brief-field

#nxsensor-external-field-brief-field

/NXsensor/external_field_full-group

#nxsensor-external-field-full-group

/NXsensor/geometry-group

#nxsensor-geometry-group

/NXsensor/high_trip_value-field

#nxsensor-high-trip-value-field

/NXsensor/low_trip_value-field

#nxsensor-low-trip-value-field

/NXsensor/measurement-field

#nxsensor-measurement-field

/NXsensor/model-field

#nxsensor-model-field

/NXsensor/name-field

#nxsensor-name-field

/NXsensor/run_control-field

#nxsensor-run-control-field

/NXsensor/short_name-field

#nxsensor-short-name-field

/NXsensor/type-field

#nxsensor-type-field

/NXsensor/value-field

#nxsensor-value-field

/NXsensor/value_deriv1-field

#nxsensor-value-deriv1-field

/NXsensor/value_deriv1_log-group

#nxsensor-value-deriv1-log-group

/NXsensor/value_deriv2-field

#nxsensor-value-deriv2-field

/NXsensor/value_deriv2_log-group

#nxsensor-value-deriv2-log-group

/NXsensor/value_log-group

#nxsensor-value-log-group

/NXsensor@default-attribute

#nxsensor-default-attribute

NXDL Source:

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