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
This commit is contained in:
21
devexec.h
21
devexec.h
@@ -1,5 +1,5 @@
|
||||
|
||||
#line 202 "devexec.w"
|
||||
#line 204 "devexec.w"
|
||||
|
||||
/*----------------------------------------------------------------------------
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
int StartCounter(pExeList self, SicsInterp *pSics, SConnection *pCon,
|
||||
int level, char *name);
|
||||
|
||||
#line 249 "devexec.w"
|
||||
#line 251 "devexec.w"
|
||||
|
||||
/*------------------------------------------------------------------------*/
|
||||
|
||||
@@ -77,8 +77,10 @@
|
||||
int DevExecTask(void *pEL);
|
||||
void DevExecSignal(void *pEL, int iSignal, void *pSigData);
|
||||
|
||||
int GetDevExecInstStatus(pExeList self);
|
||||
|
||||
#line 251 "devexec.w"
|
||||
|
||||
#line 253 "devexec.w"
|
||||
|
||||
|
||||
/*
|
||||
@@ -98,7 +100,7 @@
|
||||
*/
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
#line 142 "devexec.w"
|
||||
#line 144 "devexec.w"
|
||||
|
||||
int StopExe(pExeList self, char *name);
|
||||
int StopExeWait(pExeList self);
|
||||
@@ -122,7 +124,7 @@
|
||||
int ContinueExecution(pExeList self);
|
||||
|
||||
|
||||
#line 269 "devexec.w"
|
||||
#line 271 "devexec.w"
|
||||
|
||||
/*-------------------------- Commands ------------------------------------*/
|
||||
int DevexecAction(SConnection *pCon, SicsInterp *pSics, void *pData,
|
||||
@@ -164,13 +166,13 @@
|
||||
|
||||
/*--------------------------- Locking ---------------------------------*/
|
||||
|
||||
#line 190 "devexec.w"
|
||||
#line 192 "devexec.w"
|
||||
|
||||
void LockDeviceExecutor(pExeList self);
|
||||
void UnlockDeviceExecutor(pExeList self);
|
||||
|
||||
|
||||
#line 309 "devexec.w"
|
||||
#line 311 "devexec.w"
|
||||
|
||||
/* -------------------------- Executor management -------------------------*/
|
||||
|
||||
@@ -184,5 +186,8 @@
|
||||
*/
|
||||
void *GetExecutorCallback(pExeList self);
|
||||
/*----------------------- Logging -----------------------------------------*/
|
||||
void DevexecLog(char *op, char *device);
|
||||
void DevexecLog(char *op, char *device);
|
||||
void ExeInterest(pExeList pExe, char *name, char *action);
|
||||
void InvokeNewTarget(pExeList pExe, char *name, float fTarget);
|
||||
void SetDevexecStatus(pExeList pExe, int code);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user