Antonino Ingargiola wrote:
> On 4/1/07, Antonino Ingargiola <[EMAIL PROTECTED]> wrote:
>> On 3/29/07, Ken McIvor <[EMAIL PROTECTED]> wrote:
> [cut]
The last think I'm not yet able to do is to update the colorbar to
autoscale with the new incoming data. The the script that follows
tri
On 4/1/07, Antonino Ingargiola <[EMAIL PROTECTED]> wrote:
> On 3/29/07, Ken McIvor <[EMAIL PROTECTED]> wrote:
[cut]
> > > The last think I'm not yet able to do is to update the colorbar to
> > > autoscale with the new incoming data. The the script that follows
> > > tries to update the colorbar too
Sorry for the late answer...
On 3/29/07, Ken McIvor <[EMAIL PROTECTED]> wrote:
> On Mar 28, 2007, at 6:03 PM, Antonino Ingargiola wrote:
> > On 3/28/07, Ken McIvor <[EMAIL PROTECTED]> wrote:
> >> You should probably do the acquisition asynchronously by running it
> >> in a separate thread.
>
> >
On Mar 28, 2007, at 6:03 PM, Antonino Ingargiola wrote:
> On 3/28/07, Ken McIvor <[EMAIL PROTECTED]> wrote:
>> You should probably do the acquisition asynchronously by running it
>> in a separate thread.
>
> That's exactly what I'd like to do. The problem is that if I run
> gtk.main() (the gtk mai
On 3/28/07, Ken McIvor <[EMAIL PROTECTED]> wrote:
> On Mar 27, 2007, at 12:35 PM, Antonino Ingargiola wrote:
[cut]
> You should probably do the acquisition asynchronously by running it
> in a separate thread. That thread would read in the data one point
> at a time, perform any pre-processing, and
On 3/28/07, Ken McIvor <[EMAIL PROTECTED]> wrote:
> You'd almost certainly be happier doing things the other way around.
> Most GUI toolkits are extremely fussy about what thread the GUI event
> loop runs in. For example, wxPython requires App.MainLoop() be
> called from the thread that first imp
On Mar 27, 2007, at 12:35 PM, Antonino Ingargiola wrote:
>
> I'm searching to display in realtime some data read serial port. The
> data is a 2D matrix and is read element wise from the serial, one
> pixel each one (or more) seconds.
You shouldn't have any problems making this happen, although it