The serial port transmit and receive buffers are separate. They are not tied together. If you have nothing connected to the serial port and you write something to the port, you will not receive anything. You obviously have a loopback somewhere in your system. I am using LV7 and I have written a program to communicate with a device through the serial port. When I unplug the serial cable, write something, I receive nothing. Your problem lies within your system.
The way I do it is to write the serial data, then call the Bytes at Serial Port function in a while loop. The loop contains a timer. The loop exits when either Bytes at Serial Port returns a positive number or the loop iteration count reaches a certain value. If the Bytes at Serial Port number is pos
itive, I call the Serial Read function. If no bytes, I display a message or set a flag that nothing was received.