pvaClient is a software library that provides to an EPICS client programmer, a friendly client side programming interface to the data of an EPICS based control system. It is intended for such uses as rapid development of ad hoc programs by controls engineers, or to provide scientists a way to directly develop analytical applications.
Specifically, pvaClient provides a synchronous interface for pvAccess, which is the software support for high speed controls network communications used in EPICS version 4. pvAccess provides a callback based interface, which can be hard to use. pvaClient provides an interface that does not require callbacks even for monitors.
pvaClientChannel provides many "convenience" methods to directly get and put scalar and scalarArray data types. Additional methods provide access to the full features of pvAccess.
pvaClientMultiChannel provides access to data from multiple channels. It can be used directly by a client or via pvaClientMultiDouble or pvaClientNTMultiChannel. pvaClientMultiDouble allows the client to get and put data to multiple channels. But each channel must have a value field that is a numeric scalar. pvaClientNTMultiChannel allows the client to get and put data to multiple channels. Each channel must have a value field. The data for the channels is presented via normative type NTMultiChannel.
For more information about EPICS generally, please refer to the home page of the Experimental Physics and Industrial Control System.
pvaClientCPP is ready for use.
pvaClient is a synchronous API for accessing PVData via PVAccess. It provides an interface to many of the features provided by pvData and pvAccess.
This document describes the layout of the source files in this project.
A user overview is available via pvaClientOverview.html
Doxygen documentation is available at doxygenDoc
The examples require that the database provided by project pvaClientTestCPP is running. For example:
mrk> pwd /home/epicsv4/pvaClientTestCPP/database/iocBoot/exampleDatabase mrk> ../../bin/linux-x86_64/exampleDatabase st.cmd
Examples are in directory example/src. An example of how to run them is:
mrk> pwd /home/epicsv4/pvaClientCPP/example mrk> bin/linux-x86_64/examplePvaClientGet
The following is a brief description of each example. In order to understand each example it helps to also look at the source for the example.
This has a number of examples:
This is an example of creating a monitor on a channel. It monitors a scalar double field. It also issues puts to the same channel so that it can make the monitors occur.
This example gets and puts to channels exampleDouble and exampleDoubleArray.
This example makes a process request to channel exampleDouble.
This is an example of issuing a channelPutGet.
This is an example of using pvaClientMultiChannel, pvaClientMultiGetDouble, pvaClientMultiPutDouble, and pvaClientMultiMonitorDouble.
This is an example of using pvaClientMultiChannel, pvaClientNTMultiGet, pvaClientNTMultiPut, pvaClientNTMultiMonitor, and pvaClientNTMultiData.
This is an example of issuing a channelRPC request. It does not use pva.