node-opc-da
node-opc-da copied to clipboard
Error getting group status from OPCGroupStateManager.js.
When searching for the status of a group using the "getState()" function of "OPCGroupStateManager.js", an exception was generated for the "const types". After a superficial debug I found that the import of "types" was in lower case, different from what was exposed in lib "node-dcom" upper case. I changed the occurrences in the class "OPCGroupStateManager" and another error started to appear: "buf is not defined", this exception was generated when trying to call the function in:
let result = await this._comObj.call (callObject); // <= Line 101 of OPCGroupStateManager.js
:)