Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mscomm32.ocx / Serial Communications
Message
From
08/04/2003 17:12:51
 
 
To
08/04/2003 12:44:34
John Vlahos
V I Software Solutions Design
Mississauga, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00775141
Message ID:
00775250
Views:
14
Can you post your code in your oncomm event?


>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?
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Reply
Map
View

Click here to load this message in the networking platform