node-opc-da icon indicating copy to clipboard operation
node-opc-da copied to clipboard

Error getting group status from OPCGroupStateManager.js.

Open ericambiel opened this issue 4 years ago • 0 comments

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

:)

ericambiel avatar Jun 25 '20 12:06 ericambiel