Hi Terry,

> Part of the control system will include varying the amount of water
> pumped from the sump to the bog garden
...
> we need to know the level of water and the flow at various points
> around the system.

If the control logic looks like being at all complex you'll probably
want to simulate the system all in software;  your control logic versus
random events/you acting as the gods.  When I was writing Python, I used
its TkInter GUI library to do something similar.  That provided all the
controls to control the simulation, display readouts, etc., but best of
all was its Canvas widget to draw a schematic.  This lets you plonk down
bits of drawing and text, give them "tags", and then change all things
with a given tag, e.g. colour, and it takes care of the redrawing.  In
my case, it was all the lines representing one logical wire, etc.

    https://wiki.python.org/moin/TkInter

Cheers, Ralph.

-- 
Next meeting:  Bournemouth, Tuesday, 2017-06-06 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread:  mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING
Reporting bugs well:  http://goo.gl/4Xue     / TO THE LIST OR THE AUTHOR

Reply via email to