helloPutGet implements a simple channelRPC putGet.
For more information about EPICS generally, please refer to the home page of the Experimental Physics and Industrial Control System.
The example implements a simple putGet that has a top level pvStructure:
structure
structure argument
string value
structure result
string value
time_t timeStamp
long secondsPastEpoch
int nanoseconds
int userTag
It is designed to be accessed via a channelPutGet request. The client sets argument.value When the record processes it sets result.value to "Hello " concatenated with argument.value. Thus if the client sets argument.value equal to "World" result.value will be "Hello World". In addition the timeStamp is set to the time when process is called.
The example can be run on linux as follows:
mrk> pwd /home/epicsv4/master/exampleJava/helloPutGet/shell mrk> helloPutGetMain
mrk> pwd /home/epicsv4/master/exampleJava/helloPutGet/shell mrk> helloPutGetClient