Experimental Physics and Industrial Control System
On 6/9/22 10:43, Madden, Timothy J. via Tech-talk wrote:
In pvData, we have PVStructures which I guess define data structures, and Structures which have something to do with introspection.
What exactly is the difference? In the docs, there is no real explanation of why we need both types, and what the difference is. Can one convert one to the other? Can someone explain this in a sentence or two?
In the PVXS library, the equivalents of Structure and PVStructure are named TypeDef and Value.
Does this help?
I have been writing pvData code that works, but only by following examples, and not really understanding the point of Structure vs PVStructure.
You are not alone. I would advise starting with PVXS. From the feedback I've had so far,
it is easier to pick up.
https://mdavidsaver.github.io/pvxs/example.html#shortest-server
https://mdavidsaver.github.io/pvxs/overview.html#comparison-with-pvaccesscpp
https://mdavidsaver.github.io/pvxs/value.html
- References:
- PVStructure vs Structure Madden, Timothy J. via Tech-talk
- Navigate by Date:
- Prev:
Re: PVStructure vs Structure Kasemir, Kay via Tech-talk
- Next:
measComp R4-0 available Mark Rivers 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: PVStructure vs Structure Kasemir, Kay via Tech-talk
- Next:
StreamDevice with a REST API Chris Gregory - STFC UKRI 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