Hi,
I am new to EPICS and to the community and therefore I apologise in advance if my question is somewhat elementary, but I have been struggling to understand EPICS v4 fully from documentation alone.
It is quite clear that most documentation available online is focused on Channel Access and EPICS v3, however, since I am new to EPICS I would like to start learning from the latest (and greatest?) version and protocol
i.e v4 & PVAccess. I understand that v7 supports both CA and PVA, that is clear, but what is not so clear is how to use PVAccess when compared to CA.
For example, I have come across the exampleCPP repository (https://github.com/epics-base/exampleCPP) focused on
defining records, servers, and clients, using the pvDatabase and pvAccess interfaces. In addition, I have also come across the PVXS library (https://github.com/mdavidsaver/pvxs)
which offers an alternative approach to this (and seems to avoid the concept of record and databases altogether?). While there are some nice examples and some short explanations of each it has still been a struggle to figure out how they work and to understand
how it relates to the v3 approach. The same goes for the python packages: pyepics, pvapy and p4p (and others). As a newcomer it is quite confusing to see many different approaches and packages used but no clear entry point on which one should be used in different
circumstances, and which libraries/packages support which functionality i.e. access control, etc.
My initial questions are:
1.
Is PVXS intended to replace pvDatabase, pvAccess et al?
2.
Of the C++ and Python packages & libraries which ones are most feature complete in terms of the v3 approach?
3.
What is the best way to get started and start building clients, servers, IOCs?
4.
How does PVA and the nested datastructures work with the process database (file based record definition)?
5.
Going forward which packages are likely to be maintained and supported on both the C++ and python sides?
6.
Can I altogether ignore v3 and Channel Access when starting from scratch and just use v4 for everything? Is this the recommended approach for newcomers? Are there any limitations to using v4 compared to v3?
Any help you can provide on this is much appreciated.
Kind regards,
Tom