- 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
This commit is contained in:
13
interface.w
13
interface.w
@ -137,6 +137,8 @@ environment controllers fit this bill as well.
|
||||
int GetDrivablePosition(void *pObject, SConnection *pCon,
|
||||
float *fPos);
|
||||
|
||||
long StartDriveTask(void *self, SConnection *pCon, char *name, float fTarget);
|
||||
|
||||
@}
|
||||
The first member of this structure is an ID which can be used in order to
|
||||
check if the right datastructure has been obtained.
|
||||
@ -181,6 +183,11 @@ will be returned.
|
||||
object. If the device is a motor corrections for zero points and signs
|
||||
will be applied. Returns 1 on success and 0 on failure}
|
||||
|
||||
{\bf StartDriveTask starts a drivable in a new task. If the task can be started, its
|
||||
task ID is returned. -1 is returned on failure.
|
||||
}
|
||||
|
||||
|
||||
\subsubsection{The Countable Interface}
|
||||
This is an interface for interacting with anything which counts.
|
||||
|
||||
@ -203,6 +210,7 @@ This is an interface for interacting with anything which counts.
|
||||
int GetCountLock(pICountable self, SConnection *pCon);
|
||||
void ReleaseCountLock(pICountable self);
|
||||
int isRunning(pICountable self);
|
||||
long StartCountTask(void *self, SConnection *pCon, char *name);
|
||||
@}
|
||||
|
||||
{\bf running } Is a flag which says if the counter is operating or not.
|
||||
@ -236,6 +244,11 @@ will be returned.
|
||||
{\bf ReleaseCountLock} release the count lock.
|
||||
|
||||
{\bf isRunning} returns the running flag.
|
||||
|
||||
{\bf StartCountTask starts a countable in a new task. If the task can be started, its
|
||||
task ID is returned. -1 is returned on failure.
|
||||
}
|
||||
|
||||
|
||||
\subsubsection{The Callback Interface}
|
||||
The Callback Interface is SICS suport for component behaviour for objects.
|
||||
|
Reference in New Issue
Block a user