- Updated RITA-2 data files to new NeXus standard
- New HM driver for Delcam CCD camera
This commit is contained in:
@ -249,6 +249,7 @@ static int putFloat(pSICSData self, int argc, char *argv[],
|
||||
int status, pos, *iData = NULL;
|
||||
float fVal;
|
||||
double dVal;
|
||||
char buffer[256];
|
||||
|
||||
assert(self);
|
||||
|
||||
@ -264,8 +265,9 @@ static int putFloat(pSICSData self, int argc, char *argv[],
|
||||
}
|
||||
status = Tcl_GetDouble(InterpGetTcl(pSics),argv[1],&dVal);
|
||||
if(status != TCL_OK){
|
||||
SCWrite(pCon,"ERROR: failed to convert putint value to float",
|
||||
eError);
|
||||
snprintf(buffer,255,"ERROR: faiuld to convert putfloat value %s to float",
|
||||
argv[1]);
|
||||
SCWrite(pCon,buffer,eError);
|
||||
return 0;
|
||||
}
|
||||
iData = getSICSDataPointer(self,pos,pos+1);
|
||||
|
Reference in New Issue
Block a user