Experimental Physics and
| |||||||||||||||
|
We have noticed a problem with the subArray record. Periodically the INDX field is set to zero. I have not been able to track down the trigger for this event. The record does set indx to zero if nord (number of elements read) is less than or equal to zero. From subArrayRecord.c, the readValue() function. if (psa->nord <= 0) { status = -1; psa->indx = 0; } return(status); The status is not used in process() to indicate an error. This is the only explanation I have for what we see. I tried to trace back to when nord is set to indicate an error and became hopelessly confused while looking at dbGetLink(). Following this path I could not see how nord was set to an error state. It seemed that the values that are used to calculate nord are always good. Any suggestions? Has anyone tried to develop sub array device support? Thanks Geoff
| ||||||||||||||
ANJ, 10 Aug 2010 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |