Connection 800xA basic history server ( OPC HDA ) and visual studio ( C++ )
( Some background: I am a student who doesn't have much experience with 800xA, OPC or databases )
I have read in the 800xA online documentation that 800xA does support OLE-DB, so I am planning to use that to connect to the basic history server.
I have also downloaded matrikon OPC HDA explorer, with which I could find an read all the data from the basic history server.
I couldn't get much info from the matrikon explorer. only the fact that the basic history server is readable and present.
I've tried to find documentation/manuals on connecting to the 800xA basic history server, but without any luck.
So my question's are:
Is it even possible to connect to the basic history server using standard c++ in visual studio ( or do I need support add-ons ( i found one paid support add on for visual studio that supports OPC HDA client features in c++ visual studio ))
And if so, is there maybe a document/example I can use for programming my program.
By connecting to the ABB.AdvHtHistoryHdlr (in-proc server) or ABB.AdvHtHistorySrv (out-of-proc server) with your client, you will gain access to Basic History's address space and OPC HDA function calls.
Below image is displaying our test-OPC HDA-client AdvHtOPCHDAClient.exe, after connecting I browse to a object, select a log then post an ReadRaw call on the AsyncRead interface for the last 5 minutes of raw values.
I am unable to provide you with any prototype for an OPC HDA client - surely you must find something to start with by searching Google or Git open source repositories on the web. Maybe the OPC Foundation can offer something?
Please have a look at
you will find the ASNeG project
with some sample code.
Actually it uses doesn't use visual studio c++, but the cmake makefile should be easily portable to.a project file