MEASUREMENT ( Generic  P1,
Generic  P2,
Generic  P3,
Generic  P4,
Generic  P5,
String  ID,
String  SUBID,
String  TYPE,
String  SAMPLE_ID,
String  LABEL,
Qualifier  NEW,
Qualifier  GETID,
Qualifier  GETSUBID,
Qualifier  GETTYPE,
Qualifier  GETLABEL,
Qualifier  GETSAMPLE_ID 
)

A measurement is a collection of raw data files that are all related together by a measurement ID.

A measurement ID shuld be unique and is generated by the MEASUREMENT:NEW command. An optional label can be assocoiated with this to aid with clarity.

 mid=MEASUREMENT:NEW("test scans")
 BEGIN measurement_id=mid measurement_subid="1" measurement_type="SANS" sample_id="135"  

Alternatively you could do:

    mid=MEASUREMENT:NEW("test scans")
    MEASUREMENT id=mid subid="1" type="SANS" sample_id="135"
    BEGIN

to retrive the label specified for the current measurement use

 printn MEASUREMENT:GETLABEL()

or for a previous measurement

 printn MEASUREMENT:GETLABEL(id)

to retrive other information on the current measurement use e.g.

 printn MEASUREMENT:GETSUBID()
Parameters:
[in] NEW Create a new measurement identfier with associated LABEL
[in] GETID Retrieve the current measurement identifier (or for label LABEL if specified)
[in] GETLABEL Retrieve the label for the current measurement (or for identifier ID if specified)

information about measurements is stored in the file c:/data/measurement.nxs

See also:
SAMPLE_PAR, BEGIN
 All Files Functions Typedefs

Generated on 9 May 2010 for Open GENIE GCL by  doxygen 1.6.1