> Hi,
>
> I'm having a problem using the fields DOL[1-A] of the sequence
> record as constants. My database looks like:
>
> .....
> field(DOL1,"0x80")
> field(LNK1,"SarcBase5.VAL PP MS")
> .....
>
> I want the constant value of 0x80 to be written to the vme
> Record SarcBase5.VAL. When I load the database, EPICS thinks that these
> are CA_LINKS and not constants, e.g.:(from dbtr of the record)
>
> DOA: 0 DOL1:CA_LINK 0x80 NPP NMS
> DOL2:CA_LINK 0x88 NPP NMS DOL3:CA_LINK 0x84 NPP NMS
> DOL4:CA_LINK 0x80 NPP NMS
>
> It clearly states in the seq record reference manual that these can be
> constants. I'm sure this written down somewhere, but I've not been able
> to find it -- How do I indentify these values as constants?
Jeff,
To determine if a "link" is a PV or a constant, the c routine "strtod" is
used. Therefore, if the string cannot be interpreted as a "double", it is
assumed to be a PV name. You will have to enter 128 instead of 0x80.
Ned
- Navigate by Date:
- Prev:
Re: seq records/constant links Maren Purves
- Next:
problem with Oms controller/stepper motor record/3.13 Bill Brown
- 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
- Navigate by Thread:
- Prev:
Re: seq records/constant links Maren Purves
- Next:
problem with Oms controller/stepper motor record/3.13 Bill Brown
- 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
|