On 11/21/19 4:03 PM, Pierrick M Hanlet
via Tech-talk wrote:
Never mind.
On 11/20/19 12:33 PM, Pierrick M
Hanlet via Tech-talk wrote:
If I wanted to write to a particular NestedStructure in
BigRecord, from exampleDatabase.cpp,
what would be my syntax? I cannot find this documented.
I have:
PVRecordPtr pvPtr =
PVDatabase::getMaster()->findRecord("myRecord");
and I'm expecting to need to do something like:
PVDoublePtr pvReading =
pvPtr->getPVStructure()->getNested???()->getSubField<PVDouble>("value");
What should I have instead of getNested?
try
PVDoublePtr pvReading =
pvPtr->getPVStructure()->getSubField<PVDouble>("scalarArray.double.value");
Marty
Thank you,
Pierrick
--
Pierrick Hanlet
Fermi National Accelerator
Accelerator Front End Controls
+1-630-840-5555 -- lab
+1-312-687-4980 -- mobile
"Whether you think you can or think you can't, you're right" -- Henry Ford
--
Pierrick Hanlet
Fermi National Accelerator
Accelerator Front End Controls
+1-630-840-5555 -- lab
+1-312-687-4980 -- mobile
"Whether you think you can or think you can't, you're right" -- Henry Ford
- Replies:
- Re: BigRecord in exampleCPP Pierrick M Hanlet via Tech-talk
- References:
- BigRecord in exampleCPP Pierrick M Hanlet via Tech-talk
- Re: BigRecord in exampleCPP Pierrick M Hanlet via Tech-talk
- Navigate by Date:
- Prev:
Re: BigRecord in exampleCPP Pierrick M Hanlet via Tech-talk
- Next:
Re: BigRecord in exampleCPP Pierrick M Hanlet 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
- Navigate by Thread:
- Prev:
Re: BigRecord in exampleCPP Pierrick M Hanlet via Tech-talk
- Next:
Re: BigRecord in exampleCPP Pierrick M Hanlet 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
|