You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
go run examples/write/write.go -endpoint opc.tcp://192.168.1.228:4840 -node 'ns=1;s=start' -value 0
The value supplied for the attribute is not of the same type as the attribute's value. StatusBadTypeMismatch (0x80740000)
The text was updated successfully, but these errors were encountered:
mappers\opcua\driver\client.go
Set的时候所写的opcua节点的属性必须是String类型的才可以成功。
如果opcua节点的是Int32的,此时Set会失败。
参考:gopcua/opcua#310
此处想写一个Int32的Node必须这样写:
如果运行gopcua自带的demo,写一个Int32型变量,也是一样的问题
The text was updated successfully, but these errors were encountered: