By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,089 Members | 2,432 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,089 IT Pros & Developers. It's quick & easy.

Graph and Table implementation

P: n/a
could anyone please help me!

what and how is the best implementation of creating a table based on
data coming from the serial port ? and also how would i be able to
create graphs (2D) based on these data?

opinions and suggestion are most highly welcome. thanks.

jr
Jul 18 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Jan Rienyer Gadil wrote:
could anyone please help me!

what and how is the best implementation of creating a table based on
What is a "table", to you? It could mean anything from
something you intend to print, to a GUI-based representation
similar to a spreadsheet, to a simple two-dimensional array
of data in memory.
data coming from the serial port ? and also how would i be able to
create graphs (2D) based on these data?


Platform? GUI framework, if you've chosen one? etc. etc.

I might suggest using wxPython, with a wx.Grid and wxPyPlot,
but given how little useful information you've provided,
that could well be far from suitable.

-Peter
Jul 18 '05 #2

P: n/a
"Jan Rienyer Gadil" <jr*****@gmail.com> wrote in message
news:ma**************************************@pyth on.org...
could anyone please help me!

what and how is the best implementation of creating a table based on
data coming from the serial port ? and also how would i be able to
create graphs (2D) based on these data?

opinions and suggestion are most highly welcome. thanks.

If you want to use existing tools, it is hard to beat a spreadsheet with a
scatter plot graph object.
If you are on the Microsoft side of the fence, Excel is perfect for this.
There is an easy to use MSCOMM32.OCX object to control the serial port.
This reduces your problem to moving the serial port data to an [x,y] column
that is attached to a scatter plot.

This is easy to do with Excel's built in VBA so I assume it would also be
easy to do with Python, given that you can use Python to manipulate the
Excel object model .

On the Linux/Unix side. Gnumeric seems to serve very well although I don't
yet have sufficient personal experience with it to know about the "gotcha's"
you might encounter. I am also guessing that the Open Office spreadsheet
would work too.

Thomas Bartkus


Jul 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.