- Fixed bug with ECB not stopping when no beam
- Fixed synchronisation issues - Fixed hsitogram memory writing from nxscript - Started module for writing SICS interfaces in Tcl - Fixed a bug in scan, which allowed to corrupt files - Fixed memory problems in napi5
This commit is contained in:
10
SCinter.c
10
SCinter.c
@ -52,6 +52,7 @@
|
||||
#include "servlog.h"
|
||||
#include "macro.h"
|
||||
#include "interface.h"
|
||||
#include "motor.h"
|
||||
#include "obdes.h"
|
||||
|
||||
/* M.Z. */
|
||||
@ -354,7 +355,14 @@ extern char *SkipSpace(char *pPtr);
|
||||
pTest = pDum->pDescriptor->GetInterface(pDum,ENVIRINTERFACE);
|
||||
if(pDriv && !pTest)
|
||||
{
|
||||
fVal = pDriv->GetValue(pDum,pServ->dummyCon);
|
||||
if(strcmp(pDum->pDescriptor->name,"Motor") == 0)
|
||||
{
|
||||
MotorGetSoftPosition((pMotor)pDum,pServ->dummyCon,&fVal);
|
||||
}
|
||||
else
|
||||
{
|
||||
fVal = pDriv->GetValue(pDum,pServ->dummyCon);
|
||||
}
|
||||
if(fVal > -990.)
|
||||
{
|
||||
fprintf(fd,"run %s %f\n",pCurrent->pName, fVal);
|
||||
|
Reference in New Issue
Block a user