Experimental Physics and
| |||||||||||||||||
|
Thanks for all your answers, you solved my doubt. As Steven and Key noted, the client needs additional information to be able to interpret the remote interface. Fortunately this is not the responsibility of the middleware (i.e. EPICS). EPICS can implement dynamic communication for monitoring as mentioned by Marty: For pvAccess the client can get the introspection interface for the pvStructure associated with a channel. My final questions regarding this topic are: 1. Can I use this introspection interface with C++, Java and Python? 2. Can I use this introspection interface to retrieve the name of a service and its parameter list to compose a RPC during runtime by following Marty's approach? For example, In a program that I made I used static RPC by hardcoding the name of the service and matching the parameters required (a PVStructure) during development time, RPCClientImpl client = new RPCClientImpl("control");
... client.request(pvTelescopeParameters, REQUEST_TIMEOUT);I understand that using static communication is more straightforward and easy for the developers and will probably be used the 90% of the time. So my question is more theoretical: Can a client discover the service name (control) and the parameters required to compose the RPC during runtime (dynamic RPC)? Thanks again for the help, Now I will check the example sent by Mark, Best regards, Renato On Mon, Apr 2, 2018 at 3:21 PM, Kasemir, Kay <[email protected]> wrote: Hi: -- Renato Sanhueza Ulsen
Ing Civil Informática.
| ||||||||||||||||
ANJ, 03 Apr 2018 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |