Experimental Physics and Industrial Control System
|
Hi Dave,
There's a reason the DPVT field is called "Device Private" — it's not intended to be accessible from outside the device support code which owns it. Think of it like a C++
private: class-member access specifier. That doesn't mean it's impossible for other software running inside the IOC to get to it, but dbGetField() can't do it by design.
What's the higher-level problem that you're trying to solve which seems to require this? Please describe that to the list and we can try to offer other approaches that wouldn't require you to break the encapsulation.
- Andrew
On 7/22/24, 2:47 PM, "Tech-talk" <tech-talk-bounces at aps.anl.gov> wrote:
I want to use dbGetField to get the value of the DPVT field of an AI record. Does this work? What field type would I specify?
I tried with DBR_LONG and it didn’t like that. I used the field_type returned from dbNameToAddr (17) and it didn’t like that.
Dave Bracey
Fermilab AD Instrumentation
|
- Replies:
- Re: dbGetField AI.DPVT Dave Bracey via Tech-talk
- References:
- dbGetField AI.DPVT Dave Bracey via Tech-talk
- Navigate by Date:
- Prev:
dbGetField AI.DPVT Dave Bracey via Tech-talk
- Next:
Re: dbGetField AI.DPVT Dave Bracey via Tech-talk
- 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
- Navigate by Thread:
- Prev:
dbGetField AI.DPVT Dave Bracey via Tech-talk
- Next:
Re: dbGetField AI.DPVT Dave Bracey via Tech-talk
- 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
|
ANJ, 11 Sep 2024 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
·
Download
·
Search
·
IRMIS
·
Talk
·
Documents
·
Links
·
Licensing
·
|