- Make Poldi Tensile device work

- Added error resetting and a coupel of bug fixes for SLS magnets
- Implemented new table driving mode for MARS
This commit is contained in:
koennecke
2007-05-30 11:59:13 +00:00
parent 317aa90840
commit 8fbfe687aa
9 changed files with 729 additions and 108 deletions

7
psi.c
View File

@ -6,7 +6,7 @@
copyright: see file COPYRIGHT
Mark Koennecke, June 2003
Mark Koennecke, June 2003 - May 2007
-----------------------------------------------------------------------*/
#include <stdlib.h>
#include <assert.h>
@ -69,6 +69,9 @@ extern int JulChoFactory(SConnection *pCon, SicsInterp *pSics, void *pData,
/* from ritastorage.c */
extern int MakeRitaFix(SConnection *pCon, SicsInterp *pSics, void *pData,
int argc, char *argv[]);
/* from sanslirebin.c */
extern int MakeSansliRebin(SConnection *pCon, SicsInterp *pSics, void *pData,
int argc, char *argv[]);
/*--------------------------------------------------------------------------*/
void SiteInit(void) {
@ -124,6 +127,7 @@ static void AddPsiCommands(SicsInterp *pInter){
AddCommand(pInter,"MakeJulCho",JulChoFactory,NULL,NULL);
AddCommand(pInter,"MakeRitaFix",MakeRitaFix,NULL,NULL);
AddCommand(pInter,"MakePoldiReiss",MakePoldiReiss,NULL,NULL);
AddCommand(pInter,"MakeSansliRebin",MakeSansliRebin,NULL,NULL);
/*
AddCommand(pInter,"MakeDifrac",MakeDifrac,NULL,NULL);
*/
@ -147,6 +151,7 @@ static void RemovePsiCommands(SicsInterp *pSics){
RemoveCommand(pSics,"MakeJulCho");
RemoveCommand(pSics,"MakeRitaFix");
RemoveCommand(pSics,"MakePoldiReiss");
RemoveCommand(pSics,"MakeSansliRebin");
/*
RemoveCommand(pSics,"MakeDifrac");
*/