Experimental Physics and
| |||||||||||||||||
|
I had also just run into this. It is also a bug in the makeBpt program to generate a table from raw data. It produces nonsense if the raw ADC values are in decreasing order and the engineering values are increasing. I didn't try it with positive slope but reversed data order. I thought that simply reversing the table order fixed it, but apparently not. I couldn't find anything in the documentation when I looked briefly the other day, but I don't think the present breakpoint table code was ever supposed to work with negative slopes. Given the limitations of the existing code though it really ought to check its inputs properly and refuse to load a breakpoint table that slopes downwards. Any replacement code that permits negative slopes should reject curves that are not continuously increasing or decreasing but have local minima or maxima - I have no idea what the existing code does with such curves, but I doubt that it's pretty. We would also like to be able to reload breakpoint tables at runtime (which I believe Benjamin Fransken implemented for BESSY but this isn't available in the official release). Any offers to do a proper re-engineering of this (fairly self-contained) area of functionality in EPICS Base? If no-one offers I'll try to put in the positive slope test, but if a site needs more than that it'll have to donate some effort towards implementing it. - Andrew -- There is no S in exprexxo.
| ||||||||||||||||
ANJ, 02 Sep 2010 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |