Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing Serial Port
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00286584
Message ID:
00286599
Vues:
21
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform