Experimental Physics and Industrial Control System
|
Hi:
In principle, you can read include/link.h to get the 'record' pointer of a link, cast that to the appropriate type, ...
But that's a bad idea because you'd directly access the memory of that other record without it being locked.
Unless you really know what you're doing, it's much safer to use the standard `asub` (ex `genSub`) record and have its output links handle writing to other records.
-Kay
Hi
Just wanna know that if we have a 'sub' record then from its subroutine can we directly write into RVAL field of some other records say 'ai' records in the same database.
If the answer is yes then how does one get the address/pointer of other records (ai for example) in the subroutine of 'sub' record ?
Thanks,
Stefen.
|
- Replies:
- Re: record to record ... Benjamin Franksen
- References:
- record to record ... Stefen Paul
- Navigate by Date:
- Prev:
record to record ... Stefen Paul
- Next:
RE: record to record ... Mooney, Tim M.
- 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:
record to record ... Stefen Paul
- Next:
Re: record to record ... Benjamin Franksen
- 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
|
ANJ, 16 Dec 2015 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|