Experimental Physics and
| |||||||||||||||||
|
Hi Marty, Maybe I didn't express myself correctly, but I was asking for the scenario in which the client doesn´t know a priori the details about the server that it wants to monitor (e.g. it might be a thermometer, a power supply, a fan, an antenna, etc). So I am not able to create the request as you suggested:PVStructure pvRequest(CreateRequest:: Because beside those generic fields a fan can also have others like "speed", "power", etc. which might be different from the fields of an antenna (position, angle, etc). In this scenario, the solution I propose is to send a null request that returns the whole PVStructure of the server to the client. Then the client should determine if the data was received from an antenna, a fan, a thermometer or a power supply so it can react accordingly. To do this the metadata support is very useful, because it would work like XML, the client might understand the message from and unknown server. So the question is: Can a client use metadata to understand a message from an unknown server? (known as dynamic communication) Or the software developer has to known the structure of the server to make the client (static communication) I know this is a very theoretical question, but it is very important to me. Hopefully someone can help me. Best regards, Renato On Mon, Apr 2, 2018 at 7:29 AM, Marty Kraimer <[email protected]> wrote:
-- Renato Sanhueza Ulsen
Ing Civil Informática.
| ||||||||||||||||
ANJ, 02 Apr 2018 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |