Experimental Physics and
| |||||||||||||||
|
we observed a strange "mis-feature" with our database files. Actually it seems that the configuration of a VME_IO hardware link depends on the order of DTYP and INP/OUT definition in the .db file. Is this meant to be that way? If not, what have we done wrong? I have the following .db file:
if I only exchange the field definition lines in my .db file to: then I get the output: init_record_ao: (#C0 S0 @) After looking in the source of dbLoadRecord.c, I think it is meant to be that way. In the function yyparse, each line is interpreted after another. If the field OUT is parsed, the current setting of pdbentry->pflddes->field_type is used to determine the parsing procedure. I don't know what's the default setting of the field type, but it seems to be not VME_IO. I neither found anything written down in the application developers guide nor in the record reference manual and searching for some keywords in tech-talk didn't gave useful results. I can't believe that I'm the first one stumbling over that. Maybe the one who has written the stuff can comment on it. Thanks
-- Andreas Luedeke, Controls Group, Swiss-Light-Source, PSI mailto:[email protected], tel:+41-(0)56-310-4002, fax:-3351
| ||||||||||||||
ANJ, 10 Aug 2010 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |