Comments (6)
I have never tested the code with IntellutionGateWayOPCServer but it works with most others OPC DA servers. The most common problem is to compile Golang in 64bit when the server is actually 32bit. See also here. Did you try to compile the code with GOARCH=386 (in Powershell: $ENV:GOARCH=386
)? Hope this helps.
from opc.
@konimarti
Thank you for your help
I tried this method,I find that if I list the server with command"localhost",it can not find any server, but if I use my computer name "DESKTOP-UDUBS4F", it can find one server: GrayBoxSimulator, and it still can not find my IntellutionGateWayOPCServer.
My IntellutionGateWayOPCClient can find both GrayBoxSimulationServer and IntellutionGateWayOPCServer.
from opc.
@konimarti the returned error : Could not load OPC Automation object with wrapper OPC.Automation.1
from opc.
@769139671 The OPC automation wrapper is needed in the Windows COM model to communicate with the server. If you have a standard OPC DA server installation with all the OPC components installed, you usually also get the OPC.Automation wrapper. As an alternative, Graybox provides a free automation wrapper. So, if at least one loads, you should be fine.
It also seems that your OPC server is known for not working well with other clients link.
However, you could add your server's OPC automation wrapper to this package if they provide one. Maybe you should reach out to them.
Regarding your computer name, did you also try '127.0.0.1' instead of localhost?
from opc.
@konimarti I can find the GrayBoxSimulationServer using cmd command of "list DESKTOP-UDUBS4F",but I can not connect to this server.
If I use "127.0.0.1" instead of "DESKTOP-UDUBS4F", none of server can be found
from opc.
Closes 01ef7ad
from opc.
Related Issues (20)
- When The Tags more than 50 ,it can't read tags HOT 2
- reconnect & read opc data is zero HOT 1
- Question regarding group by different refreshRate HOT 1
- panic: runtime error: invalid memory address or nil pointer dereference HOT 4
- Question regarding program sometimes crashes at readFromOpc HOT 6
- How to deal with concurrent reading of tags HOT 1
- Influxdb Authentication HOT 2
- Could not load OPC Automation object with wrapper OPC.Automation.1 HOT 3
- How config dcomcnfg.exe in win10
- read() to get discribe and datatype info
- Reading OPC data from device HOT 1
- How to confirm param in opc.NewConnection HOT 4
- read item quality value is uncertain
- the return of CreateBrowser items can include datetype?
- something wrong in cgo when I try read tag by "opc-cli.exe read localhost Graybox.Simulator.1 options.sinfreq numeric.sin.float" HOT 5
- tag/{id} api not support slash
- The opc server Matrikon.OPC.Simulation.1 cannot be obtained using opc-cli.exe
- opc-cli.exe扫描不到Matrikon.OPC.Simulation.1
- it's can be build to wasm file?
- Higher versions of Golang will crash HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opc.