As I said, writing to a serial instrument is not a valid way to verify connectivity. You want to do a read in order to make sure that both the tx and rx are working.
p.s. Are you really planning on copyrighting the modified code? Posting code from NI on an NI forum is not copyright infringement afaik
Message Edited by Dennis Knutson on 08-11-2009 09:25 AM