Hi
I used serial port to control my instrument before and the following are my suggestions.
1.Make sure the configuration of serial cable is suitable for your situation like DTE and DCE. This is confused to me at the begining.
2.Make sure the port setting is correct between both machine like baud rate, start/stop bit, parity bit and data bit.
3.Add LF(line feed) or CR(carriage return) after your command is required. You can find the solution from the following knowledgebase.
KnowledgeBase 21LCJ1LI: Why Doesn't My Instrument Respond to Commands?
Bill.