- Added a SICS to Hipadaba adapter
- Added a separate polling module to SICS
This commit is contained in:
8
tasub.c
8
tasub.c
@ -1610,9 +1610,13 @@ int TasUBWrapper(SConnection *pCon,SicsInterp *pSics, void *pData,
|
||||
|
||||
strtolower(argv[1]);
|
||||
if(strcmp(argv[1],"mono") == 0){
|
||||
return handleCrystalCommands(&self->machine.monochromator,pCon,argc,argv);
|
||||
status = handleCrystalCommands(&self->machine.monochromator,pCon,argc,argv);
|
||||
self->mustRecalculate = 1;
|
||||
return status;
|
||||
} else if(strcmp(argv[1],"ana") == 0){
|
||||
return handleCrystalCommands(&self->machine.analyzer,pCon,argc,argv);
|
||||
status = handleCrystalCommands(&self->machine.analyzer,pCon,argc,argv);
|
||||
self->mustRecalculate = 1;
|
||||
return status;
|
||||
}else if(strcmp(argv[1],"cell") == 0){
|
||||
if(argc > 2){
|
||||
return tasReadCell(pCon,self,argc,argv);
|
||||
|
Reference in New Issue
Block a user