Subject: |
Re: ASYN - calling read after interrupt - fix :) |
From: |
Heinrich du Toit <[email protected]> |
To: |
TechTalk EPICS <[email protected]> |
Date: |
Wed, 10 Oct 2007 10:26:48 +0200 |
>
> static void interruptCallbackInput(void *drvPvt, asynUser *pasynUser,
> epicsFloat64 *value, size_t len)
> {
> devAsynWfPvt *pPvt = (devAsynWfPvt *)drvPvt;
> waveformRecord *pwf = (waveformRecord *)pPvt->pr;
> int i;
> epicsFloat64 *pfloat64 = (epicsFloat64 *)pwf->bptr;
>
> asynPrintIO(pPvt->pasynUser, ASYN_TRACEIO_DEVICE,
> (char *)value, len*sizeof(epicsFloat64),
> "%s devAsynFloat64Array::interruptCallbackInput\n",
> pwf->name);
> if (len > pwf->nelm) len = pwf->nelm;
> for (i=0; i<len; i++) pfloat64[i] = value[i];
> pPvt->nord = len;
> if (pPvt->gotValue = 0){
> pPvt->gotValue = 1;
> scanIoRequest(pPvt->ioScanPvt);
> }
> }
should be pPvt->gotvalue == 0 offcourse!!!
Sorry
- References:
- ASYN - calling read after interrupt - fix :) Heinrich du Toit
- Navigate by Date:
- Prev:
ASYN - calling read after interrupt - fix :) Heinrich du Toit
- Next:
RE: CAMAC IO Paul Sichta
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
<2007>
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
ASYN - calling read after interrupt - fix :) Heinrich du Toit
- Next:
RE: ASYN - calling read after interrupt - fix :) Mark Rivers
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
<2007>
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|