Re: basic to vb6
- From: dpb <none@xxxxxxx>
- Date: Sat, 08 Aug 2009 21:26:01 -0500
Viper900 wrote:
Thanks Steve....
At the moment I just trying to convert the code to vb6. Its a bit tricky the for loops seem to send 153,150,102,105 all at the same time. Thats the bit that did not work for me. I will try your code and get back to you on this forun
I suspect that may be that the current computer you're running on is so much faster than what the sample code was run on as well as the difference between interpreted BASIC and VB that the delay loop (the empty for loop w/ a count of 350) inside the other loop outputting the data is too fast for the device.
Try making that a much larger number as a start; you may actually want to look at incorporating a timer to make it more controlled.
Perhaps you'll even be fortunate enough to have enough documentation to know what kind of delay is required or have a purpose that defines what delay would be appropriate.
--
.
- References:
- basic to vb6
- From: Viper900
- Re: basic to vb6
- From: Steve
- Re: basic to vb6
- From: Viper900
- basic to vb6
- Prev by Date: Re: basic to vb6
- Next by Date: Re: basic to vb6
- Previous by thread: Re: basic to vb6
- Next by thread: Re: basic to vb6
- Index(es):
Relevant Pages
|