Files
sics/status.h
Ferdi Franceschini 10d29d597c Cleaned up ANSTO code to merge with sinqdev.sics
This is our new RELEASE-4_0 branch which was taken from ansto/93d9a7c
Conflicts:
	.gitignore
	SICSmain.c
	asynnet.c
	confvirtualmot.c
	counter.c
	devexec.c
	drive.c
	event.h
	exebuf.c
	exeman.c
	histmem.c
	interface.h
	motor.c
	motorlist.c
	motorsec.c
	multicounter.c
	napi.c
	napi.h
	napi4.c
	network.c
	nwatch.c
	nxscript.c
	nxxml.c
	nxxml.h
	ofac.c
	reflist.c
	scan.c
	sicshipadaba.c
	sicsobj.c
	site_ansto/docs/Copyright.txt
	site_ansto/instrument/lyrebird/config/tasmad/sicscommon/nxsupport.tcl
	site_ansto/instrument/lyrebird/config/tasmad/taspub_sics/tasscript.tcl
	statusfile.c
	tasdrive.c
	tasub.c
	tasub.h
	tasublib.c
	tasublib.h
2015-04-23 20:49:26 +10:00

43 lines
917 B
C

/*--------------------------------------------------------------------------
The Status object. Holds the current status of the SICS server.
Mark Koennecke, November 1996
copyright: see implementation file
----------------------------------------------------------------------------*/
#ifndef SICSSTATUS
#define SICSSTATUS
typedef enum {
eEager,
eUserWait,
eCounting,
eOutOfBeam,
ePaused,
eDriving,
eRunning,
eScanning,
eWriting,
eBatch,
eHalted,
eDead,
eInput,
eCountDrive,
eWorking
} Status;
/* for status display */
void KillStatus(void *pData);
Status GetStatus(void);
void GetStatusText(char *buf, int iBufLen);
int UserStatus(SConnection * pCon, SicsInterp * pSics, void *pData,
int argc, char *argv[]);
int ResetStatus(SConnection * pCon, SicsInterp * pSics, void *pData,
int argc, char *argv[]);
void InitStatus(void);
#endif