@validate_response([b"<STR_LIT>"])<EOL><INDENT>async def save(self, filename, overwrite=False):<DEDENT>
cmd = "<STR_LIT>" % (filename, "<STR_LIT>" if overwrite else "<STR_LIT>")<EOL>return await asyncio.wait_for(<EOL>self._protocol.send_command(cmd), timeout=self._timeout<EOL>)<EOL>
Save a measurement.

        :param filename: Filename you wish to save as.
        :param overwrite: If QTM should overwrite existing measurement.