specan.set_noise_noise_noise("OFF")
    # specan = Ektsfu(sfu_ip)
    # specan.set_noise_noise_awgn("ON")
    specan = Ektsfu(sfu_ip)
    specan.set_impairments_modulator("OFF")
    specan = Ektsfu(sfu_ip)
    specan.set_impairments_baseband("OFF")

    specan = Ektsfu(sfu_ip)
    specan.set_interferer_source("ATVPr")
    specan = Ektsfu(sfu_ip)
    specan.set_interferer_reference("LEV")
    specan = Ektsfu(sfu_ip)
    specan.set_interferer_level("-25")
    specan = Ektsfu(sfu_ip)
    specan.set_interferer_frequency_offset(str(-10.75))

    for LOCK_PARAMETER in load_dict.get("test_parame_result"):
        loop_lock_mark = False
        for check_list in LOCK_PARAMETER[3]:
            if check_list[1] == None:
                loop_lock_mark = True
                break
        if loop_lock_mark == True:
            pass
        else:
            continue

        MODULATION = LOCK_PARAMETER[0]
        SYMBOL_RATE = LOCK_PARAMETER[1]
        # CN = LOCK_PARAMETER[2]
    for FREQUENCY in load_dict.get("test_parame_result"):
        loop_lock_mark = False
        for PARAMETER in FREQUENCY[2]:
            if PARAMETER[4] == None:
                loop_lock_mark = True
                break
        if loop_lock_mark == True:
            pass
        else:
            continue
        if FREQUENCY[0] == 735.25:
            specan = Ektsfu(sfu_ip)
            specan.set_frequency_frequency_frequency(str(int(706)) + "MHz")
            specan = Ektsfu(sfu_ip)
            specan.set_interferer_frequency_offset("29.25")
            specan = Ektsfu(sfu_ip)
            specan.set_interferer_singal_frequency_offset("40")
        else:
            specan = Ektsfu(sfu_ip)
            specan.set_interferer_frequency_offset(str(FREQUENCY[0] - 666))
        for PARAMETER in FREQUENCY[2]:
            if PARAMETER[4] == None:
                pass
            else:
                continue
            specan = Ektsfu(sfu_ip)
            specan.set_digitaltv_coding_fftmode_dvbt(PARAMETER[0])
            time.sleep(1)
            specan = Ektsfu(sfu_ip)
            specan.set_digitaltv_coding_constellation_dvbt(PARAMETER[1])
예제 #3
0
    specan.set_noise_noise_noise("OFF")
    # specan = Ektsfu(sfu_ip)
    # specan.set_noise_noise_awgn("ON")
    specan = Ektsfu(sfu_ip)
    specan.set_impairments_modulator("OFF")
    specan = Ektsfu(sfu_ip)
    specan.set_impairments_baseband("OFF")

    specan = Ektsfu(sfu_ip)
    specan.set_interferer_source("ATVPr")
    specan = Ektsfu(sfu_ip)
    specan.set_interferer_reference("LEV")
    specan = Ektsfu(sfu_ip)
    specan.set_interferer_level("-25")
    specan = Ektsfu(sfu_ip)
    specan.set_interferer_frequency_offset(str(5.25))

    for LOCK_PARAMETER in load_dict.get("test_parame_result"):
        loop_lock_mark = False
        for check_list in LOCK_PARAMETER[3]:
            if check_list[1] == None:
                loop_lock_mark = True
                break
        if loop_lock_mark == True:
            pass
        else:
            continue

        MODULATION = LOCK_PARAMETER[0]
        SYMBOL_RATE = LOCK_PARAMETER[1]
        # CN = LOCK_PARAMETER[2]