hello,
I've a dilemma, and as I don't know any arguments,
(although I have the feeling I know some ;-),
I can't make a decision.
I need something like a virtual oscillosope screen, something like this
聽聽http://gpib82357a.sourceforge.net/pyGPIBscope.htm
Now the component in wxPython that comes closest, is "Plot".
The alternative is from the pyGPIBscope, called "Scope" (also "derived" from "Plot" ).
(I've seen even a better module, but can't find it anymore )
Both don't fulfill my needs totally, so I have to make a "MyScope" .
The source code of Scope is less than half the size of Plot.
For what I need, Scope is somewhat better suited (no uggly scrollbars, no zooming, no axis labels, ...)
The things I need extra, are:
- erase bar, following the actual sample in real time display
- crosshair or vertical cursor, to perform measurements
- easy control of timebase, gain and offset of signals (but all these controls can be outside of the plot function)
- dimmed grid / raster
I haven't looked into the code in detail, so I don't know if these extensions are (easily) possible
The easiest way for me, is probably to modify "Scope" or make an extended version derived from Scope.
Now I assume(realizing how difficult it was to find the module "Scope" ),
that nobody knows "Scope" and it's certainly not (and will never become) a standard component.
Therefor I've the feeling that extending or deriving from "Plot" might be a better solution for the longer term.
So I would like to hear other's opinion about this dilemma.
btw: why are there more than 1 sources of plot.py (with the same date) in my package ?
thanks,
Stef Mientki