One thing I would double check is that com1 actually refers to the physical port you think it does. If your ports' aliases changed, you could possibly be writing/reading out of a different physical port -- maybe one that has a loopback connector hooked up.
If that's not it, can you give some details about your setup? For example, what kind of port (built-in, or plugin board) com1 refers to, what it is connected to, if anything... Can you can reproduce this behavior if you disconnect the cables/connectors from
all the machine's serial ports? That would definatively show that the issue has nothing to do with connections or DTEs.
Mert A.
National Instruments