- Fixed a bug in countersec.c which prevented counting in monitor mode

- Fixes to make the second generation velocity selector driver work
- Modified obpar.c to allow parameter changes while running. This makes
  it possible to collect data at TRICS while cooling down.
This commit is contained in:
koennecke
2009-05-26 09:36:59 +00:00
parent 01c3be2bc3
commit 85880be565
9 changed files with 24 additions and 20 deletions

View File

@ -39,12 +39,12 @@
#include <stdlib.h>
#include <assert.h>
#include <string.h>
#include "Scommon.h"
#include "sics.h"
#include "fortify.h"
#include "conman.h"
#include "status.h"
#include "obpar.h"
#include "devexec.h"
/*------------------------------------------------------------------------*/
int ObParLength(ObPar * self)
@ -175,8 +175,7 @@ int ObParSet(ObPar * self, char *obname, char *name, float fVal,
}
/* are we running? */
eStat = GetStatus();
if (!((eStat == eEager) || (eStat == eBatch))) {
if(DevExecLevelRunning(pServ->pExecutor, RUNDRIVE)){
sprintf(pBueffel, "ERROR: Cannot change parameter while running");
SCWrite(pCon, pBueffel, eError);
return 0;