Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mscomm32.ocx / Serial Communications
Message
De
08/04/2003 14:50:24
 
 
À
08/04/2003 12:44:34
John Vlahos
V I Software Solutions Design
Mississauga, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00775141
Message ID:
00775202
Vues:
23
Hi John,

"string length of 15" ? Who/where/what detemines this?

>I am using the MSCOMM32.OCX provided with VFP 7.0 to commubicate with a WEIGH-TRONIX weight indicator through the RS-232 (Com 2). The weight indicator is continuously scanning the scale and is continuously sending the weight change as an outout to the rs232.
>
>An example of the continous output by the indicator is the following (string length of 15):
> G 0 lb 0
> G 0 lb 0
> G 0 lb 0
> G 0 lb 0
> G 0 lb 0
> G 0 lb 0
> G 0 lb 0
> G 0 lb 0
> G 50.5 lb 0
> G 50.5 lb 0
>
>However when I use MSCOMM32 to read the input, I get only " G ", string length of 8.
>
>Is there any obvious reason for this?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform