Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
COM Ports
Message
From
10/10/2001 08:28:49
 
 
To
26/09/2001 11:36:10
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00561018
Message ID:
00566340
Views:
12
Here are some links that should be helpful:


http://support.microsoft.com/support/kb/articles/Q139/5/26.asp?LN=EN-US&SD=msdn&FR=1&qry=mscomm&rnk=1&src=DHCS_MSPSS_msdn_SRCH&SPR=FOX
http://support.microsoft.com/support/kb/articles/Q291/5/35.ASP

Also, for serial communications, this should get you started:

oCom = createobject("MSCOMMLib.MSComm")
*!* Open communication
oCom.CommPort = 1
oCom.Settings = "9600,N,8,1"
oCom.InputLen = 0
oCom.PortOpen = .T.

*!* Write to com
oCom.Output = "Hello"

*!* Read from com
cReceived = oCom.Input

*!* Close communication
oCom.PortOpen = .F.
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Reply
Map
View

Click here to load this message in the networking platform