code: async def save(self, filename, overwrite=False):
          
          cmd = "save %s%s" % (filename, " overwrite" if overwrite else "")
          return await asyncio.wait_for(
              self._protocol.send_command(cmd), timeout=self._timeout
          )
docs: Save a measurement.
  
          :param filename: Filename you wish to save as.
          :param overwrite: If QTM should overwrite existing measurement.