- 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:
7
obpar.c
7
obpar.c
@ -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;
|
||||
|
Reference in New Issue
Block a user