What is the error number? Have you communicated to the instrument using Hyperterminal? There's a lot of potential problems with serial communication. It could be wrong baud rate, data bits, flow control, parity, cable, termination characters, etc. There is a wealth of information available
here on serial communication including app notes, tutorials, and example code. Post back here with more details and even a sample of your code.