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 2025 | 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 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | DTYP + Link order |
From: | Luedeke Andreas <[email protected]> |
To: | tech-talk <[email protected]> |
Date: | Tue, 12 Oct 1999 11:51:16 +0200 |
I have the following .db file:
with the definition in .dbd:
The init routine of the driver is:
In that case, I get the correct output from iocInit:
init_record_ao: (#C1 S2 @set_ref_current)
if I only exchange the field definition lines in my .db file to:
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
--
Andreas Luedeke, Controls Group, Swiss-Light-Source, PSI
mailto:[email protected], tel:+41-(0)56-310-4002, fax:-3351