I have a problem in reading data from a device which has serial output. Device output has no error and baud rate is ok. but

SERIN command reads only first letter of the data string.

Can anyone tell me the way to read data string from serail port in to a variable