All Downloads are FREE. Search and download functionalities are using the official Maven repository.

generated.docs.javadoc.org.eclipse.dawnsci.nexus.impl.NXsensorImpl.html Maven / Gradle / Ivy






NXsensorImpl (h5jan API)












org.eclipse.dawnsci.nexus.impl

Class NXsensorImpl

    • Field Detail

      • PERMITTED_CHILD_GROUP_CLASSES

        public static final java.util.Set<NexusBaseClass> PERMITTED_CHILD_GROUP_CLASSES
    • Constructor Detail

      • NXsensorImpl

        public NXsensorImpl()
      • NXsensorImpl

        public NXsensorImpl(long oid)
    • Method Detail

      • getNXclass

        public java.lang.Class<? extends NXobject> getNXclass()
        Description copied from interface: NXobject
        Java Class object of the interface for this base class, e.g. NXsample.class.
        Specified by:
        getNXclass in interface NXobject
        Returns:
        name of Nexus class
      • getModel

        public IDataset getModel()
        Description copied from interface: NXsensor
        Sensor identification code/model number
        Specified by:
        getModel in interface NXsensor
        Returns:
        the value.
      • getModelScalar

        public java.lang.String getModelScalar()
        Description copied from interface: NXsensor
        Sensor identification code/model number
        Specified by:
        getModelScalar in interface NXsensor
        Returns:
        the value.
      • setModel

        public DataNode setModel(IDataset model)
        Description copied from interface: NXsensor
        Sensor identification code/model number
        Specified by:
        setModel in interface NXsensor
        Parameters:
        model - the model
      • setModelScalar

        public DataNode setModelScalar(java.lang.String model)
        Description copied from interface: NXsensor
        Sensor identification code/model number
        Specified by:
        setModelScalar in interface NXsensor
        Parameters:
        model - the model
      • getName

        public IDataset getName()
        Description copied from interface: NXsensor
        Name for the sensor
        Specified by:
        getName in interface NXsensor
        Returns:
        the value.
      • getNameScalar

        public java.lang.String getNameScalar()
        Description copied from interface: NXsensor
        Name for the sensor
        Specified by:
        getNameScalar in interface NXsensor
        Returns:
        the value.
      • setName

        public DataNode setName(IDataset name)
        Description copied from interface: NXsensor
        Name for the sensor
        Specified by:
        setName in interface NXsensor
        Parameters:
        name - the name
      • setNameScalar

        public DataNode setNameScalar(java.lang.String name)
        Description copied from interface: NXsensor
        Name for the sensor
        Specified by:
        setNameScalar in interface NXsensor
        Parameters:
        name - the name
      • getShort_name

        public IDataset getShort_name()
        Description copied from interface: NXsensor
        Short name of sensor used e.g. on monitor display program
        Specified by:
        getShort_name in interface NXsensor
        Returns:
        the value.
      • getShort_nameScalar

        public java.lang.String getShort_nameScalar()
        Description copied from interface: NXsensor
        Short name of sensor used e.g. on monitor display program
        Specified by:
        getShort_nameScalar in interface NXsensor
        Returns:
        the value.
      • setShort_name

        public DataNode setShort_name(IDataset short_name)
        Description copied from interface: NXsensor
        Short name of sensor used e.g. on monitor display program
        Specified by:
        setShort_name in interface NXsensor
        Parameters:
        short_name - the short_name
      • setShort_nameScalar

        public DataNode setShort_nameScalar(java.lang.String short_name)
        Description copied from interface: NXsensor
        Short name of sensor used e.g. on monitor display program
        Specified by:
        setShort_nameScalar in interface NXsensor
        Parameters:
        short_name - the short_name
      • getAttached_to

        public IDataset getAttached_to()
        Description copied from interface: NXsensor
        where sensor is attached to ("sample" | "can")
        Specified by:
        getAttached_to in interface NXsensor
        Returns:
        the value.
      • getAttached_toScalar

        public java.lang.String getAttached_toScalar()
        Description copied from interface: NXsensor
        where sensor is attached to ("sample" | "can")
        Specified by:
        getAttached_toScalar in interface NXsensor
        Returns:
        the value.
      • setAttached_to

        public DataNode setAttached_to(IDataset attached_to)
        Description copied from interface: NXsensor
        where sensor is attached to ("sample" | "can")
        Specified by:
        setAttached_to in interface NXsensor
        Parameters:
        attached_to - the attached_to
      • setAttached_toScalar

        public DataNode setAttached_toScalar(java.lang.String attached_to)
        Description copied from interface: NXsensor
        where sensor is attached to ("sample" | "can")
        Specified by:
        setAttached_toScalar in interface NXsensor
        Parameters:
        attached_to - the attached_to
      • getGeometry

        public NXgeometry getGeometry()
        Description copied from interface: NXsensor
        Defines the axes for logged vector quantities if they are not the global instrument axes
        Specified by:
        getGeometry in interface NXsensor
        Returns:
        the value.
      • setGeometry

        public void setGeometry(NXgeometry geometry)
        Description copied from interface: NXsensor
        Defines the axes for logged vector quantities if they are not the global instrument axes
        Specified by:
        setGeometry in interface NXsensor
        Parameters:
        geometry - the geometry
      • getMeasurement

        public IDataset getMeasurement()
        Description copied from interface: NXsensor
        name for measured signal

        Enumeration:

        • temperature
        • pH
        • magnetic_field
        • electric_field
        • conductivity
        • resistance
        • voltage
        • pressure
        • flow
        • stress
        • strain
        • shear
        • surface_pressure

        Specified by:
        getMeasurement in interface NXsensor
        Returns:
        the value.
      • getMeasurementScalar

        public java.lang.String getMeasurementScalar()
        Description copied from interface: NXsensor
        name for measured signal

        Enumeration:

        • temperature
        • pH
        • magnetic_field
        • electric_field
        • conductivity
        • resistance
        • voltage
        • pressure
        • flow
        • stress
        • strain
        • shear
        • surface_pressure

        Specified by:
        getMeasurementScalar in interface NXsensor
        Returns:
        the value.
      • setMeasurement

        public DataNode setMeasurement(IDataset measurement)
        Description copied from interface: NXsensor
        name for measured signal

        Enumeration:

        • temperature
        • pH
        • magnetic_field
        • electric_field
        • conductivity
        • resistance
        • voltage
        • pressure
        • flow
        • stress
        • strain
        • shear
        • surface_pressure

        Specified by:
        setMeasurement in interface NXsensor
        Parameters:
        measurement - the measurement
      • setMeasurementScalar

        public DataNode setMeasurementScalar(java.lang.String measurement)
        Description copied from interface: NXsensor
        name for measured signal

        Enumeration:

        • temperature
        • pH
        • magnetic_field
        • electric_field
        • conductivity
        • resistance
        • voltage
        • pressure
        • flow
        • stress
        • strain
        • shear
        • surface_pressure

        Specified by:
        setMeasurementScalar in interface NXsensor
        Parameters:
        measurement - the measurement
      • getType

        public IDataset getType()
        Description copied from interface: NXsensor
        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
        Specified by:
        getType in interface NXsensor
        Returns:
        the value.
      • getTypeScalar

        public java.lang.String getTypeScalar()
        Description copied from interface: NXsensor
        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
        Specified by:
        getTypeScalar in interface NXsensor
        Returns:
        the value.
      • setType

        public DataNode setType(IDataset type)
        Description copied from interface: NXsensor
        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
        Specified by:
        setType in interface NXsensor
        Parameters:
        type - the type
      • setTypeScalar

        public DataNode setTypeScalar(java.lang.String type)
        Description copied from interface: NXsensor
        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
        Specified by:
        setTypeScalar in interface NXsensor
        Parameters:
        type - the type
      • getRun_control

        public IDataset getRun_control()
        Description copied from interface: NXsensor
        Is data collection controlled or synchronised to this quantity: 1=no, 0=to "value", 1=to "value_deriv1", etc.

        Type: NX_BOOLEAN

        Specified by:
        getRun_control in interface NXsensor
        Returns:
        the value.
      • getRun_controlScalar

        public java.lang.Boolean getRun_controlScalar()
        Description copied from interface: NXsensor
        Is data collection controlled or synchronised to this quantity: 1=no, 0=to "value", 1=to "value_deriv1", etc.

        Type: NX_BOOLEAN

        Specified by:
        getRun_controlScalar in interface NXsensor
        Returns:
        the value.
      • setRun_control

        public DataNode setRun_control(IDataset run_control)
        Description copied from interface: NXsensor
        Is data collection controlled or synchronised to this quantity: 1=no, 0=to "value", 1=to "value_deriv1", etc.

        Type: NX_BOOLEAN

        Specified by:
        setRun_control in interface NXsensor
        Parameters:
        run_control - the run_control
      • setRun_controlScalar

        public DataNode setRun_controlScalar(java.lang.Boolean run_control)
        Description copied from interface: NXsensor
        Is data collection controlled or synchronised to this quantity: 1=no, 0=to "value", 1=to "value_deriv1", etc.

        Type: NX_BOOLEAN

        Specified by:
        setRun_controlScalar in interface NXsensor
        Parameters:
        run_control - the run_control
      • getHigh_trip_value

        public IDataset getHigh_trip_value()
        Description copied from interface: NXsensor
        Upper control bound of sensor reading if using run_control

        Type: NX_FLOAT Units: NX_ANY

        Specified by:
        getHigh_trip_value in interface NXsensor
        Returns:
        the value.
      • getHigh_trip_valueScalar

        public java.lang.Double getHigh_trip_valueScalar()
        Description copied from interface: NXsensor
        Upper control bound of sensor reading if using run_control

        Type: NX_FLOAT Units: NX_ANY

        Specified by:
        getHigh_trip_valueScalar in interface NXsensor
        Returns:
        the value.
      • setHigh_trip_value

        public DataNode setHigh_trip_value(IDataset high_trip_value)
        Description copied from interface: NXsensor
        Upper control bound of sensor reading if using run_control

        Type: NX_FLOAT Units: NX_ANY

        Specified by:
        setHigh_trip_value in interface NXsensor
        Parameters:
        high_trip_value - the high_trip_value
      • setHigh_trip_valueScalar

        public DataNode setHigh_trip_valueScalar(java.lang.Double high_trip_value)
        Description copied from interface: NXsensor
        Upper control bound of sensor reading if using run_control

        Type: NX_FLOAT Units: NX_ANY

        Specified by:
        setHigh_trip_valueScalar in interface NXsensor
        Parameters:
        high_trip_value - the high_trip_value
      • getLow_trip_value

        public IDataset getLow_trip_value()
        Description copied from interface: NXsensor
        Lower control bound of sensor reading if using run_control

        Type: NX_FLOAT Units: NX_ANY

        Specified by:
        getLow_trip_value in interface NXsensor
        Returns:
        the value.
      • getLow_trip_valueScalar

        public java.lang.Double getLow_trip_valueScalar()
        Description copied from interface: NXsensor
        Lower control bound of sensor reading if using run_control

        Type: NX_FLOAT Units: NX_ANY

        Specified by:
        getLow_trip_valueScalar in interface NXsensor
        Returns:
        the value.
      • setLow_trip_value

        public DataNode setLow_trip_value(IDataset low_trip_value)
        Description copied from interface: NXsensor
        Lower control bound of sensor reading if using run_control

        Type: NX_FLOAT Units: NX_ANY

        Specified by:
        setLow_trip_value in interface NXsensor
        Parameters:
        low_trip_value - the low_trip_value
      • setLow_trip_valueScalar

        public DataNode setLow_trip_valueScalar(java.lang.Double low_trip_value)
        Description copied from interface: NXsensor
        Lower control bound of sensor reading if using run_control

        Type: NX_FLOAT Units: NX_ANY

        Specified by:
        setLow_trip_valueScalar in interface NXsensor
        Parameters:
        low_trip_value - the low_trip_value
      • getValue

        public IDataset getValue()
        Description copied from interface: NXsensor
        nominal setpoint or average value - need [n] as may be a vector

        Type: NX_FLOAT Units: NX_ANY Dimensions: 1: n;

        Specified by:
        getValue in interface NXsensor
        Returns:
        the value.
      • getValueScalar

        public java.lang.Double getValueScalar()
        Description copied from interface: NXsensor
        nominal setpoint or average value - need [n] as may be a vector

        Type: NX_FLOAT Units: NX_ANY Dimensions: 1: n;

        Specified by:
        getValueScalar in interface NXsensor
        Returns:
        the value.
      • setValue

        public DataNode setValue(IDataset value)
        Description copied from interface: NXsensor
        nominal setpoint or average value - need [n] as may be a vector

        Type: NX_FLOAT Units: NX_ANY Dimensions: 1: n;

        Specified by:
        setValue in interface NXsensor
        Parameters:
        value - the value
      • setValueScalar

        public DataNode setValueScalar(java.lang.Double value)
        Description copied from interface: NXsensor
        nominal setpoint or average value - need [n] as may be a vector

        Type: NX_FLOAT Units: NX_ANY Dimensions: 1: n;

        Specified by:
        setValueScalar in interface NXsensor
        Parameters:
        value - the value
      • getValue_deriv1

        public IDataset getValue_deriv1()
        Description copied from interface: NXsensor
        Nominal/average first derivative of value e.g. strain rate - same dimensions as "value" (may be a vector)

        Type: NX_FLOAT Units: NX_ANY Dimensions: 1: ;

        Specified by:
        getValue_deriv1 in interface NXsensor
        Returns:
        the value.
      • getValue_deriv1Scalar

        public java.lang.Double getValue_deriv1Scalar()
        Description copied from interface: NXsensor
        Nominal/average first derivative of value e.g. strain rate - same dimensions as "value" (may be a vector)

        Type: NX_FLOAT Units: NX_ANY Dimensions: 1: ;

        Specified by:
        getValue_deriv1Scalar in interface NXsensor
        Returns:
        the value.
      • setValue_deriv1

        public DataNode setValue_deriv1(IDataset value_deriv1)
        Description copied from interface: NXsensor
        Nominal/average first derivative of value e.g. strain rate - same dimensions as "value" (may be a vector)

        Type: NX_FLOAT Units: NX_ANY Dimensions: 1: ;

        Specified by:
        setValue_deriv1 in interface NXsensor
        Parameters:
        value_deriv1 - the value_deriv1
      • setValue_deriv1Scalar

        public DataNode setValue_deriv1Scalar(java.lang.Double value_deriv1)
        Description copied from interface: NXsensor
        Nominal/average first derivative of value e.g. strain rate - same dimensions as "value" (may be a vector)

        Type: NX_FLOAT Units: NX_ANY Dimensions: 1: ;

        Specified by:
        setValue_deriv1Scalar in interface NXsensor
        Parameters:
        value_deriv1 - the value_deriv1
      • getValue_deriv2

        public IDataset getValue_deriv2()
        Description copied from interface: NXsensor
        Nominal/average second derivative of value - same dimensions as "value" (may be a vector)

        Type: NX_FLOAT Units: NX_ANY Dimensions: 1: ;

        Specified by:
        getValue_deriv2 in interface NXsensor
        Returns:
        the value.
      • getValue_deriv2Scalar

        public java.lang.Double getValue_deriv2Scalar()
        Description copied from interface: NXsensor
        Nominal/average second derivative of value - same dimensions as "value" (may be a vector)

        Type: NX_FLOAT Units: NX_ANY Dimensions: 1: ;

        Specified by:
        getValue_deriv2Scalar in interface NXsensor
        Returns:
        the value.
      • setValue_deriv2

        public DataNode setValue_deriv2(IDataset value_deriv2)
        Description copied from interface: NXsensor
        Nominal/average second derivative of value - same dimensions as "value" (may be a vector)

        Type: NX_FLOAT Units: NX_ANY Dimensions: 1: ;

        Specified by:
        setValue_deriv2 in interface NXsensor
        Parameters:
        value_deriv2 - the value_deriv2
      • setValue_deriv2Scalar

        public DataNode setValue_deriv2Scalar(java.lang.Double value_deriv2)
        Description copied from interface: NXsensor
        Nominal/average second derivative of value - same dimensions as "value" (may be a vector)

        Type: NX_FLOAT Units: NX_ANY Dimensions: 1: ;

        Specified by:
        setValue_deriv2Scalar in interface NXsensor
        Parameters:
        value_deriv2 - the value_deriv2
      • getValue_log

        public NXlog getValue_log()
        Description copied from interface: NXsensor
        Time history of sensor readings
        Specified by:
        getValue_log in interface NXsensor
        Returns:
        the value.
      • setValue_log

        public void setValue_log(NXlog value_log)
        Description copied from interface: NXsensor
        Time history of sensor readings
        Specified by:
        setValue_log in interface NXsensor
        Parameters:
        value_log - the value_log
      • getValue_deriv1_log

        public NXlog getValue_deriv1_log()
        Description copied from interface: NXsensor
        Time history of first derivative of sensor readings
        Specified by:
        getValue_deriv1_log in interface NXsensor
        Returns:
        the value.
      • setValue_deriv1_log

        public void setValue_deriv1_log(NXlog value_deriv1_log)
        Description copied from interface: NXsensor
        Time history of first derivative of sensor readings
        Specified by:
        setValue_deriv1_log in interface NXsensor
        Parameters:
        value_deriv1_log - the value_deriv1_log
      • getValue_deriv2_log

        public NXlog getValue_deriv2_log()
        Description copied from interface: NXsensor
        Time history of second derivative of sensor readings
        Specified by:
        getValue_deriv2_log in interface NXsensor
        Returns:
        the value.
      • setValue_deriv2_log

        public void setValue_deriv2_log(NXlog value_deriv2_log)
        Description copied from interface: NXsensor
        Time history of second derivative of sensor readings
        Specified by:
        setValue_deriv2_log in interface NXsensor
        Parameters:
        value_deriv2_log - the value_deriv2_log
      • getExternal_field_brief

        public IDataset getExternal_field_brief()
        Description copied from interface: NXsensor

        Enumeration:

        • along beam
        • across beam
        • transverse
        • solenoidal
        • flow shear gradient
        • flow vorticity

        Specified by:
        getExternal_field_brief in interface NXsensor
        Returns:
        the value.
      • getExternal_field_briefScalar

        public java.lang.String getExternal_field_briefScalar()
        Description copied from interface: NXsensor

        Enumeration:

        • along beam
        • across beam
        • transverse
        • solenoidal
        • flow shear gradient
        • flow vorticity

        Specified by:
        getExternal_field_briefScalar in interface NXsensor
        Returns:
        the value.
      • setExternal_field_brief

        public DataNode setExternal_field_brief(IDataset external_field_brief)
        Description copied from interface: NXsensor

        Enumeration:

        • along beam
        • across beam
        • transverse
        • solenoidal
        • flow shear gradient
        • flow vorticity

        Specified by:
        setExternal_field_brief in interface NXsensor
        Parameters:
        external_field_brief - the external_field_brief
      • setExternal_field_briefScalar

        public DataNode setExternal_field_briefScalar(java.lang.String external_field_brief)
        Description copied from interface: NXsensor

        Enumeration:

        • along beam
        • across beam
        • transverse
        • solenoidal
        • flow shear gradient
        • flow vorticity

        Specified by:
        setExternal_field_briefScalar in interface NXsensor
        Parameters:
        external_field_brief - the external_field_brief
      • getExternal_field_full

        public NXorientation getExternal_field_full()
        Description copied from interface: NXsensor
        For complex external fields not satisfied by External_field_brief
        Specified by:
        getExternal_field_full in interface NXsensor
        Returns:
        the value.
      • setExternal_field_full

        public void setExternal_field_full(NXorientation external_field_full)
        Description copied from interface: NXsensor
        For complex external fields not satisfied by External_field_brief
        Specified by:
        setExternal_field_full in interface NXsensor
        Parameters:
        external_field_full - the external_field_full




© 2015 - 2024 Weber Informatics LLC | Privacy Policy