sMore debugging output in devScalerEL737
This commit is contained in:
@ -2,7 +2,7 @@
|
|||||||
include /ioc/tools/driver.makefile
|
include /ioc/tools/driver.makefile
|
||||||
|
|
||||||
MODULE=sinq
|
MODULE=sinq
|
||||||
LIBVERSION=brambilla_m
|
LIBVERSION=brambilla_m_test
|
||||||
BUILDCLASSES=Linux
|
BUILDCLASSES=Linux
|
||||||
EPICS_VERSIONS=3.14.12 7.0.4.1
|
EPICS_VERSIONS=3.14.12 7.0.4.1
|
||||||
ARCH_FILTER=RHEL7-x86_64
|
ARCH_FILTER=RHEL7-x86_64
|
||||||
|
@ -40,6 +40,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <errno.h>
|
||||||
#include <asynOctetSyncIO.h>
|
#include <asynOctetSyncIO.h>
|
||||||
#include <epicsEvent.h>
|
#include <epicsEvent.h>
|
||||||
#include <epicsThread.h>
|
#include <epicsThread.h>
|
||||||
@ -490,8 +491,8 @@ static void runEvents(EL737priv *priv)
|
|||||||
|
|
||||||
|
|
||||||
if(status != asynSuccess){
|
if(status != asynSuccess){
|
||||||
errlogPrintf("devScalerEL737::el737Thread communication problem %s\n",
|
errlogPrintf("devScalerEL737::el737Thread communication problem %s\n, errno =%d",
|
||||||
priv->asynContext->errorMessage);
|
priv->asynContext->errorMessage, errno);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -505,8 +506,8 @@ static void updateValues(EL737priv *priv)
|
|||||||
strcpy(command,"RA");
|
strcpy(command,"RA");
|
||||||
status = el737_transactCommand(priv,command,reply);
|
status = el737_transactCommand(priv,command,reply);
|
||||||
if(status != asynSuccess){
|
if(status != asynSuccess){
|
||||||
errlogPrintf("devScalerEL737::el737Thread communication problem %s\n",
|
errlogPrintf("devScalerEL737::el737Thread communication problem %s, errno = %d\n",
|
||||||
priv->asynContext->errorMessage);
|
priv->asynContext->errorMessage, errno);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
status = sscanf(reply, "%f %ld %ld %ld %ld %ld %ld %ld %ld",
|
status = sscanf(reply, "%f %ld %ld %ld %ld %ld %ld %ld %ld",
|
||||||
|
Reference in New Issue
Block a user