dac.c File Reference

Library for Data Acquisition; Main. More...

#include "vxWorks.h"
#include "stdlib.h"
#include "stdio.h"
#include "string.h"
#include "taskLib.h"
#include "setjmp.h"
#include "semLib.h"
#include "usrLib.h"
#include "hostLib.h"
#include "ctype.h"
#include "application.conf"

Functions

static void tMaster (void)
static char * mybasename (char *path)
int MYNAME (char *tArgs)

Variables

static SEM_ID rdySem
static SEM_ID rstSem
PARFILE parfile
COMMON common
unsigned short testio [128]
jmp_buf DetachEnv


Detailed Description

Library for Data Acquisition; Main.

Author:
Kurt Huber; Strahlenzentrum J.L.-Universitaet GIESSEN
Date:
16.09.1998
Version:
15.08.2008
modification history
--------------------
15aug08 kHu	DOXYGEN comments added
13feb03 kHu	return of GetArgs(): ERROR/OK -> -1/0/number of processed bytes
02jul02 kHu	uInit(), uReset(), checkStack()
30apr02	kHu	Init task -> Master task
28feb02 kHu	Parameters for background program
18feb02 kHu	Argumente beim Start: PNAME,PTITLE,PARNAM,HLPNAM
19dec00 kHu	Setconf(void) -> Setconf(int mode)
13sep00 kHu	tReadp() -> tMenu
10apr00 kHu	Stack check geaendert
29mar00 kHu	mit dan.c abgeglichen (VXWORKS Checks)
29mar00 kHu	STATUS bereinigt, Clear Status von dac30.c
28okt99 kHu	x.conf x.h neu geordnet
21sep99 kHu	ueberarbeitet
20jan99 kHu	include Header Files geaendert
22dec98 kHu	Trennen in daclib und exlib
22dec98 kHu	Terres() von dac20.c nach dac22.c
16nov98 kHu     Umstellung von Newspe()
22oct98 kHu     Umstellung auf tReadp()
09oct98 kHu	#include TPHDR
25sep98 kHu	Check task options
23sep98 kHu	Detach/Restart
16sep98 kHu	new: template version DAP from MCA program
15sep98 kHu	dac50: Start von PEAK ueber Hilfstask prgTask()
15sep98 kHu	dac22: Rdname() Dir und File zusammengefasst
15sep98 kHu	dac30: expansion of '~' in file names 
14sep98 kHu	dac50: Pfad von peakv.o neu; koennte besser sein!!!
11sep98 kHu	dac30: Help added
01sep98 kHu	dac, 10: auf neuen Stand gebracht
01sep98 kHu	dac20: tMenu mit Ueberlaenge
27aug96	kHu	Menu und Parameter I/O neu
25mar96	kHu	Ultrix, VxWorks Portierung (C)
04mar86 kHu	PDP11 Version (F77, Macro-11)

Function Documentation

static char * mybasename ( char *  path  )  [static]

int MYNAME ( char *  tArgs  ) 

static void tMaster ( void   )  [static]


Variable Documentation

Initial value:

jmp_buf DetachEnv

Initial value:

SEM_ID rdySem [static]

SEM_ID rstSem [static]

unsigned short testio[128]

Initial value:

 {
        0x5000, 0x5000, 0x0008, 0x0008, 0, 0, 0, 0,
        0, 0, 0, 0, 0, 0, 0, 0,
        0, 0, 0, 0, 0, 0, 0, 0,
        0, 0, 0, 0, 0, 0, 0, 0,
        0, 0, 0, 0, 0, 0, 0, 0,
        0, 0, 0, 0, 0, 0, 0, 0,
        0, 0, 0, 0, 0, 0, 0, 0,
        0, 0, 0, 0, 0, 0, 0, 0,
        0xff49, 0xff50, 0xff41, 0xff43, 1, 0, 0, 0,
        0, 0, 20, 0, 
        0xff53, 0xff54, 0xff52, 0xff5a, 0xff64, 0xff61, 0xff74, 0xff61,
}


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