Comments (7)
The function is working for me. As a side note: Returning in the callback function (return res.MC7Size;
) will not return the value for getDBLength()
😉
from node-snap7.
In my case, it doesn't enter in the callback at all, it doesn't even print "I'm here!"
from node-snap7.
Are you sure that the client gets connected at all? AFAIK 300er are on slot 1 and not 2.
from node-snap7.
Yes, I'm sure. It works perfectly with other functions and the Snap7 demo client.
It doesn't pop any connection errors and if I put a console.log just before the GetAgBlockInfo(), it prints.
from node-snap7.
If I can't reproduce your error I don't know how I can help you. Can you try your script with the snap7 demo server? And maybe post your node.js and node-snap7 versions?
from node-snap7.
I figured it out, it was an asyncrous request problem. Sorry for bothering you.
from node-snap7.
Good to hear, that you found it. No problem :)
from node-snap7.
Related Issues (20)
- S7 1200 Poll error Last-Error Info: 36700160: CLI HOT 2
- termux linux aarch64 not compatible! HOT 3
- Read OB & FC data ? HOT 2
- how to force ??
- Electron 13 support HOT 2
- read MD real values
- Missing wrapper for S7WLChar
- Collaboration request HOT 1
- why i install node-snap7 error ? help
- webpack5 | Module not found: Error: Can't resolve 'fs'
- can not install node-snap7
- S7Server.GetParam() always returns boolean
- Won't build with nodejs19 HOT 2
- Electron 21 Support
- In Centos7.9, an error occurred when running a program referencing node-snap7 through the nodejs environment
- Set local port
- Won't work with Node.js v20.x HOT 2
- Uncaught Error: Dynamic require of “events” is not supported HOT 2
- Sporadic transfer of random numbers to the S7 HOT 19
- s7client return a object instead of data 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 node-snap7.