modified Agilent_6060B such that the serial port is configured based on OS.