Asif, Glad to know that you were successful, but I'm not sure exactly what went wrong in the first place. I tested this out and it seemed to work fine. With LabVIEW 7.1 and VISA 3.1 on Windows XP, I used a loopback connector and our Basic Serial example to test this out. I wrote 20 bytes to the port, then asked for 13 back on the read with nothing wired to the "return count" terminal. I was using COM1, 9600, 8N1, No flow Control.
The read returned the 13 bytes without a problem. Scott B. Applications Engineer National Instruments