From bc9674ac3f71d23bfe249ce8619c4bf87a629246 Mon Sep 17 00:00:00 2001
From: mrkraimer EPICS pvaClientCPP
EPICS V4 Working Group, Working Draft,
-26-June-2015
+03-August-2015
@@ -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
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 are in directory example/src. @@ -172,24 +160,19 @@ helps to also look at the source for the example.
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 -
This example gets and puts to channel exampleDouble.
+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 issuing gets and puts to multiple channels where each -channel has a numeric scalar value field.
-This is an example of using NDMultiChannel to obtain data from multiple channels. +
This is an example of using pvaClientMultiChannel, +pvaClientMultiGetDouble, pvaClientMultiPutDouble, and pvaClientMultiMonitorDouble.
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:
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.
-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. +
This provides support for channelGet to multiple channels.
-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. +
This provides support for channelPut to multiple channels. +
+This provides support for monitoring changes to multiple channels.