Jagathj,
You'd normally have the messages configured in the HMI and then just send a bit to 'show' that message, rather than send each message as an ASCII string.
Do the messages need to be changed on the 'fly' or is there another reason why you are doing it this way?
Cheers
JT