- 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:
6
tasub.c
6
tasub.c
@@ -22,6 +22,7 @@
|
||||
#include "tasub.h"
|
||||
#include "tasdrive.h"
|
||||
#include "vector.h"
|
||||
#include "tasmono.h"
|
||||
/*------------------- motor indexes in motor data structure ---------*/
|
||||
#define A1 0
|
||||
#define A2 1
|
||||
@@ -173,6 +174,8 @@ static ptasUB MakeTasUB()
|
||||
pNew->actualEn = .0;
|
||||
pNew->outOfPlaneAllowed = 1;
|
||||
pNew->mustRecalculate = 1;
|
||||
pNew->mono = MakeTasMono();
|
||||
pNew->monoData = pNew;
|
||||
|
||||
return pNew;
|
||||
}
|
||||
@@ -198,6 +201,9 @@ static void KillTasUB(void *pData)
|
||||
if(self->updater != NULL){
|
||||
free(self->updater);
|
||||
}
|
||||
if(self->mono != NULL){
|
||||
free(self->mono);
|
||||
}
|
||||
free(self);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user