Hello guys,
One of our customer has a requirement like this:
The third application just gets real-time values of PcVue variables which have some special properties, like domain equals 'Power'. Variables without Power will be discarded by the application.Then when you create variables with sepecial properties in PcVue, the application will extract values of the variables.
Do you know which way is best for this requirement? Thanks in advance.
BR,
Mark
Hi Mark
You mean that you have a third party application that wants to get data from PcVue.
The big question is how to transmit the varialbe and value to the other software.
You need to reply to this question first.
Another question you must ask yurself is:
Is the third party software on the same Pc machine as PcVue or on a separate one?
For instance if the third party software is OPC enable you can use PcVue as a OPC server.
Otherwise you can use the Varialbe access kit to extract the data you want and tranmit them to your third party using a socket or something similar.
Emmanuel
Emmanuel, please do not forget the web services toolkit which is also a very powerful interface and which allows hassle-free data exchange between stations. It is particularly suitable when communicating across firewalls, or domain and network boundaries.
Hi Armin
This is true this option skipped my mind.
Mark you are spoiled for choice.
But it all comes down to what your third party software can support or has already available.
Hello Emmanuel and Armin,
Thanks for your answer.
The customer wants: once the third application is developed, they don't need to make any configuration to this third application.It gets PcVue variables by the properties defined in PcVue. The third application is on same PC as PcVue.
So, actually,my question is that which is the best way to get PcVue variables with a filter,web services or directly read and deal with varexp.dat file. For the moment, I tell the customer to study web services.
BR,
Mark
Hi Mark,
Using Manager Toolkit or WebServices is convenient to browse and get real variables value.
In my point of view Manager Toolkit is a bit more difficult as you must use C++ and also subscribe to variables to be notified on value change. But also is more efficient is you have large amount of variables to manage.
Web Services is more "easy", its in .Net and works on polling.
So, the question to ask your customer is: How many variables does he need to manage (maximum)?
Nico


