def METHOD_NAME(self):
    # preset state
    self.write("IP")
    # single sweep mode
    self.write("SNGLS")
    # set date/time and display on instrument
    datetime_str = datetime.datetime.now().strftime("%y%m%d%H%M%S")
    self.write(f"TIMEDATE {datetime_str}")
    self.write("TIMEDSP ON")