Proble about "send"

  • Thread starter Thread starter Sweet.mhtrq
  • Start date Start date
S

Sweet.mhtrq

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?
 
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?


How can we reach your robot? By email, snail mail, phone, train? Where does
he live?

;-)

SCNR


Armin
 
are you communicating to the device via network connections, wifi, serial,
parallel, usb connections? if so which one?
 
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
///
 
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?
 
this edition only works in VB.net
I want it works in VB6.0. what's the change?

Ask your question in a more appropriate group ("microsoft.public.vb.*"
hierarchy).
 
Back
Top