- Extended sicshdbadapter to attach a node to the target of any
drivable. Required a new event in devexec.c - Fixed the phytron driver to handle speed well - Added a protocol driver for the TCP/IP bridge to the SLS magnets SKIPPED: psi/make_gen psi/phytron.c psi/psi.c psi/slsecho.c psi/sps.c
This commit is contained in:
7
event.w
7
event.w
@ -41,6 +41,7 @@ if the event code is not known, else the apropriate event code.
|
||||
#define HDBVAL 20
|
||||
#define STSTART 21
|
||||
#define STEND 22
|
||||
#define NEWTARGET 23
|
||||
@}
|
||||
\begin{description}
|
||||
\item[VALUECHANGE] This is a variable changing its value. As event data a pointer to the
|
||||
@ -71,6 +72,7 @@ operation.
|
||||
\item[POSITION] ANSTO defined code
|
||||
\item[HDBVAL] The Hdb is notified of a value change. The eventData will be
|
||||
the object on which the data changed.
|
||||
\item[NEWTARGET] is invoked when a new target has been set on a drivable.
|
||||
\end{description}
|
||||
|
||||
Furthermore event contains system wide signal codes which are interpreted in
|
||||
@ -114,6 +116,11 @@ data is the string to send.
|
||||
|
||||
@<VE@>
|
||||
|
||||
/*----------------- event data structure for the NEWTARGET event ---------*/
|
||||
typedef struct {
|
||||
char *name;
|
||||
float target;
|
||||
} NewTarget, *pNewTarget;
|
||||
/*--------------- Signals for the Signalfunction of each task ------------*/
|
||||
@<VSIG@>
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user