- Added file checking and listings to exeman
- Fixed some problems with mesure - Fixed issues with tasub
This commit is contained in:
@ -329,19 +329,23 @@ static int calculateAndDrive(ptasMot self, SConnection *pCon){
|
||||
switch(status){
|
||||
case ENERGYTOBIG:
|
||||
SCWrite(pCon,"ERROR: desired energy to big",eError);
|
||||
self->math->mustDrive = 0;
|
||||
return HWFault;
|
||||
break;
|
||||
|
||||
case UBNOMEMORY:
|
||||
SCWrite(pCon,"ERROR: out of memory calculating angles",eError);
|
||||
self->math->mustDrive = 0;
|
||||
return HWFault;
|
||||
break;
|
||||
case BADRMATRIX:
|
||||
SCWrite(pCon,"ERROR: bad crystallographic parameters or bad UB",eError);
|
||||
self->math->mustDrive = 0;
|
||||
return HWFault;
|
||||
break;
|
||||
case TRIANGLENOTCLOSED:
|
||||
SCWrite(pCon,"ERROR: cannot close scattering triangle",eError);
|
||||
self->math->mustDrive = 0;
|
||||
return HWFault;
|
||||
break;
|
||||
default:
|
||||
|
Reference in New Issue
Block a user