Files
sics/event.h
koennecke 1afe142812 - Removed old code
- Extended tasker to support task groups
- Added task functions for motors and counters
- Modifed devexec to use the new task functions
- Modified TAS to treat the monochromator separatly
- Coded a EIGER monochromator module to reflect even more new
  requirements
- Added EPICS counters and motors
- Modified multicounter to be better performing


SKIPPED:
	psi/eigermono.c
	psi/make_gen
	psi/makefile_linux
	psi/psi.c
	psi/sinqhttp.c
2013-04-02 15:13:35 +00:00

77 lines
1.6 KiB
C

#line 108 "event.w"
/*----------------------------------------------------------------------------
E V E N T
This header file lists the event codes known to SICS. These event code
are used in callback functions. Where apropriate, the event data
structures are also defined in this file.
Mark Koennecke, 1997
----------------------------------------------------------------------------*/
#ifndef SICSEVENT
#define SICSEVENT
#line 13 "event.w"
int Text2Event(char *pText);
#line 121 "event.w"
#line 20 "event.w"
#define VALUECHANGE 0
#define MOTDRIVE 1
#define MONITOR 2
#define ROTSTART 3
#define ROTMOVE 4
#define SCANEND 5
#define SCANSTART 6
#define SCANPOINT 7
#define WLCHANGE 8
#define REFLECTIONDONE 9
#define COUNTSTART 10
#define COUNTEND 11
#define FILELOADED 12
#define MOTEND 13
#define BATCHSTART 14
#define BATCHAREA 15
#define BATCHEND 16
#define DRIVSTAT 17
#define STATUS 18
#define POSITION 19
#define HDBVAL 20
#define STSTART 21
#define STEND 22
#define NEWTARGET 23
#define DIMCHANGE 24
#define IPAUSE 25
#define CONTINUE 26
#line 123 "event.w"
/*----------------- event data structure for the NEWTARGET event ---------*/
typedef struct {
char *name;
float target;
} NewTarget, *pNewTarget;
/*--------------- Signals for the Signalfunction of each task ------------*/
#line 90 "event.w"
#define SICSINT 300
#define SICSBROADCAST 301
#define TOKENGRAB 302
#define TOKENRELEASE 303
#define COMLOG 304
#define CRONLIST 305
#line 131 "event.w"
#endif