ecfaux11.c File Reference

ECFaux: Makes General Purpose Sweep Control ECFiles;. More...

#include "vxWorks.h"
#include "stdlib.h"
#include "stdio.h"
#include "string.h"
#include "math.h"
#include "application.conf"

Defines

#define POWNUM   1
#define VLT2DAC   6553.6
#define DACLOW   0x0000
#define DACHIG   0xffff
#define STITLE   " File spezification of ECFaux file"
#define GUNTXT   "DAC OUTPUT SWEEP"
#define CMMNT   ffPARFILE.dataEcf.cmmnt
#define POWTYP   ffPARFILE.dataEcf.powtyp
#define CHANS   ffPARFILE.dataEcf.chans
#define MING   ffPARFILE.dataEcf.ming
#define MAXG   ffPARFILE.dataEcf.maxg
#define STTIME   ffPARFILE.dataEcf.sttime
#define OFFTIME   ffPARFILE.dataEcf.offtime
#define ONTIME   ffPARFILE.dataEcf.ontime
#define RSTIME   ffPARFILE.dataEcf.rstime
#define OPNLEN   (2*CHANS*(2*3+1)+1000)

Functions

static long vlt2dac (float volts)
static float dac2vlt (long dacuni)
int MakeECF (void)


Detailed Description

ECFaux: Makes General Purpose Sweep Control ECFiles;.

Author:
Kurt Huber; Strahlenzentrum J.L.-Universitaet GIESSEN
Date:
13.01.2003
Version:
17.09.2008
modification history
--------------------
17sep08 kHu	DOXYGEN comments added
13jan03 kHu	new from ecfm1

Define Documentation

#define CHANS   ffPARFILE.dataEcf.chans

#define CMMNT   ffPARFILE.dataEcf.cmmnt

#define DACHIG   0xffff

#define DACLOW   0x0000

#define GUNTXT   "DAC OUTPUT SWEEP"

#define MAXG   ffPARFILE.dataEcf.maxg

#define MING   ffPARFILE.dataEcf.ming

#define OFFTIME   ffPARFILE.dataEcf.offtime

#define ONTIME   ffPARFILE.dataEcf.ontime

#define OPNLEN   (2*CHANS*(2*3+1)+1000)

#define POWNUM   1

#define POWTYP   ffPARFILE.dataEcf.powtyp

#define RSTIME   ffPARFILE.dataEcf.rstime

#define STITLE   " File spezification of ECFaux file"

#define STTIME   ffPARFILE.dataEcf.sttime

#define VLT2DAC   6553.6


Function Documentation

static float dac2vlt ( long  dacuni  )  [static]

int MakeECF ( void   ) 

static long vlt2dac ( float  volts  )  [static]


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