Re: This program just keeps coming back



That sounds like it is worth looking at.
I also need to be able to let the user click and draw boxes on the data in the window , which I use to get coordinates for the edits the user wants to perform on the data. Can I get that kind of feedback from the BLT system ?

....M'

Uwe Klein wrote:
mitch wrote:

One of my old customers has asked me to rework an old program of mine to improve speed anywhere possible.

It deals with large datasets of waveform data stored in integer format in text files. A typical dataset would be 30 files (one for each waveform channel), with up to 700,000 values or samples in each file.

In the past I would load up a list of 30 lists, with each of the later mentioned lists holding one channel of data. This worked great back when they were typically sampling 5 channels and 100,000 samples....... things have grown and the huge datasets have really slowed things down.

do you have all 30 canvases visible at the same time?

i would read the data sets into blt_vectors and display them with the
blt_graph widget.

you can easily switch displayed data by changing the associated vectors
have different axes, zooomin , switching single traces on/off
and all that jazz.

I have used it to display 30-40 pairs of set/is traces with >100k samples.

uwe
.



Relevant Pages

  • Re: This program just keeps coming back
    ... A typical dataset would be 30 files (one for each waveform channel), with up to 700,000 values or samples in each file. ... In the past I would load up a list of 30 lists, with each of the later mentioned lists holding one channel of data. ... have different axes, zooomin, switching single traces on/off ... I have used it to display 30-40 pairs of set/is traces with>100k samples. ...
    (comp.lang.tcl)
  • Re: This program just keeps coming back
    ... Check out BLT -- it has C APIs for its charting/graphing that will take a C array of integers. ... The display is part of but not all of the problem, the data values are frequently recalculated based on functions applied to the data by the operator. ... I don't know what to call it, but I need to sort of "map" the display to file data on the disk, so changes in the diskfile automatically update the data in my "list of lists". ... A typical dataset would be 30 files (one for each waveform channel), with up to 700,000 values or samples in each file. ...
    (comp.lang.tcl)
  • Re: This program just keeps coming back
    ... A typical dataset would be 30 files (one for each waveform channel), with up to 700,000 values or samples in each file. ... In the past I would load up a list of 30 lists, with each of the later mentioned lists holding one channel of data. ... I would display the data on a window of 30 canvases, and draw the data in each canvas with the "canvas create line" command. ...
    (comp.lang.tcl)
  • Re: SoA Vs OO
    ... > Say the task is to have a list of things that can display on a screen. ... > quite far up in the hierarchy. ... It's difficult to replace code that uses lists ... >> Remember also we're talking implementation inheritance here, ...
    (comp.object)
  • Re: SoA Vs OO
    ... > Say the task is to have a list of things that can display on a screen. ... > quite far up in the hierarchy. ... It's difficult to replace code that uses lists ... >> Remember also we're talking implementation inheritance here, ...
    (comp.programming)