I would suggest using VISA and then you can set the termination chatacter to be the carriage return. By using the termination character the read will stop after 1 of three things. An error, the number of byted requested was read, or the termination character is recieved.