Comments (3)
Yes. It supports writing multiple values at once with gologix:"<tagname>"
tagged structs. It also has the ability to do a map[string]interface{} with the writeDict() function where the keys of the map are the tag paths and the values are the values to write, but this isn't exported for some reason.
I'll try and get that exported for easier use (read already has this exported as the ReadList() function) and get an example made up for it.
In the meantime you should be able to use a tagged struct like I said.
from gologix.
I released beta 17 where I have made the function for writing multiple tags at once external. See "MultiWrite" in the example folder for what I think you're looking for.
Let me know if you have any issues.
from gologix.
That is my want. Thank you.
from gologix.
Related Issues (18)
- Issue on Header when using ReadMulti() HOT 46
- Mult-Read Doesn't Support Arrays
- Server does not reply to bad requests or requests that end up with server side errors.
- ReadMulti() potential problem due to struct having some non-gologix tags HOT 1
- PathLength should be recalculated when serializing the class attribute. HOT 8
- [QUESTION] How I can get the Tag variable type from the PLC? HOT 2
- client.GetAttrList for Identity Object returns expected results only for L7x controllers HOT 5
- Connection reset by peer, using ETHERNET-MODULE for Class 1 Ethernet/IP connection HOT 13
- how to add field in struct by ReadMulti function? HOT 2
- Modification Request? HOT 3
- Clean up logging interface. HOT 1
- Concurrency issue HOT 3
- Unused switch statement here HOT 1
- Support reading more than the message size with one read call.
- Support more class 3 services
- [Bug] Cannot read string using ReadList() / ReadMulti() HOT 3
- [Question] Timeout HOT 3
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 gologix.