dac43.c File Reference

Library for Data Acquisition; List Mode data transfer. More...

#include "vxWorks.h"
#include "stdlib.h"
#include "stdio.h"
#include "string.h"
#include "taskLib.h"
#include "ctype.h"
#include "signal.h"
#include "setjmp.h"
#include "sysSymTbl.h"
#include "symLib.h"
#include "wdLib.h"
#include "ioLib.h"
#include "semLib.h"
#include "sysLib.h"
#include "nfsLib.h"
#include "rpcLib.h"
#include "application.conf"

Defines

#define MAXFILNAM   PATH_MAX
#define MAXLISBUF   1000
#define LISBUFLEN   8192
#define BRKTASK   "tLisBrk"
#define BRKPRIO   LISTPRIO
#define BRKSTACK   5000
#define BRKOPT   0

Functions

static int strtLis (void)
static int stopLis (void)
static void tBreak (void)
static void tList (void)
int LisCtl (int mode)
int LisTra (char *data, int dlen)

Variables

static FILE * fd = NULL
static BOOL stop
static SEM_ID rdySem
static SEM_ID stpSem
static SEM_ID synSem
static int stpcntl = 0
static int bufin
static int bufout
static char fname [MAXFILNAM]
struct {
   int   status
   int   datcnt
   char *   bufptr
buffers [MAXLISBUF]


Detailed Description

Library for Data Acquisition; List Mode data transfer.

Author:
Kurt Huber; Strahlenzentrum J.L.-Universitaet GIESSEN
Date:
10.04.2002
Version:
15.08.2008
modification history
--------------------
15aug08 kHu	DOXYGEN comments added
16apr03 kHu	Fit gemacht fuer -Wall GCC-Option
02jul02 kHu	uInit(), uReset() -> uClear
10apr02 kHu	new

Define Documentation

#define BRKOPT   0

#define BRKPRIO   LISTPRIO

#define BRKSTACK   5000

#define BRKTASK   "tLisBrk"

#define LISBUFLEN   8192

#define MAXFILNAM   PATH_MAX

#define MAXLISBUF   1000


Function Documentation

int LisCtl ( int  mode  ) 

int LisTra ( char *  data,
int  dlen 
)

static int stopLis ( void   )  [static]

static int strtLis ( void   )  [static]

static void tBreak ( void   )  [static]

static void tList ( void   )  [static]


Variable Documentation

struct { ... } buffers[MAXLISBUF] [static]

int bufin [static]

int bufout [static]

char* bufptr

int datcnt

FILE* fd = NULL [static]

char fname[MAXFILNAM] [static]

SEM_ID rdySem [static]

int status

BOOL stop [static]

int stpcntl = 0 [static]

SEM_ID stpSem [static]

SEM_ID synSem [static]


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