opc: Crash on working with remote node
I trying to connect to the remote server.
client := opc.NewConnection(
"Prosys.OPC.Service", // ProgId
[]string{"192.168.7.51"}, // OPC servers nodes
[]string{"Bucket Brigade.ArrayOfReal8"},
)
defer client.Close()
And I get a panic:
panic: TryConnect was not successful: Connection failed
goroutine 1 [running]:
github.com/konimarti/opc.NewConnection(0x83bbd0, 0x12, 0xc0000331b0, 0x1, 0x1, 0xc00003d500, 0x62, 0x62, 0x853678, 0xc00006c000)
C:/projects/opcda2opcua/src/github.com/konimarti/opc/connection_windows.go:335 +0x269
main.main()
C:/projects/opcda2opcua/src/gitlabinternal.litmusloop.com/loop-edge/opcda2opcua/main.go:10 +0xec
What I was doing wrong? Matrikon Explorer works with this server.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 19 (7 by maintainers)
Sure. I know about the procedure of installing gdba_aut. Thanks!