Poll serial data send  from labview

Hi guys,

I need some help regarding serial.read. I am trying to use labview with arduino to control the brushless motor. I managed to receive & send data to the arduino from labview but i dont know how to poll the data in the arduino. the format of the data that labview send can varies from (0 to 180 integer value but in arduino i receive it in ascii format). As i understand it, if i send 180 plus linefeed to arduino then i will receive
49 = 1,
57 = 8
48 = 0.

Can anyone show me how to poll this data.

cheers