- Added makefile_slinux
- Changed mesure to be a silver bullet
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user