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 | 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 |
<== Date ==> | <== Thread ==> |
---|
Subject: | BigRecord in exampleCPP |
From: | Pierrick M Hanlet via Tech-talk <[email protected]> |
To: | "[email protected]" <[email protected]> |
Date: | Wed, 20 Nov 2019 18:33:19 +0000 |
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? 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 |