Java open source library for communicating with an OPC HDA server

I am trying to create an application that communicates with an OPC HDA server to get historical tag values. I was wondering if there are any free open source libraries in Java that can help me with this.

I have already tried the following options:

  • Java Wrapper Integration Objects: It uses JNI . When the client and server are not located with each other, it is difficult to make it work. It is licensed.
  • jInterop: Implements the MSRPC protocol and therefore does not rely on JNI. Portable. However, the OPC HDA interfaces are quite complex, and I could not name them through jInterop . Also the errors that he throws are rather unclear, so troubleshooting is the main problem in this library. The call that I could not receive was IOPCHDA_SyncRead::ReadRaw. For the reasons stated above, I am not interested in using both of these libraries.

Any recommendations / pointers are welcome.

Thanks,

Saurabh

+4
source share

Source: https://habr.com/ru/post/1399146/


All Articles