473,396 Members | 1,933 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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?

Mar 16 '06 #1
5 1147
<Sw*********@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?

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

;-)

SCNR
Armin

Mar 16 '06 #2
are you communicating to the device via network connections, wifi, serial,
parallel, usb connections? if so which one?
<Sw*********@gmail.com> wrote in message
news:11**********************@z34g2000cwc.googlegr oups.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?

Mar 16 '06 #3
<Sw*********@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/>
Mar 16 '06 #4
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?

Mar 18 '06 #5
<Sw*********@gmail.com> schrieb:
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).

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Mar 18 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Erik T. Nomad | last post by:
I've created a link that will enable the reader of any page on my website to click it, enter an e-mail address, and have it arrive in that inbox with a hyperlink to the site. However, I'm...
3
by: Kurda Yon | last post by:
Sorry for a very stupid question. Can you tell me what does the following html source does if I press button "Send"? If I read this code by Netscaspe from my local file system and then press...
2
by: Gary | last post by:
I am trying to use the "System.Windows.Forms.SendKeys" class for triggering the Ctrl+P key. Syntax: System.Windows.Forms.SendKeys.Send("^(P)"); This is not working ..what could be the...
3
by: Greg Arnold | last post by:
I have created a "Send To" application that allows users to rename files. The user selects files in Windows Explorer, right clicks and selects Send To > File Renamer. The problem is when a large...
6
by: Gary | last post by:
Hi, I am trying to use the "System.Windows.Forms.SendKeys" class for triggering the Ctrl+P key. Syntax: System.Windows.Forms.SendKeys.Send("^(P)") This is not working ..what could be the...
4
by: Rvo | last post by:
Hi all, I need to use the Netware "send" function to send messages to some/all attached netware users on a server. However, I can't find any documentation on this topic on the Novell site or...
15
by: cj | last post by:
How can I get a button in VB to send the contents of a text box via email in a manner similar to the "Send To\Mail Recipient" functionality that you can select via right clicking a file in Windows...
0
by: koraykazgan | last post by:
Hi all, I am writing a C# WinForms application. This app should recieve files and will do operations to them. I want to be able to provide an easy approach for using files with my app. So I...
1
by: groupie | last post by:
Hi, I'd like to know how to implement the "Forgot Password" feature on many websites which require a login, exactly like this ebay example:...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.