- 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:
cvs
2000-12-08 16:01:40 +00:00
parent 876396bb7e
commit 513e2701f0
7 changed files with 443 additions and 48 deletions

View File

@ -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",