Information générale
Catégorie:
Contrôles ActiveX en VFP
Titre:
Mscomm32.ocx / Serial Communications
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?
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement