ecfshow.conf File Reference

ECFshow: Shows Experiment Control Files; Configuration File. More...

#include "exlib.conf"
#include "danlib.conf"
#include "exlib.h"
#include "danlib.h"
#include "ecfshow.h"

Data Structures

union  SPCHDR
struct  SPCHDR::ECF_VAX_type
struct  SPCHDR::ECF_0_type
struct  SPCHDR::ECF_1_type

Defines

#define CPNAME   "ECFshow"
#define CPTITL   "Shows Experiment Control Files"
#define CPDATE   "(12Aug03/Hu)"
#define CEXPMNT   "??????"
#define CIDPRG   "ECF"
#define CVERSION   "30mar00"
#define MAXPARs   16
#define MFILNA   70
#define INISTACK   5000
#define INICHCK   VX_FP_TASK
#define INIOPT   VX_FP_TASK
#define MSTRTASK   "tEcfshMstr"
#define MSTRPRIO   100
#define MSTRSTACK   8000
#define MSTROPT   VX_FP_TASK
#define MSTROPT   VX_FP_TASK
#define CPARNA   "~/ex_home/ex_param/ecfshowpar.vxw"
#define CDFNAM   "~/ex_home/ex_data/xxxx.ecf"
#define CHLPNA   "~/ex_home/ex_help/ecfhlp.txt"
#define CTRLECF   ".ecf"
#define NOxImport
#define ffPARFILE   parfile
#define ffPARMTR   parfile.parmtr
#define ffEXLIBPAR   parfile.exlibpar
#define ccCOMMON   common
#define ccPARMTR   common.parmtr
#define ccDANLIBCOM   common.danlibcom
#define ccEXLIBCOM   common.exlibcom
#define ccHDATA   common.auxhdat
#define IDPAR   ffPARMTR.idpar
#define PIDPRG   ffPARMTR.idprg
#define PVERSION   ffPARMTR.version
#define DFLTPAR   ffPARMTR.dflts
#define PEXPMNT   ffPARMTR.pexpmnt
#define SP0NAM   ffPARMTR.sp0nam
#define PFNAME   ccPARMTR.pfname
#define HEADER0   ccPARMTR.header0
#define CHDLEN   "1"
#define CEXPMNT   "??????"
#define CSPTYPE   "ECF"
#define CROWS   " 1"
#define CCOLS   " 65536"
#define CBYTES   "1"
#define CLTXT   " 80"
#define CDFTXT   "ESS Control File --- Strahlenzentrum Universitaet Giessen"
#define INITSPCHDR   {{0,0}}
#define ACCv(v)
#define ACC0(v)
#define ACC1(v)
#define ACC01(v)
#define ECFSTATUSv   ACCv(status)
#define ECFLENGTHv   ACCv(length)
#define ECFBLOCKSv   ACCv(blocks)
#define ECFBLOCKMv   ACCv(blockm)
#define ECFBLOCKDv   ACCv(blockd)
#define ECFTYPEv   ACCv(ecftyp)
#define ECFCHANSv   ACCv(chans)
#define ECFMINEv   ACCv(mine)
#define ECFMAXEv   ACCv(maxe)
#define ECFOFFTIMEv   ACCv(offtime)
#define ECFONTIMEv   ACCv(ontime)
#define ECFGUNTYP   ACC01(guntyp)
#define ECFCOMMNT   ACC01(commnt)
#define ECFLENGTH   ACC01(length)
#define ECFTYPE   ACC01(ecftyp)
#define ECFCHANS   ACC01(chans)
#define ECFMINE   ACC0(mine)
#define ECFMAXE   ACC0(maxe)
#define ECFSTTIME   ACC0(sttime)
#define ECFOFFTIME   ACC0(offtime)
#define ECFONTIME   ACC0(ontime)
#define ECFTXTPTR   ACC1(txtptr)
#define MAXSPECS   1
#define MAXHTYPS   3
#define USHMAX   4
#define HDSCR_ECF_VAX   "208i1 1i2 1i4 3i2 16i1 1i2 4f4"
#define HDSCR_ECF_0   "208i1 304i1"
#define HDSCR_ECF_1   "208i1 304i1"
#define INITHTYPES
#define INITSPEPNTR

Enumerations

enum  headertypes {
  MTX_HEADER, MCA_HEADER, MCT_HEADER, MS2_HEADER,
  MSC_HEADER, PCM_HEADER, MCA_VAX_HEADER, MCA_VXW_HEADER,
  ALL_VAX_HEADER, ALL_VXW_HEADER, MCA_VAX_HEADER, MCA_VXW_HEADER,
  ALL_VAX_HEADER, ALL_VXW_HEADER, DRM_HEADER, ECF_1_HEADER,
  ECF_1_HEADER, ECF_1_HEADER, ECF_1_HEADER, ECF_1_HEADER,
  ECF_1_HEADER, ECF_1_HEADER, ECF_1_HEADER, ECF_VAX_HEADER,
  ECF_0_HEADER, ECF_1_HEADER, ECF_1_HEADER, ESI_VAX_HEADER,
  ESW_VAX_HEADER, ESW_VXW_HEADER, ESS_VAX_HEADER, ESS_VXW_HEADER,
  ESS_HEADER, ECF_HEADER, ESW_HEADER, MASS_HEADER,
  ESW_VAX_HEADER, ESW_VXW_HEADER, ESS_VAX_HEADER, ESS_VXW_HEADER
}


Detailed Description

ECFshow: Shows Experiment Control Files; Configuration File.

Author:
Kurt Huber; Strahlenzentrum J.L.-Universitaet GIESSEN
Date:
30.03.2000
Version:
17.09.2008
modification history
--------------------
17sep08 kHu	DOXYGEN comments added
17sep08 kHu	*.conf, *.h Files neu geordnet
08aug02	kHu	Init task -> Master task
17may02 kHu	more args on Start: PNAME,PTITLE,PARNAM,HLPNAM,stmode
04oct00 kHu	Uebergabe fuer Name von Parameter-File (PFNAME)
30mar00 kHu	new from ECF

Define Documentation

#define ACC0 (  ) 

Value:

