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?
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