On 10/16/2013 08:04 AM, Steiner, Mathias wrote:
static long copyopt(psub)
struct subRecord *psub;
{
[..]
kk = 1;
dbPutLink(&psub->inpd,DBR_SHORT,&kk,1);
} /* end of copyopt(psub) */
where psub-> inpd refers to
[..]
field(INPD, "some_WF_record.PROC")
[..]
Note that this code is using an input link INPD for doing output
operations. This apparently works in current versions of EPICS Base,
but is not guaranteed to continue to work in the future. We don't have
specific plans to break it, but since we don't test or support this
usage it could stop working in any future release with no notice.
If you want to do puts from a subroutine record, take a look at the aSub
record type, which has output as well as input links.
- Andrew
--
Advertising may be described as the science of arresting the human
intelligence long enough to get money from it. -- Stephen Leacock
- References:
- RE: how to put value to other record in subroutine record Steiner, Mathias
- Navigate by Date:
- Prev:
Re: Connecting EDM screens to multiple soft IOCs on the same machine on a separate subnet. Andrew Johnson
- Next:
motor record: Parker device support sends invalid s curve parameters Konrad, Martin
- 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: how to put value to other record in subroutine record Steiner, Mathias
- Next:
Connecting EDM screens to multiple soft IOCs on the same machine on a separate subnet. Alan Greer
- 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
|