Try out your commands and com settings with terminal emulator programs like HyperTerminal. If you have windows it should be under Communications in Accessories. Also check to make sure you have the right type of cable (pin connections), com port configuration, commands, and transmission control characters. This information should be available in the manual(s) for the equipment you want to communicate with. You can get additional information from the following link as well.
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=137&HOID=5065000000050000008E7C0000&HTHREAD=000031886&UCATEGORY_0=_246_%24_13_&UCATEGORY_S=0