Hi,
for a software I am currently working on I need to retrieve the datatype of an
areaDetector image. Reading <imagePV>:DataType_RBV gives me UInt16 using
caget.
In my code I create a PVAClientChannelPtr using:
PVAClientPtr::channel("<imagePV>:DataType_RBV", "pv", 2.0)
The PvaClientChannel has to methods to get the value:
1) getDouble()
Which in my case returns 0
2) getString
which in my case returns NULL
Both do not give the expected value of 3. What is the recommended way to get
the correct value from an enum type PV using the Pva classes from EPICS 7.0.6?
Regards,
Jörn
- Navigate by Date:
- Prev:
Re: Read and Write errors with VME-EVR-300 Heinz Junkes via Tech-talk
- Next:
RE: EPICS Collaboration Meeting September 2022 in Ljubljana - videos available GAGET Alexis 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: Read and Write errors with VME-EVR-300 Andrew Johnson via Tech-talk
- Next:
PVXS and Phoebus Florian Feldbauer 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
|