The LAMP Application

Generated by IDLdoc

single page | use frames     summary     class     fields     routine details     file attributes

lamp_mac/readers/

rd_x.pro


top rd_x

result = rd_x(INST, PATH, FILENAME, STATUS, DATP)

******* **** ** ** Standard call for a data-read function interfacing LAMP. ** ** Return of the function ** DATA is an array of any dimensions and type containing the data values (spectra). ** ** Input parameters: ** INST(0) is the file_type (or instrument_name ) (string defined in customize tables). ** INST(1) is the file_group (or instrument_group) (string defined in customize tables). ** PATH is the full path where to find the data (string defined in customize tables). ** FILENAME is the name of the data file. ** if FILENAME(1) exists, this is the requested image number in the file. ** ** Output parameters: ** STATUS is the returned error code you can choose from the following list: ** 0 =' Successfull read' ** 1 =' Client/server on local node not established' ** 2 =' Client/server on router node not established' ** 3 =' The local node cannot access the server node' ** 4 =' The router node cannot access the server node' ** 5 =' VME memory read error' ** 7 =' Sequence error in data transfer' ** 9 =' Parameter error' ** 10=' Router is busy with other transfer' ** 11=' Cant open the file or file not found' ** 13=' Data file incomplete' ** 14=' Bad instrument data definition' ** 24=' Cant read the file'. ** ** DATP is a structure defined as follow: (all tags are OPTIONAL) ** DATP.X = vector of x coordinates. ** DATP.Y = vector of y coordinates. ** DATP.Z = vector of z coordinates. ** DATP.W_TIT = main title ** DATP.X_TIT = x axis title ** DATP.Y_TIT = y axis title ** DATP.Z_TIT = z axis title ** DATP.OTHER_TIT= sub title ** DATP.N = monitors ** DATP.P = vector of parameter values up to 31 ** DATP.PAR_TXT = string array of text associated to DATP.P (same size) ** DATP.PV = an array of any dimensions containing other parameter values ** DATP.E = the errors associated to DATA (same size) ** DATP.TIME = string date of the experiment.

Parameters

INST
PATH
FILENAME
STATUS
DATP

File attributes

Modification date: Tue Oct 1 14:38:29 2013
Lines: 99