opc
opc copied to clipboard
OPC DA client in Golang for monitoring and analyzing process data based on Windows COM.
sabozhao@sabozhao-PC2 MINGW64 /e/dev/opc ((v0.3.1)) $ opc-cli.exe read localhost Graybox.Simulator.1 options.sinfreq numeric.sin.float Exception 0xc0000005 0x0 0x25e01800 0x1f51b1d9 PC=0x1f51b1d9 runtime.cgocall(0xa44da0, 0xfb6080) C:/Users/sabozhao/sdk/go1.18beta1/src/runtime/cgocall.go:157 +0x4a fp=0xc0000cb7c0 sp=0xc0000cb788 pc=0x9e432a syscall.SyscallN(0x0?, {0xc0000cb858?, 0x0?, 0xfb5da0?}) C:/Users/sabozhao/sdk/go1.18beta1/src/runtime/syscall_windows.go:538 +0x109...
I want to achieve this : ![image](https://user-images.githubusercontent.com/57406062/201251524-243dbf85-9544-46c8-adc8-85f1c16da19d.png) 可以吗 Is that OK ?
use martikonOPC tool can read good value but use golang server read always uncertain(64) value