🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #1893

Re: How to be sure a window has been repainted

#1893
From: Jonathan Benedicto
Date: Wed, 30 May 2007 15:53
22 lines
1879 bytes
Christophe MINETTI wrote:
> Yes it turns around 70 msec to get a "stable" image. Images are vertical 
> and
> horizontal grating and some full white screens. As I have to wait at least 
> 70 msec
> and then wait the next synchro top of the camera, I am decreasing the 
> acquisition
> frequency. If I decrease those 70 msec, than for sure I will get a mix of 
> two
> frames. I was hoping (but I think there is no way to get it) to know by 
> any way when
> the LCD has been completely refreshed ...

Maybe I'm way off here, but are you able to do something like this:

1. Send new frame to LCD
2. Pause for about 80ms.
3. Tell camera to grab frame.
4. Wait till camera has frame.
5. Goto 1.

Jon 
Technical Details
Message-ID: <465d9df6@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <465B192D.18A0FD94@skynet.be> <k3tn53t0jd7bhqfu8c5idsca88ib4pss8e@4ax.com> <465C5E9C.2704298B@skynet.be> <op4p53t82bqqjft676ed9dcoiqachl1sln@4ax.com> <465D0DBA.F3D65804@ulb.ac.be>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,1db88f519055e05b
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Jonathan Benedicto" <invalid@nobody.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <465B192D.18A0FD94@skynet.be> <k3tn53t0jd7bhqfu8c5idsca88ib4pss8e@4ax.com> <465C5E9C.2704298B@skynet.be> <op4p53t82bqqjft676ed9dcoiqachl1sln@4ax.com> <465D0DBA.F3D65804@ulb.ac.be>
In-Reply-To: <465D0DBA.F3D65804@ulb.ac.be>
Subject: Re: How to be sure a window has been repainted
Date: Wed, 30 May 2007 11:53:11 -0400
Lines: 23
MIME-Version: 1.0
Content-Type: text/plain;
 format=flowed;
 charset="iso-8859-1";
 reply-type=original
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6000.16386
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6000.16386
NNTP-Posting-Host: 74.115.18.89
Message-ID: <465d9df6@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1180540406 74.115.18.89 (30 May 2007 08:53:26 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail