diff --git a/nextrics.c b/nextrics.c index b60539a..e1ecb11 100644 --- a/nextrics.c +++ b/nextrics.c @@ -15,6 +15,10 @@ Revised: Mark Koennecke, October 2000 Revised: Mark Koennecke, July 2001 + + This is defunct as of 2009. + + Mark Koennecke, March 2009 ----------------------------------------------------------------------------*/ #include #include diff --git a/poldizug.c b/poldizug.c index 81aa512..98d0ee4 100644 --- a/poldizug.c +++ b/poldizug.c @@ -520,7 +520,7 @@ int MakePoldiReiss(SConnection * pCon, SicsInterp * pSics, self->maxPos = atof(argv[7]); self->iMode = FORCE; self->state = OFF; - self->velocity = 10; + self->velocity = 2; PZRCommand(self->controller, pCon, "wr mode 0\r\n", reply, 79); AddCommand(pSics, argv[1], PoldiReissAction, killPoldiZug, self); diff --git a/sinqhttp.c b/sinqhttp.c index cddbfba..be81dec 100644 --- a/sinqhttp.c +++ b/sinqhttp.c @@ -555,6 +555,9 @@ static HistInt *SinqHttpSubSample(pHistDriver self, SConnection * pCon, status = sinqHttpGet(pPriv, command); if (status != 1) { + if(pCon != NULL){ + SCPrintf(pCon,eError,"ERROR: subsampling failed with %s", pPriv->hmError); + } return NULL; } @@ -695,3 +698,11 @@ pHistDriver CreateSinqHttpDriver(pStringDict pOption) return pNew; } +/*-------------------------------------------------------------------------*/ +int isSINQHTTP(pHistDriver self){ + if(self->Start == SinqHttpStart){ + return 1; + } else { + return 0; + } +}