ahmed sa

ahmed sa

  • NA
  • 289
  • 129k

Recieve data from serial port in one line and convert to int

Mar 8 2014 3:11 AM
Hi guys i have problem i make code that take data from serial com port for weighting machine
it is ok working but it recieve data in more lines.I try to make it recieve data in one line
and convert it to int but i cannot do it.
can any one help me in ths
I work in visual studio 2005
output result from program is:
[] 10
[] 20
[]30
[]360
as above
What i need is
360 without any charachter and recieve data in same line asyncronus then convert to int
meaning requirment i need is 
1- asyncronus what i need in same line
2-and convert to integer
please help me
I will attach screen shoot of output and source code in program

Answers (1)