Article View: free.it.visual-basic
Article #1106Control-C su seriale
From: SilverFox
Date: Mon, 04 Oct 2004 19:22
Date: Mon, 04 Oct 2004 19:22
24 lines
1440 bytes
1440 bytes
un saluto a tutto il Gruppo
Qualcuno mi pu� indicare come inviare un comando Control-C su porta seriale
???
Sono riuscito a mandare i vari comandi con
Public Sub Send(OutString)
MSComm1.Output = OutString + Chr$(13) + Chr$(10)
End Sub
Con il richiamo alla routine
Call Send("@Q")
mando i comandi tramite la seriale
Ho provato ad inserire
Call Send("^(C)") per indicare che il control � premuto ma non funziona
!!!
Se uso il Terminal del Windows e premo CTRL-C funziona !!!
Grazie in anticipo
Max
Technical Details
Message-ID:
<Eph8d.24249$N45.622780@twister2.libero.it>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newsfeed.media.kyoto-u.ac.jp!newsfeed.icl.net!news.mailgate.org!nntp.infostrada.it!twister2.libero.it.POSTED!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: f94ee,47454f4c5926b076,start X-Google-Attributes: gidf94ee,public X-Google-Language: ITALIAN,ASCII Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newsfeed.media.kyoto-u.ac.jp!newsfeed.icl.net!news.mailgate.org!nntp.infostrada.it!twister2.libero.it.POSTED!not-for-mail From: "SilverFox" <info.tecnico@libero.it> Newsgroups: free.it.visual-basic Subject: Control-C su seriale Lines: 26 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: <Eph8d.24249$N45.622780@twister2.libero.it> Date: Mon, 04 Oct 2004 19:22:12 GMT NNTP-Posting-Host: 151.28.178.129 X-Complaints-To: abuse@libero.it X-Trace: twister2.libero.it 1096917732 151.28.178.129 (Mon, 04 Oct 2004 21:22:12 MET DST) NNTP-Posting-Date: Mon, 04 Oct 2004 21:22:12 MET DST Organization: [Infostrada]