PSI sics-cvs-psi-2006
This commit is contained in:
14
event.w
14
event.w
@@ -32,6 +32,10 @@ if the event code is not known, else the apropriate event code.
|
||||
#define COUNTEND 11
|
||||
#define FILELOADED 12
|
||||
#define MOTEND 13
|
||||
#define BATCHSTART 14
|
||||
#define BATCHAREA 15
|
||||
#define BATCHEND 16
|
||||
#define DRIVSTAT 17
|
||||
@}
|
||||
\begin{description}
|
||||
\item[VALUECHANGE] This is a variable changing its value. As event data a pointer to the
|
||||
@@ -52,7 +56,12 @@ fiffractometer has been measured.
|
||||
\item[COUNTSTART] is an event which signals the start of a counting
|
||||
operation.
|
||||
\item[COUNTEND] is an event signalling the end of a counting operation.
|
||||
\item[MOTEND] signals the end of a driving operation.
|
||||
\item[MOTEND] signals the end of a motor driving operation.
|
||||
\item[BATCHSTART] signals starting batch processing a new buffer
|
||||
\item[BATCHAREA] signals that a new area of the batch file is processing.
|
||||
\item[BATCHEND] signals the end of the batch buffers processing.
|
||||
\item[DRIVSTAT] signals a change in the status of a driving operation
|
||||
(start, finished, fault)
|
||||
\end{description}
|
||||
|
||||
Furthermore event contains system wide signal codes which are interpreted in
|
||||
@@ -66,6 +75,7 @@ possible codes are defined.
|
||||
#define SICSBROADCAST 301
|
||||
#define TOKENGRAB 302
|
||||
#define TOKENRELEASE 303
|
||||
#define COMLOG 304
|
||||
@}
|
||||
\begin{description}
|
||||
\item[SICSINT] An interrupt has ocurred. The signal data is the interrupt
|
||||
@@ -74,7 +84,7 @@ number which ocurred.
|
||||
data is the string to send.
|
||||
\item[TOKENGRAB] A connection has successfully grabbed the control token.
|
||||
\item[TOKENRELEASE] A connection has released the control token.
|
||||
|
||||
\item[COMLOG] A command log message. This is to implement listen mode to the command log.
|
||||
\end{description}
|
||||
@o event.h -d @{
|
||||
/*----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user