Well it seems I cannot even build non monotonic tables!!!
epics2@cls1dev11 $ cat bptTypeKdegX.dbd
breaktable(typeKdegX) {
0.000000 0.000000
100.0 50.000000 # <-- Positive slope everywhere
200.0 250.000000
300.0 300.000000
400.0 400.000000
500.0 250.000000 # <-- Negative slope
600.0 300.000000
700.0 700.000000
800.0 900.000000
}
epics2@cls1dev11 $ make
perl /home/local/epics/base/3.14.11/bin/linux-x86/makeMakefile.pl O.linux-x86 ../../..
mkdir O.Common
make -C O.linux-x86 -f ../Makefile TOP=../../.. T_A=linux-x86 install
make[1]: Entering directory `/home/cls1fs/epics/2/git/epics-iocs/cls1/drv/records/bpt/O.linux-x86'
perl /home/local/epics/base/3.14.11/bin/linux-x86/makeIncludeDbd.pl bptTypeJdegC.dbd bptTypeKdegC.dbd bptTypeKdegX.dbd ../O.Common/recordsBptInclude.dbd
Expanding dbd
/home/local/epics/base/3.14.11/bin/linux-x86/dbExpand -I . -I .. -I ../../../dbd -I/home/local/epics/base/3.14.11/dbd -I/home/local/epics/extras/3_14_11-20100623_104822/asyn/4-12-20110127_113101/dbd -I/home/local/epics/extras/3_14_11-20100623_104822/autosave/4-5-20110127_112910/dbd -I/home/local/epics/extras/3_14_11-20100623_104822/calc/2-7-20110127_113028/dbd -I/home/local/epics/extras/3_14_11-20100623_104822/genSub/1-6a-20110127_112851/dbd -I/home/local/epics/extras/3_14_11-20100623_104822/seq/2-0-12-20110127_112811/dbd -I/home/local/epics/extras/3_14_11-20100623_104822/sscan/2-6-5-20110127_112958/dbd -I/home/local/epics/extras/3_14_11-20100623_104822/stream/2-4a-20110127_113215/dbd -o ../O.Common/recordsBpt.dbd ../O.Common/recordsBptInclude.dbd
Error: breaktable slope changes sign
at or before "}" in path ".." file "bptTypeKdegX.dbd" line 11
in file "../O.Common/recordsBptInclude.dbd" line 3
dbExpand: Input errors, no output generated
make[1]: *** [../O.Common/recordsBpt.dbd] Error 1
make[1]: Leaving directory `/home/cls1fs/epics/2/git/epics-iocs/cls1/drv/records/bpt/O.linux-x86'
make: *** [install.linux-x86] Error 2
Why?
Is there a work around?
--
Emmanuel