#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) |
modification history -------------------- 17sep08 kHu DOXYGEN comments added 13jan03 kHu new from ecfm1
#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 |
static float dac2vlt | ( | long | dacuni | ) | [static] |
int MakeECF | ( | void | ) |
static long vlt2dac | ( | float | volts | ) | [static] |