Comments (5)
The implementation needs to be slightly modified according to the initial description (https://czechglobe-doab.slack.com/archives/CLN16B9CH/p1571978282001000), i.e. I would
do it following way:
OD = measure_od()
while OD > min_OD:
setAux2(1) # this turns on the pump (works only if the pump goes from 0 to 1)
time.sleep(20) # sleep 20 seconds, should be enough to accomplish steps 1. and 2.
setAux2(0) # reset the pump to zero state that is necessary for success of next set of the pump
time.sleep(20)
OD = measure_od()
from pbrcontrol.
It was just a testing close, the issue has not been resolved by implementation yet.
from pbrcontrol.
I tried to address this in this commit. I expect bugs to occur, but I do not have the resources to test it at the moment. @xtrojak could possibly try it out?
Basically, I added a pump manager which manages the pump state for ePBRs in its own thread - log messages should be consistent with other device classes.
from pbrcontrol.
The pump manager is working, but will be possibly modified to more general usage.
from pbrcontrol.
TODO: move pump manager to Phenometrics\PBR
from pbrcontrol.
Related Issues (20)
- Init time not working properly HOT 1
- JVM cannot be restarted HOT 7
- Authentication HOT 2
- Missing PBR commands
- Problem with /end HOT 1
- Response 200 when node is not running HOT 3
- By restarting PBRcontrol we lose information HOT 2
- Ping on PBRcontrol API HOT 1
- Implement device_id generator
- /log retrieves incorrect data in the first time-unspecific request (under certain conditions)
- Get log - time stamp ignored for manual (external) records HOT 1
- Remove SSL/TLS certification HOT 2
- Parameter for outlier tolerance change when is pump on
- inf and nan in measurement values HOT 1
- Power outage restoration
- set_pump_state might fail
- Multidevice support
- Protocol checker only works with NodeInitiation endpoint
- Ping not working
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 pbrcontrol.