One typo and forgetting to clear a temporary variable meant that the list of candidates for removal never shrank while pruning reflectometer/config/motors/sct_batmotor.tcl The beam attenuator is on axis D not A. Also provide statemon feedback, "busy" or "idle" sans/config/velsel/velsel.tcl Update velocity selector parameters for NVS 43 SICS-374 sans/config/velsel/sct_velsel.tcl Set velocity selector identifier script_context_util.tcl Don't override the "klass' attribute, just make sure that it matches the hdb klass property if it's defined. event.h and statemon.c Added statemon BUSY and IDLE events for the scbat because it when it oscillates it's busy doing something. r2875 | ffr | 2010-01-22 20:41:36 +1100 (Fri, 22 Jan 2010) | 18 lines
72 lines
1.4 KiB
C
72 lines
1.4 KiB
C
|
|
#line 100 "event.w"
|
|
|
|
/*----------------------------------------------------------------------------
|
|
E V E N T
|
|
|
|
This header file lists the event codes known to SICS. These event code
|
|
are used in callback functions. Where apropriate, the event data
|
|
structures are also defined in this file.
|
|
|
|
Mark Koennecke, 1997
|
|
|
|
----------------------------------------------------------------------------*/
|
|
#ifndef SICSEVENT
|
|
#define SICSEVENT
|
|
|
|
#line 13 "event.w"
|
|
|
|
int Text2Event(char *pText);
|
|
|
|
#line 113 "event.w"
|
|
|
|
|
|
|
|
#line 20 "event.w"
|
|
|
|
#define VALUECHANGE 0
|
|
#define MOTDRIVE 1
|
|
#define MONITOR 2
|
|
#define ROTSTART 3
|
|
#define ROTMOVE 4
|
|
#define SCANEND 5
|
|
#define SCANSTART 6
|
|
#define SCANPOINT 7
|
|
#define WLCHANGE 8
|
|
#define REFLECTIONDONE 9
|
|
#define COUNTSTART 10
|
|
#define COUNTEND 11
|
|
#define FILELOADED 12
|
|
#define MOTEND 13
|
|
#define BATCHSTART 14
|
|
#define BATCHAREA 15
|
|
#define BATCHEND 16
|
|
#define DRIVSTAT 17
|
|
#define STATUS 18
|
|
#define POSITION 19
|
|
#define HDBVAL 20
|
|
#define STSTART 21
|
|
#define STEND 22
|
|
#define STPAUSE 23
|
|
#define STCONTINUE 24
|
|
#define STBUSY 25
|
|
#define STIDLE 26
|
|
|
|
#line 115 "event.w"
|
|
|
|
|
|
/*--------------- Signals for the Signalfunction of each task ------------*/
|
|
|
|
#line 82 "event.w"
|
|
|
|
#define SICSINT 300
|
|
#define SICSBROADCAST 301
|
|
#define TOKENGRAB 302
|
|
#define TOKENRELEASE 303
|
|
#define COMLOG 304
|
|
#define CRONLIST 305
|
|
|
|
#line 118 "event.w"
|
|
|
|
#endif
|