-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot write to OPC variable #2
Comments
Basically in write() of opcSyncIO.js it passed write.value and write.handle to construct a ComValue, which is wrong. It should pass write.value[0]/write.handle[0] instead. But there is still a glitch in return value, which shows negative value(-1073479674) as below. Look inside write() and _comObj.call(callObject) returns OK. Any idea? `let types = [];
|
Yes. We found the solution after update node-dcom project. I updated and sent push back to repository to write variables. Thanks for your advice |
Greetings We've been busy with lots of other projects but we plan to update the libs with the changes as soon as we have the time and we decide how to present the writing function to the user on our Node-RED node. The changes made by @emrebekar in A temporary fix would be installing directly from the github repository. If you've found a new bug we missed in the last changes please open a new issue. Ty for your understanding |
Hi.
Can you provide a sample code in order to write varible to OPC Server?
The text was updated successfully, but these errors were encountered: