mass43.c File Reference

MASS: Acquisition of Ion Mass Spectrum; Run ECF Control. More...

#include "vxWorks.h"
#include "stdlib.h"
#include "stdio.h"
#include "string.h"
#include "ctype.h"
#include "signal.h"
#include "setjmp.h"
#include "iv.h"
#include "intLib.h"
#include "sysLib.h"
#include "semLib.h"
#include "ioLib.h"
#include "sys/ioctl.h"
#include "taskLib.h"
#include "math.h"
#include "errno.h"
#include "application.conf"

Defines

#define MPSLOW   EXPAR[0]
#define MPSHIGH   EXPAR[1]
#define MPSSTEP   (MPSHIGH-MPSLOW)/(ICOLS-1)
#define KGAUSS   MPSLOW + MPSSTEP*channel
#define STTIME   EXPAR[11]
#define OFFTIME   EXPAR[12]
#define ONTIME   EXPAR[13]

Functions

static int prepECF (void)
static int strtECF (void)
static int stopECF (void)
static int waitECF (void)
static int contECF (void)
static void tBreak (void)
static void tCtrl (void)
static UINT2 timdata (float ftime, UINT2 mode)
static void intHndlr (int taskid)
int RunECF (mode)

Variables

int errno
static BOOL stop = FALSE
static BOOL wait = FALSE
static SEM_ID semaph1
static SEM_ID semaph2
static int tCtrlReply = OK
static int stpcntl = 0


Detailed Description

MASS: Acquisition of Ion Mass Spectrum; Run ECF Control.

Author:
Kurt Huber; Strahlenzentrum J.L.-Universitaet GIESSEN
Date:
15.03.2001
Version:
15.10.2008
modification history
--------------------
15oct08 kHu	DOXYGEN comments added
16apr03 kHu	Fit gemacht fuer -Wall GCC-Option
15mar01 kHu	new from ESS

Define Documentation

#define KGAUSS   MPSLOW + MPSSTEP*channel

#define MPSHIGH   EXPAR[1]

#define MPSLOW   EXPAR[0]

#define MPSSTEP   (MPSHIGH-MPSLOW)/(ICOLS-1)

#define OFFTIME   EXPAR[12]

#define ONTIME   EXPAR[13]

#define STTIME   EXPAR[11]


Function Documentation

static int contECF ( void   )  [static]

static void intHndlr ( int  taskid  )  [static]

static int prepECF ( void   )  [static]

int RunECF ( mode   ) 

static int stopECF ( void   )  [static]

static int strtECF ( void   )  [static]

static void tBreak ( void   )  [static]

static void tCtrl ( void   )  [static]

static UINT2 timdata ( float  ftime,
UINT2  mode 
) [static]

static int waitECF ( void   )  [static]


Variable Documentation

int errno

SEM_ID semaph1 [static]

SEM_ID semaph2 [static]

BOOL stop = FALSE [static]

int stpcntl = 0 [static]

int tCtrlReply = OK [static]

BOOL wait = FALSE [static]


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