Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MSCOMM
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Re: MSCOMM
Divers
Thread ID:
00428533
Message ID:
00428549
Vues:
18
I've used the MSCOMM control to connect to other hardware so I know it works. If you're sure the device is sending out data then it could be the cable. Most likely you need a cross-over or NULL modem cable. Pins 2 and 3 (receive and transmit) are switched.

>It's a Telxon PTC-860. Currently, it uses the SilverFox DOS communication software.
>
>>What are you using to send data to the COMM port? Maybe that is where the problem lies. Just a thought.
>>
>>>Hi all. To start with, I have already been to UT's file sections and checked out MSDN.
>>>
>>>I have used Ed Rauh's routine to determine the valid COM ports available. Now, I'm trying to get the OnComm event to fire.
>>>
>>>My settings for the MSCOMM control are:
>>>
>>>THIS.Settings = "9600,N,8,1"
>>>THIS.InputLen = 1
>>>THIS.CommPort = 1
>>>THIS.RThresHold = 3
>>>THIS.PortOpen = .T.
>>>
>>>All the OnComm event method currently has is a WAIT WINDOW message just so that I can see that it is firing. I have changed the CommPort property to 2 and 3, but it appears that the OnComm event is not getting triggered. Any ideas?
>>>
>>>Doug
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform