- Added makefile_slinux

- Changed mesure to be a silver bullet
This commit is contained in:
koennecke
2005-03-03 13:54:22 +00:00
parent 000bb7b4a8
commit 835177dc0a
7 changed files with 137 additions and 68 deletions

View File

@ -28,6 +28,7 @@
#include <motor.h>
#include <scan.h>
#include <scan.i>
#include <lld.h>
#include "tas.h"
#include "tasu.h"
#include "../scanvar.h"
@ -930,6 +931,8 @@ static int AddTASScanVar(pScanData self, SicsInterp *pSics, SConnection *pCon,
pVar.pObject = pData;
pVar.fStart = fStart;
pVar.fStep = fStep;
pVar.fData = NULL;
pVar.dataList = LLDcreate(sizeof(float));
/* put it away */
DynarPutCopy(self->pScanVar,self->iScanVar,&pVar,sizeof(VarEntry));
@ -1494,7 +1497,7 @@ int TASScan(SConnection *pCon, SicsInterp *pSics, void *pData,
psTime = localtime(&iDate);
memset(pWork,0,69);
strftime(pWork,69,"%d-%b-%Y %H:%M:%S",psTime);
sprintf(pLine,"%8s %3d Points Scan %3d Scanned Variable(s) %s",
snprintf(pLine,1023,"%8s %3d Points Scan %3d Scanned Variable(s) %s",
pTAS->tasPar[INST]->text,
pTAS->pScan->iNP, pTAS->pScan->iScanVar,
pWork);