EL737 Increase timeout

The EL737 module micht give rise to a failure if the counterbox
does not reply withing 1s. This is the case at FOCUS.
With this commit the timeout is increased to 2s.
This commit is contained in:
brambilla_m
2022-07-21 13:42:31 +02:00
parent 339da2e9ff
commit bb1c10c7cd

View File

@ -232,7 +232,7 @@ static long el737_init_record(scalerRecord *psr, CALLBACK *pcallback)
}
pasynOctetSyncIO->setOutputEos(priv->asynContext,"\r",strlen("\r"));
pasynOctetSyncIO->setInputEos(priv->asynContext,"\r",strlen("\r"));
priv->asynContext->timeout = 1.0;
priv->asynContext->timeout = 2.0;
strcpy(command,"RMT 1");
pasynOctetSyncIO->writeRead(priv->asynContext, command, strlen(command),
reply,sizeof(reply), 1.,&out,&in,&reason);