Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #107189

RE: read datas from sensors and plotting

From Albert-Jan Roskam <sjeik_appie@hotmail.com>
Newsgroups comp.lang.python
Subject RE: read datas from sensors and plotting
Date 2016-04-17 17:35 +0000
Message-ID <mailman.108.1460914614.6324.python-list@python.org> (permalink)
References <nf0el0$181b$1@gioia.aioe.org> <DUB123-W36A33C2C45AF0DE9CD9C2B836A0@phx.gbl>

Show all headers | View raw



> From: ranran@NOSPAM.it
> Subject: read datas from sensors and plotting
> Date: Sun, 17 Apr 2016 18:46:25 +0200
> To: python-list@python.org
> 
> I'm reading in python some values from some sensors and I write them in 
> a csv file.
> My problem now is to use this datas to plot a realtime graph for a 
> example in a web server.
> Is it possible to read in the same time the values, writing in the file 
> and plot them in a webpage with python?


tail -F data.log | python myprogram.py
http://stackoverflow.com/questions/1712276/tail-read-a-growing-dynamic-file-and-extract-two-columns-and-then-print-a-graphhttp://code.activestate.com/recipes/577968-log-watcher-tail-f-log/ 		 	   		  

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

read datas from sensors and plotting ranran <ranran@NOSPAM.it> - 2016-04-17 18:46 +0200
  Re: read datas from sensors and plotting Larry Martell <larry.martell@gmail.com> - 2016-04-17 13:00 -0400
    Re: read datas from sensors and plotting ranran <ranran@NOSPAM.it> - 2016-04-17 22:21 +0200
  Re: read datas from sensors and plotting Joel Goldstick <joel.goldstick@gmail.com> - 2016-04-17 13:04 -0400
  RE: read datas from sensors and plotting Albert-Jan Roskam <sjeik_appie@hotmail.com> - 2016-04-17 17:35 +0000

csiph-web