(*( (CHTDATA == ECF_0_HEADER) ?                 \
        &(((struct ECF_0_type *)XHSPCD)->v) :           \
        &(((struct ECF_0_type *)Illacc(#v))->v) ))

#define ACC01 (  ) 

Value:

(*( (CHTDATA == ECF_0_HEADER) ?                 \
        &(((struct ECF_0_type *)XHSPCD)->v) :           \
        (CHTDATA == ECF_1_HEADER) ?                     \
        &(((struct ECF_1_type *)XHSPCD)->v) :           \
        &(((struct ECF_1_type *)Illacc(#v))->v) ))

#define ACC1 (  ) 

Value:

(*( (CHTDATA == ECF_1_HEADER) ?                 \
        &(((struct ECF_1_type *)XHSPCD)->v) :           \
        &(((struct ECF_1_type *)Illacc(#v))->v) ))

#define ACCv (  ) 

Value:

(*( (CHTDATA == ECF_VAX_HEADER) ?                       \
        &(((struct ECF_VAX_type *)XHSPCD)->v) :         \
        &(((struct ECF_VAX_type *)Illacc(#v))->v) ))

#define CBYTES   "1"

#define ccCOMMON   common

#define ccDANLIBCOM   common.danlibcom

#define ccEXLIBCOM   common.exlibcom

#define ccHDATA   common.auxhdat

#define CCOLS   " 65536"

#define ccPARMTR   common.parmtr

#define CDFNAM   "~/ex_home/ex_data/xxxx.ecf"

#define CDFTXT   "ESS Control File --- Strahlenzentrum Universitaet Giessen"

#define CEXPMNT   "??????"

#define CEXPMNT   "??????"

#define CHDLEN   "1"

#define CHLPNA   "~/ex_home/ex_help/ecfhlp.txt"

#define CIDPRG   "ECF"

#define CLTXT   " 80"

#define CPARNA   "~/ex_home/ex_param/ecfshowpar.vxw"

#define CPDATE   "(12Aug03/Hu)"

#define CPNAME   "ECFshow"

#define CPTITL   "Shows Experiment Control Files"

#define CROWS   " 1"

#define CSPTYPE   "ECF"

#define CTRLECF   ".ecf"

#define CVERSION   "30mar00"

#define DFLTPAR   ffPARMTR.dflts

#define ECFBLOCKDv   ACCv(blockd)

#define ECFBLOCKMv   ACCv(blockm)

#define ECFBLOCKSv   ACCv(blocks)

#define ECFCHANS   ACC01(chans)

#define ECFCHANSv   ACCv(chans)

#define ECFCOMMNT   ACC01(commnt)

#define ECFGUNTYP   ACC01(guntyp)

#define ECFLENGTH   ACC01(length)

#define ECFLENGTHv   ACCv(length)

#define ECFMAXE   ACC0(maxe)

#define ECFMAXEv   ACCv(maxe)

#define ECFMINE   ACC0(mine)

#define ECFMINEv   ACCv(mine)

#define ECFOFFTIME   ACC0(offtime)

#define ECFOFFTIMEv   ACCv(offtime)

#define ECFONTIME   ACC0(ontime)

#define ECFONTIMEv   ACCv(ontime)

#define ECFSTATUSv   ACCv(status)

#define ECFSTTIME   ACC0(sttime)

#define ECFTXTPTR   ACC1(txtptr)

#define ECFTYPE   ACC01(ecftyp)

#define ECFTYPEv   ACCv(ecftyp)

#define ffEXLIBPAR   parfile.exlibpar

#define ffPARFILE   parfile

#define ffPARMTR   parfile.parmtr

#define HDSCR_ECF_0   "208i1 304i1"

#define HDSCR_ECF_1   "208i1 304i1"

#define HDSCR_ECF_VAX   "208i1 1i2 1i4 3i2 16i1 1i2 4f4"

#define HEADER0   ccPARMTR.header0

#define IDPAR   ffPARMTR.idpar

#define INICHCK   VX_FP_TASK

#define INIOPT   VX_FP_TASK

#define INISTACK   5000

#define INITHTYPES

Value:

/* ECF-VAX-type */                              \
    {{TRUE},            /* Type valid for spectrum 0 */         \
    CIDHDRvax,          /* Required header ID in IDHDR */       \
    "ESS2",             /* Required program ID in IDPRG */      \
    HDSCR_ECF_VAX,      /* Header descriptor string */          \
    ECF_VAX_HEADER},    /* Header type */                       \
    /* ECF_0-type */                            \
    {{TRUE},            /* Type valid for spectrum 0 */         \
    NULL,               /* Any header ID in IDHDR */            \
    "ECFx",             /* Required program ID in IDPRG */      \
    HDSCR_ECF_0,        /* Header descriptor string */          \
    ECF_0_HEADER},      /* Header type */                       \
    /* ECF_1-type */                            \
    {{TRUE},            /* Type valid for spectrum 0 */         \
    NULL,               /* Any header ID in IDHDR */            \
    "ECF1",             /* Required program ID in IDPRG */      \
    HDSCR_ECF_1,        /* Header descriptor string */          \
    ECF_1_HEADER}

#define INITSPCHDR   {{0,0}}

#define INITSPEPNTR

Value:

/* Spectrum 0 */        \
    {0,0,0,0,0,0,0,0,0,                                         \
    SP0NAM,             /* File name of spectrum */             \
    NULL, NULL, NULL,                                           \
    &HEADER0,           /* Pointer to extracted header */       \
    &HEADER0.hdata.spcdat,      /* Special header data */       \
    &HEADER0,           /* Pointer to extracted header */       \
    &HEADER0.hdata.spcdat,      /* Special header data */       \
    NULL,                                                       \
    {{0},{0},{0},{0}}}

#define MAXHTYPS   3

#define MAXPARs   16

#define MAXSPECS   1

#define MFILNA   70

#define MSTROPT   VX_FP_TASK

#define MSTROPT   VX_FP_TASK

#define MSTRPRIO   100

#define MSTRSTACK   8000

#define MSTRTASK   "tEcfshMstr"

#define NOxImport

#define PEXPMNT   ffPARMTR.pexpmnt

#define PFNAME   ccPARMTR.pfname

#define PIDPRG   ffPARMTR.idprg

#define PVERSION   ffPARMTR.version

#define SP0NAM   ffPARMTR.sp0nam

#define USHMAX   4


Enumeration Type Documentation

Enumerator:
MTX_HEADER 
MCA_HEADER 
MCT_HEADER 
MS2_HEADER 
MSC_HEADER 
PCM_HEADER 
MCA_VAX_HEADER 
MCA_VXW_HEADER 
ALL_VAX_HEADER 
ALL_VXW_HEADER 
MCA_VAX_HEADER 
MCA_VXW_HEADER 
ALL_VAX_HEADER 
ALL_VXW_HEADER 
DRM_HEADER 
ECF_1_HEADER 
ECF_1_HEADER 
ECF_1_HEADER 
ECF_1_HEADER 
ECF_1_HEADER 
ECF_1_HEADER 
ECF_1_HEADER 
ECF_1_HEADER 
ECF_VAX_HEADER 
ECF_0_HEADER 
ECF_1_HEADER 
ECF_1_HEADER 
ESI_VAX_HEADER 
ESW_VAX_HEADER 
ESW_VXW_HEADER 
ESS_VAX_HEADER 
ESS_VXW_HEADER 
ESS_HEADER 
ECF_HEADER 
ESW_HEADER 
MASS_HEADER 
ESW_VAX_HEADER 
ESW_VXW_HEADER 
ESS_VAX_HEADER 
ESS_VXW_HEADER 


Generated on Wed Oct 15 16:17:18 2008 for Experiment-Software by  doxygen 1.5.6