def METHOD_NAME(instr):
    idn = instr.query("*IDN?")
    if idn == "HAMEG Instruments,HM8123,5.12":
        ch = ["FRA", "FRB", "FRC"]
        for i in range(0, len(ch)):
            instr.write(ch[i])
            time.sleep(3)
            xmt = instr.query("XMT?")
            time.sleep(1)
            if xmt != "Not Available":
                return xmt