diff --git a/documentation/pvaClientCPP.html b/documentation/pvaClientCPP.html index 529daec..10eb3b5 100644 --- a/documentation/pvaClientCPP.html +++ b/documentation/pvaClientCPP.html @@ -28,7 +28,7 @@

EPICS pvaClientCPP

EPICS V4 Working Group, Working Draft, -26-June-2015

+03-August-2015
This version:
Latest version:
pvaClientCPP_20150626.html + href="pvaClientCPP_20150803.html">pvaClientCPP_20150803.html
Previous version:
easyPVA_20150609.html -
+ href="pvaClientCPP_20150626.html">pvaClientCPP_20150626.html +
Editors:
Marty Kraimer, BNL
@@ -58,6 +58,7 @@ software support for high speed controls network communications used in EPICS ve 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. @@ -111,26 +112,13 @@ href="./html/index.html">doxygenDoc

Example Database

-

The examples require that an example pvAccess server is runnimg. -To get the test database go to:

-pvaClientTestCPP/database.zip - -Then select "raw file" and You will be able to download the zip file. -

-When unzipped this is used to create an example IOC database. -

-

-After unzipping the file: -

+

The examples require that the database provided by project pvaClientTestCPP +is running. +For example:

-cd database/configure
-cp ExampleRELEASE.local RELEASE.local
-edit RELEASE.local
-cd ..
-make
-cd iocBoot/exampleDatabase
-../../bin/<arch:>/exampleDatabase st.cmd
+mrk> pwd
+/home/epicsv4/pvaClientTestCPP/database/iocBoot/exampleDatabase
+mrk> ../../bin/linux-x86_64/exampleDatabase st.cmd 
 

Examples

Examples are in directory example/src. @@ -172,24 +160,19 @@ helps to also look at the source for the example.

examplePvaClientMonitor

This is an example of creating a monitor on a channel. -It monitors a channel that models a powerSupply, i. e. it is not a "standard" record. -It does not have a value field. +It monitors a scalar double field. +It also issues puts to the same channel so that it can make the monitors occur.

-

After starting the example a change can be made to the powerSupply by issuing:

-
-pvput -r "power.value,voltage.value" examplePowerSupply 6 6
-

examplePvaClientPut

-

This example gets and puts to channel exampleDouble.

+

This example gets and puts to channels exampleDouble +and exampleDoubleArray.

examplePvaClientProcess

This example makes a process request to channel exampleDouble.

helloWorldPutGet

This is an example of issuing a channelPutGet.

examplePvaClientMultiDouble

-

This is an example of issuing gets and puts to multiple channels where each -channel has a numeric scalar value field.

-

examplePvaClientNTMultiChannel

-

This is an example of using NDMultiChannel to obtain data from multiple channels. +

This is an example of using pvaClientMultiChannel, +pvaClientMultiGetDouble, pvaClientMultiPutDouble, and pvaClientMultiMonitorDouble.

helloWorldRPC

This is an example of issuing a channelRPC request. diff --git a/documentation/pvaClientOverview.html b/documentation/pvaClientOverview.html index 76c1a1b..9b2cc01 100644 --- a/documentation/pvaClientOverview.html +++ b/documentation/pvaClientOverview.html @@ -297,23 +297,15 @@ It has methods:

PvaClientMultiChannel - Wrapper For Multiple Channels

PvaClientMultiChannel

This provides methods for connecting to multiple channels. -A client can either use PvaClientMultiChannel directly or use PvaClientMultiDouble or PvaClientNTMultiChannel. -But both impose restrictions on what can be accessed.

-

PvaClientMultiDouble

-

This provides support for gets and puts to the value field of multiple channels. -Each channel must have a value field that is a numeric scalar. -The client always sees the data as a PVDoubleArray. -All channels must connect. -If any problems occur an exception is thrown. +

PvaClientMultiGetDouble

+

This provides support for channelGet to multiple channels.

-

PvaClientNTMultiChannel

-

This provides support for gets and puts to the value field of multiple channels. -Each channel must have a value field. -The client always sees the data as a NTMultiChannel, which is one -of the types provided by normativeTypesCPP. -All channels must connect. -If any problems occur an exception is thrown. +

PvaClientMultiPutDouble

+

This provides support for channelPut to multiple channels. +

+

PvaClientMultiMonitorDouble

+

This provides support for monitoring changes to multiple channels.