Comments (3)
To clarify - the responses from the device will almost always be fine. If I ask a Sunpower GT what it's current power is, but at the same time (or just before) someone asks what its cold tip temperature is, the reply might be garbled, but still ... something. It's the parsing of that reply that will fail and what needs to be cleaned up. The actual communication failures should already be handled by the timeouts in the serialcomm.serComm()
method.
from mrfreeze.
Initially fixed in ed9278e by adding a simple try...except block to the publisher call outs in actions.queryAllDevices()
. It can be expanded upon later (to catch ValueError
vs. other errors) but this is good enough for now.
from mrfreeze.
Lines 56 to 68 in ed9278e
from mrfreeze.
Related Issues (16)
- Proper packaging
- Documentation!
- Planning out the 'gettemp' replacement HOT 5
- Figure out log file support
- Figure out enabling/disabling modules without restarting manually HOT 5
- Remote/broker command set definition HOT 17
- Tie broker subscriptions to 'enabled' statuses? HOT 1
- Query all enabled devices at startup HOT 1
- Migrate old instrument temperature data HOT 2
- Add CSHELL Devices: Scientific Instruments 9620-1, Lake Shore 331, and Varian AGC-100 HOT 8
- Fix hardcoded config items HOT 2
- Calculate and store temperature ramp rates
- Fix up LOIS log parsing more HOT 1
- Sort out serComm HOT 4
- Fix listener 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 mrfreeze.