- Fixed a bug in conman.c which could cause a core dump when terminating
a connection during an active run. - Added an additional output mode for the connection in order to support the batch run editor. - Made clientput send everything with eWarning mode in order to support the batch run editor. - Added a better NetReadTillTerm - Fixed a problem in synchronize.c - Fixed an issue with reading empty line on normal connection sockets. - Added a psi scan mode to mesure.c for TRICS - Made motor print warnings when trying to reposition. - Fixed abug in hkl.c which cause wrong signs. SKIPPED: psi/el734driv.c psi/el734hp.c psi/el737driv.c psi/el737hpdriv.c psi/nextrics.c psi/nxamor.c psi/psi.c psi/slsmagnet.c psi/swmotor2.c psi/tasscan.c psi/tasutil.c
This commit is contained in:
8
status.c
8
status.c
@ -7,6 +7,9 @@
|
||||
added callback facilities and interst command.
|
||||
Mark Koennecke, August 1997
|
||||
|
||||
Updated in order to prevent status floods
|
||||
Mark Koennecke, July 2004
|
||||
|
||||
Copyright:
|
||||
|
||||
Labor fuer Neutronenstreuung
|
||||
@ -39,6 +42,7 @@
|
||||
-----------------------------------------------------------------------------*/
|
||||
#include <stdlib.h>
|
||||
#include <assert.h>
|
||||
#include <time.h>
|
||||
#include "fortify.h"
|
||||
#include <string.h>
|
||||
#include "sics.h"
|
||||
@ -48,7 +52,6 @@
|
||||
#undef VALUECHANGE
|
||||
#define VALUECHANGE 2
|
||||
|
||||
static Status eCode = eEager;
|
||||
|
||||
static char *pText[] = {
|
||||
"Eager to execute commands",
|
||||
@ -65,6 +68,7 @@
|
||||
"Dead",
|
||||
"Waiting for User Input",
|
||||
"Counting/Driving",
|
||||
"Working",
|
||||
NULL };
|
||||
|
||||
static char *iText[] = {
|
||||
@ -82,10 +86,12 @@
|
||||
"dead",
|
||||
"input",
|
||||
"count/drive",
|
||||
"working",
|
||||
NULL };
|
||||
|
||||
static pICallBack pCall = NULL;
|
||||
static int fixed = 0;
|
||||
static Status eCode = eEager;
|
||||
/*-------------------------------------------------------------------------*/
|
||||
void KillStatus(void *pData)
|
||||
{
|
||||
|
Reference in New Issue
Block a user