- Installed a lot of scripted commands for TAS
- Fixed two bugs in sinqhm: * FOCUS server lost sockets * added setSockopt RESUSEADDR for each new socket.
This commit is contained in:
15
fitcenter.c
15
fitcenter.c
@ -447,6 +447,21 @@
|
||||
return 0;
|
||||
break;
|
||||
}
|
||||
|
||||
/*
|
||||
This is a little feature to get the peak without rubbish for
|
||||
the TAS routines
|
||||
*/
|
||||
if(argc > 1)
|
||||
{
|
||||
strtolower(argv[1]);
|
||||
if(strcmp(argv[1],"value") == 0)
|
||||
{
|
||||
sprintf(pBueffel,"%f", self->fCenter);
|
||||
SCWrite(pCon,pBueffel,eValue);
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
/* print results */
|
||||
sprintf(pBueffel,"Estimated Peak Center: %f, StdDev: %f \n",
|
||||
|
Reference in New Issue
Block a user