|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Proble about "send"I want to use "send" to send a string
like Code: send "p" & OutputString if OutputString is "1234" , "p1234" will be sent. but it is sent too fast, my robot' cpu cant receive the whole string. Sometime it get "p123" . Can we set some delay between them in this code? <Sweet.mh***@gmail.com> schrieb
> I want to use "send" to send a string How can we reach your robot? By email, snail mail, phone, train? Where does> like > Code: > send "p" & OutputString > > > if OutputString is "1234" , "p1234" will be sent. > > but it is sent too fast, my robot' cpu cant receive the whole > string. Sometime it > get "p123" . Can we set some delay between them in this code? he live? ;-) SCNR Armin are you communicating to the device via network connections, wifi, serial,
parallel, usb connections? if so which one? <Sweet.mh***@gmail.com> wrote in message Show quoteHide quote news:1142533306.276590.168430@z34g2000cwc.googlegroups.com... >I want to use "send" to send a string > like > Code: > send "p" & OutputString > > > if OutputString is "1234" , "p1234" will be sent. > > but it is sent too fast, my robot' cpu cant receive the whole string. > Sometime it > get "p123" . Can we set some delay between them in this code? > <Sweet.mh***@gmail.com> schrieb:
>I want to use "send" to send a string \\\> like > Code: > send "p" & OutputString > > if OutputString is "1234" , "p1234" will be sent. > > but it is sent too fast, my robot' cpu cant receive the whole string. > Sometime it > get "p123" . Can we set some delay between them in this code? For Each c As Char In "p123" Send(c) Thread.Sleep(100) Next c /// -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/> thanks so much
one more question: For Each c As Char In "p123" ... Next this edition only works in VB.net I want it works in VB6.0. what's the change? <Sweet.mh***@gmail.com> schrieb:
> this edition only works in VB.net Ask your question in a more appropriate group ("microsoft.public.vb.*" > I want it works in VB6.0. what's the change? hierarchy). -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/>
Using AxWebBrowser in VB 2005
Domain search like setting file permissions Text on Image Resolution Reading Stream After RedirectStandardOutput=True Blocks Confusion on Protected Overrides time expressions Loop through columns of all datarows in a dataset my form cannot from from network checking for EOF DataGridView validation to underlying DataSource |
|||||||||||||||||||||||