OPC client with Visual C++ 2008
Hi all,
I have the following situation:
I created a program with Visual C++ 2008 express which receive and interpret data from a µC. Now I want to send this data from the Visual C++ program to an OPC server. Both programs run on the same PC. Therefore I need a connection between my programm and the server. So I think I have to integrate an OPC "client" in my program. But until now I have no Idea how to realize or how to start this. Perhaps anyone has some hints for me.
Thanks for any help
Daniel
Re: OPC client with Visual C++ 2008
Re: OPC client with Visual C++ 2008
Hi,
thanks for your reply.
I written the Visual C++ program and use a demo OPC server.
Re: OPC client with Visual C++ 2008
Your Setup seems to be a bit funny.
Usually you would write an OPC server that does all the communication with the a µC. That OPC Server would then publish the data from the µC for OPC clients.
Kurt
Re: OPC client with Visual C++ 2008
@ZuK: Yes I know, but one condition was to first build a Visual C++ program which reads the variables from the µC. And then hand them over to the OPC server.
And by the way, I guess I`m far away from building my own OPC server :-)