I think you're not going to have good results with web2py for this
kind of project.
I'd encourage you to take a look at projects as
http://mblogic.sourceforge.net/ , which using python (and a bit of
javascript) allows you to control, and report or easily showing
animated bars and graphics.
mblogic has a modular design and allows you use things as modbus, but
you don't need to use modbus to build a scada-like web application.
You only will need to add authentication, as mblogic (in its hmiserver
module) doesn't have it implemented.

Hope this helps.

Regards.

2012/8/14 Sam <[email protected]>:
> Hi all,
>
> I'm fairly new to web2py and python, but I'm trying to build a 'proof of
> concept' system to demonstrate how one of our products might work.
>
> The system consists of an embedded Linux board and an RS232 serial digital
> compass. The system will read the orientation from the compass and light a
> few LEDs as well as an audible tone to point a user in the right direction.
> The device will also host a small web server running web2py so that people
> can log on and view the real compass outputs - possibly an animated
> graphical display if i get that far...
>
> So really i just need some advice about the best architecture to get me
> started.
>
> Should I build everything into web2py - will it handle worker threads for
> reading serial port etc, will it handle the LEDs/tone if no http users are
> connected?
> Should I build a stand-alone python 'service' that handles the hardware
> interface - web2py can then read the results for the web elements? Would
> this use JSON, SOAP etc?
>
> Any help would be gratefully appreciated.
> Sam
>
> --
>
>
>

-- 



Reply via email to