def get_response(self, command, pause=.25):
     if self.ser.isOpen():
         response = ks.write_and_read(self.ser, command, pause=pause)
         if response != '':
             return response
         else:
             return None
     else:
         print("Port is closed...")
 def get_response(self, command, pause=.25):
     if self.ser.isOpen():
         response = ks.write_and_read(self.ser, command, pause=pause)
         if response != '':
             return response
         else:
             return None
     else:
         print("Port is closed...")
 def check_ready(self):
     ready = ks.write_and_read(self.ser,'*OPC?')
     if ready == '1 \n':
         return True
     else:
         return False