Subject: |
Re: BigRecord in exampleCPP |
From: |
Pierrick M Hanlet via Tech-talk <[email protected]> |
To: |
Marty Kraimer via Tech-talk <[email protected]> |
Date: |
Fri, 22 Nov 2019 12:29:32 +0000 |
Thank you Marty. That is what I ended up do ing.
Best wishes,
Pierrick
Sent from my LG Stylo4+, an AT&T 4G LTE smartphone
------ Original message------
From: Marty Kraimer via Tech-talk
Date: Fri, Nov 22, 2019 04:52
Cc:
Subject:Re: BigRecord in exampleCPP
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
- References:
- BigRecord in exampleCPP Pierrick M Hanlet via Tech-talk
- Re: BigRecord in exampleCPP Pierrick M Hanlet via Tech-talk
- Re: BigRecord in exampleCPP Marty Kraimer via Tech-talk
- Navigate by Date:
- Prev:
Re: BigRecord in exampleCPP Marty Kraimer via Tech-talk
- Next:
Re: softIoc and softIocPVA in EPICS7 Michael Davidsaver 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 Marty Kraimer via Tech-talk
- Next:
Suggestions for trigger manager device Nilson Pereira 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
|