Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / not show number on first loop but does on second, Why?

Author
Message
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 29th Apr 2005 22:02
Hi All

Just messing around but can't see why this does not show the first number until it repeats the loop, where did I go wrong.



In Space No One can Hear You Scream! (When your comm Line is cut?)
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 29th Apr 2005 23:25
DBP is double buffered put a syunc before your loop to be the first buffer frame.

sync on : sync rate 0 : sync

HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 30th Apr 2005 00:43 Edited at: 30th Apr 2005 00:57
Yeh, that works had to do two sync, now works, another one to rember.

<edit> Well worked ok with sync rate at 30, back at 0, no joy. strange.
<edit> found out if I put a wait 4 before the start of the do loop it runs ok?

In Space No One can Hear You Scream! (When your comm Line is cut?)

Login to post a reply

Server time is: 2024-09-23 19:35:32
Your offset time is: 2024-09-23 19:35:32