pjuzeliunas / nilan Goto Github PK
View Code? Open in Web Editor NEWNilan (R) CTS700 Modbus controller
License: MIT License
Nilan (R) CTS700 Modbus controller
License: MIT License
Hey, ๐๐ป
i got the following error, can you help me what what might be wrong?
2021/07/29 17:00:29 Processing readings GET request from 172.17.0.1:60214
2021/07/29 17:00:29 http: panic serving 172.17.0.1:60214: Cannot read register value
goroutine 24 [running]:
net/http.(*conn).serve.func1(0xc00017e140)
/usr/local/go/src/net/http/server.go:1795 +0x139
panic(0x6e31a0, 0x7c2cb0)
/usr/local/go/src/runtime/panic.go:679 +0x1b2
github.com/wernerfred/nilan.(*Controller).FetchValue(0xc0000cda48, 0xc0554fe604, 0xc0001b0000)
/go/src/github.com/wernerfred/nilan/controller.go:41 +0x1f4
github.com/wernerfred/nilan.(*Controller).t18ReadingRegister(0xc0000cda48, 0x4f270001)
/go/src/github.com/wernerfred/nilan/controller.go:304 +0x3b
github.com/wernerfred/nilan.(*Controller).FetchReadings(0xc0000cda48, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/go/src/github.com/wernerfred/nilan/controller.go:316 +0x95
main.readings(0x7cec40, 0xc0001ae0e0, 0xc000182400)
/app/app/app.go:16 +0x10d
net/http.HandlerFunc.ServeHTTP(0x775a10, 0x7cec40, 0xc0001ae0e0, 0xc000182400)
/usr/local/go/src/net/http/server.go:2036 +0x44
github.com/gorilla/mux.(*Router).ServeHTTP(0xc0000d4000, 0x7cec40, 0xc0001ae0e0, 0xc0001c4100)
/go/src/github.com/gorilla/mux/mux.go:210 +0xe2
net/http.serverHandler.ServeHTTP(0xc0000d8000, 0x7cec40, 0xc0001ae0e0, 0xc0001c4100)
/usr/local/go/src/net/http/server.go:2831 +0xa4
net/http.(*conn).serve(0xc00017e140, 0x7cf2c0, 0xc000184040)
/usr/local/go/src/net/http/server.go:1919 +0x875
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2957 +0x384
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.