Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Accessing Serial Port
Message
 
To
03/11/1999 18:57:56
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00286584
Message ID:
00286599
Views:
20
Craig,

Mscomm clears its own buffer whenever .input is done. To see if the stream is ended or full, look at the .inbuffercount to see if it is stable (enough) or big enough to do the .input into your listbox.

hth,
Frank Camp

>I am attempting to utilize the Microsoft Communication Ole (MSCOMM32) in VFP 5.0. I am able to open the port and set the parameters and it appears to be working, but I don't know for sure. When I send a character stream to my computer's comm port and perform a receive request [i.e. frmMyForm.lstMyListBox.AddListItem(frmMyForm.oComm.input)] I never see the character stream that was sent. Preferably I want to automatically see (in a list box, window, screen, etc.) what was sent to the to the comm port every time a new stream is received.
>
>I would greatly appreciate any comments to point me in this direction including recommended periodicals to where I could do the necessary reasearch.
>
>Thanks In Advance,
>Craig
Frank Camp
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform