Re: Graphics VB2008 Pro
- From: "Galen Somerville" <galen@xxxxxxxxxxxxxxxx>
- Date: Sun, 2 Mar 2008 10:33:18 -0800
It's not just 6 pixels. From horizontal pixel 1 to horizontal pixel 2 may
have a difference of 100 vertical pixels.
And first it has to erase the previous trace between those 6 X pixels and
all of their Y components. Then it has to draw the new trace for those 6
pixels, etc.
Galen
<Just_a_fan@xxxxxxxx> wrote in message
news:dqvgs3pnplakpom73jcpa8qbaigauvli10@xxxxxxxxxx
That's a really long time to draw 6 pixels.
Are you referencing the previous data and only turning off the pixel
that was on or are you blanking the entire column?
No, I did not download the code. Just a quick thought I had when I read
your post.
Mike
On Mon, 18 Feb 2008 09:16:28 -0800, in
microsoft.public.dotnet.languages.vb "Galen Somerville"
<galen@xxxxxxxxxxxxxxxx> wrote:
My graphics involves a lot of line drawings in a short period of time. I
have all the graphics in a separate module.
I repeatedly get the pixel data from a USB device, draw the requisite
traces, get more data, draw traces, etc.
The USB appears to take 82 ms between bursts of data. But the drawing is
taking 178 ms !!!
It's a real time display, like an oscilloscope, whereby I have to blank
the
current 6 pixels, draw the new data in those 6 pixels then blank the next
6
pixels (to leave a gap that shows the traces moving across the screen).
By 6 pixels I mean horizontally. The lines represented by these 6 pixels
can
have vertical pixels of, say, 50 pixels above and below an imaginary
center
line. At the end of a full screen sweep, the current array info is saved
to
a previous array so all the data is available.
Rather than post my code here, I have placed all the module info on my web
site. I would appreciate it if someone with mucho more knowledge than I
could take a look at it.
http://home.surewest.net/galen/private/PictDraw.zip
Thanks
Galen
.
- Follow-Ups:
- Re: Graphics VB2008 Pro
- From: "Jeffrey Tan[MSFT]"
- Re: Graphics VB2008 Pro
- Prev by Date: Re: How do i embed a Flash Player in my VB app?
- Next by Date: Re: How do i embed a Flash Player in my VB app?
- Previous by thread: How do i embed a Flash Player in my VB app?
- Next by thread: Re: Graphics VB2008 Pro
- Index(es):
Relevant Pages
|