From 285a0e25588e805690ad96f1b7a323c241ed70f5 Mon Sep 17 00:00:00 2001 From: Bastian Bloessl Date: Thu, 15 Sep 2016 11:37:27 +0200 Subject: [PATCH] switch to QT GUI --- examples/wifi_loopback.grc | 1118 +++++++++++++++++++-------- examples/wifi_phy_hier.grc | 74 +- examples/wifi_rx.grc | 1360 ++++++++++++++++++++++++++------- examples/wifi_transceiver.grc | 990 +++++++++++++++++------- examples/wifi_tx.grc | 567 ++++++++------ 5 files changed, 2967 insertions(+), 1142 deletions(-) diff --git a/examples/wifi_loopback.grc b/examples/wifi_loopback.grc index 2155455..861bdcd 100644 --- a/examples/wifi_loopback.grc +++ b/examples/wifi_loopback.grc @@ -30,7 +30,7 @@ _coordinate - (8, 5) + (16, 12) _rotation @@ -38,7 +38,7 @@ generate_options - wx_gui + qt_gui hier_block_src_path @@ -82,18 +82,14 @@ - variable_chooser - - choices - [ieee802_11.LS, ieee802_11.LMS, ieee802_11.STA, ieee802_11.COMB] - + variable_qtgui_chooser comment value - ieee802_11.LS + 0 _enabled @@ -101,19 +97,39 @@ _coordinate - (184, 8) + (192, 8) + + + gui_hint + _rotation 0 - grid_pos + id + chan_est + + + label0 - id - chan_est + label1 + + + + label2 + + + + label3 + + + + label4 + label @@ -124,31 +140,55 @@ ["LS", "LMS", "STA", "Linear Comb"] - notebook - + num_opts + 0 - style - wx.RA_HORIZONTAL + option0 + 0 + + + option1 + 1 + + + option2 + 2 + + + option3 + 3 + + + option4 + 4 + + + options + [ieee802_11.LS, ieee802_11.LMS, ieee802_11.STA, ieee802_11.COMB] + + + orient + Qt.QHBoxLayout type + int + + + widget radio_buttons - variable_chooser - - choices - [0,1,2,3,4,5,6,7] - + variable_qtgui_chooser comment value - 5 + 0 _enabled @@ -156,54 +196,98 @@ _coordinate - (488, 9) + (376, 8) + + + gui_hint + _rotation 0 - - grid_pos - - id encoding + + label0 + + + + label1 + + + + label2 + + + + label3 + + + + label4 + + label - Encoding + labels ["BPSK 1/2", "BPSK 3/4", "QPSK 1/2", "QPSK 3/4", "16QAM 1/2", "16QAM 3/4", "64QAM 2/3", "64QAM 3/4"] - notebook - + num_opts + 0 - style - wx.RA_HORIZONTAL + option0 + 0 + + + option1 + 1 + + + option2 + 2 + + + option3 + 3 + + + option4 + 4 + + + options + [0, 1, 2, 3, 4, 5, 6, 7] + + + orient + Qt.QHBoxLayout type + int + + + widget radio_buttons - variable_slider + variable_qtgui_range comment - - converver - float_converter - value - 10e-6 + 0 _enabled @@ -211,16 +295,16 @@ _coordinate - (984, 17) + (688, 8) + + + gui_hint + _rotation 0 - - grid_pos - - id epsilon @@ -230,39 +314,43 @@ - max - 20e-6 + min_len + 200 - min + orient + Qt.Horizontal + + + start -20e-6 - notebook - + step + 1e-6 - num_steps - 1000 + stop + 20e-6 - style - wx.SL_HORIZONTAL + rangeType + float + + + widget + counter_slider - variable_slider + variable_qtgui_range comment - - converver - int_converter - value - 200 + 300 _enabled @@ -270,43 +358,51 @@ _coordinate - (792, 9) + (808, 8) + + + gui_hint + _rotation 0 - - grid_pos - - id interval label - PDU Interval (ms) - - - max - 1000 - - - min - 10 - - - notebook - num_steps + min_len + 200 + + + orient + Qt.Horizontal + + + start + 10 + + + step + 1 + + + stop 1000 - style - wx.SL_HORIZONTAL + rangeType + int + + + widget + counter_slider @@ -321,7 +417,7 @@ _coordinate - (8, 69) + (16, 76) _rotation @@ -337,18 +433,14 @@ - variable_slider + variable_qtgui_range comment - - converver - int_converter - value - 400 + 500 _enabled @@ -356,16 +448,16 @@ _coordinate - (664, 8) + (560, 8) + + + gui_hint + _rotation 0 - - grid_pos - - id pdu_length @@ -375,39 +467,43 @@ - max - 1500 + min_len + 200 - min + orient + Qt.Horizontal + + + start 0 - notebook - + step + 1 - num_steps - 1000 + stop + 1500 - style - wx.SL_HORIZONTAL + rangeType + int + + + widget + counter_slider - variable_slider + variable_qtgui_range comment - - converver - float_converter - value - 20 + 15 _enabled @@ -415,16 +511,16 @@ _coordinate - (368, 8) + (936, 8) + + + gui_hint + _rotation 0 - - grid_pos - - id snr @@ -434,24 +530,32 @@ - max - 30 + min_len + 200 - min + orient + Qt.Horizontal + + + start -15 - notebook - + step + 0.1 - num_steps - 1000 + stop + 30 - style - wx.SL_HORIZONTAL + rangeType + float + + + widget + counter_slider @@ -576,7 +680,7 @@ _coordinate - (736, 740) + (744, 740) _rotation @@ -729,7 +833,7 @@ _coordinate - (904, 712) + (912, 712) _rotation @@ -792,7 +896,7 @@ _coordinate - (560, 712) + (568, 712) _rotation @@ -984,7 +1088,7 @@ _coordinate - (1063, 480) + (1064, 464) _rotation @@ -1027,6 +1131,584 @@ ccf + + qtgui_const_sink_x + + autoscale + False + + + axislabels + True + + + alias + + + + comment + + + + affinity + + + + _enabled + True + + + _coordinate + (420, 512) + + + gui_hint + + + + _rotation + 270 + + + grid + False + + + id + qtgui_const_sink_x_0 + + + legend + True + + + alpha1 + 1.0 + + + color1 + "blue" + + + label1 + + + + marker1 + 0 + + + style1 + 0 + + + width1 + 1 + + + alpha10 + 1.0 + + + color10 + "red" + + + label10 + + + + marker10 + 0 + + + style10 + 0 + + + width10 + 1 + + + alpha2 + 1.0 + + + color2 + "red" + + + label2 + + + + marker2 + 0 + + + style2 + 0 + + + width2 + 1 + + + alpha3 + 1.0 + + + color3 + "red" + + + label3 + + + + marker3 + 0 + + + style3 + 0 + + + width3 + 1 + + + alpha4 + 1.0 + + + color4 + "red" + + + label4 + + + + marker4 + 0 + + + style4 + 0 + + + width4 + 1 + + + alpha5 + 1.0 + + + color5 + "red" + + + label5 + + + + marker5 + 0 + + + style5 + 0 + + + width5 + 1 + + + alpha6 + 1.0 + + + color6 + "red" + + + label6 + + + + marker6 + 0 + + + style6 + 0 + + + width6 + 1 + + + alpha7 + 1.0 + + + color7 + "red" + + + label7 + + + + marker7 + 0 + + + style7 + 0 + + + width7 + 1 + + + alpha8 + 1.0 + + + color8 + "red" + + + label8 + + + + marker8 + 0 + + + style8 + 0 + + + width8 + 1 + + + alpha9 + 1.0 + + + color9 + "red" + + + label9 + + + + marker9 + 0 + + + style9 + 0 + + + width9 + 1 + + + name + "" + + + nconnections + 1 + + + size + 48*10 + + + tr_chan + 0 + + + tr_level + 0.0 + + + tr_mode + qtgui.TRIG_MODE_FREE + + + tr_slope + qtgui.TRIG_SLOPE_POS + + + tr_tag + "" + + + type + complex + + + update_time + 0.10 + + + xmax + 2 + + + xmin + -2 + + + ymax + 2 + + + ymin + -2 + + + + qtgui_number_sink + + autoscale + False + + + avg + 0 + + + alias + + + + comment + + + + affinity + + + + _enabled + 1 + + + _coordinate + (192, 628) + + + gui_hint + + + + _rotation + 0 + + + graph_type + qtgui.NUM_GRAPH_NONE + + + id + qtgui_number_sink_0 + + + type + float + + + color1 + ("black", "black") + + + factor1 + 1 + + + label1 + Error Rate + + + unit1 + Percent + + + color10 + ("black", "black") + + + factor10 + 1 + + + label10 + + + + unit10 + + + + color2 + ("black", "black") + + + factor2 + 1 + + + label2 + + + + unit2 + + + + color3 + ("black", "black") + + + factor3 + 1 + + + label3 + + + + unit3 + + + + color4 + ("black", "black") + + + factor4 + 1 + + + label4 + + + + unit4 + + + + color5 + ("black", "black") + + + factor5 + 1 + + + label5 + + + + unit5 + + + + color6 + ("black", "black") + + + factor6 + 1 + + + label6 + + + + unit6 + + + + color7 + ("black", "black") + + + factor7 + 1 + + + label7 + + + + unit7 + + + + color8 + ("black", "black") + + + factor8 + 1 + + + label8 + + + + unit8 + + + + color9 + ("black", "black") + + + factor9 + 1 + + + label9 + + + + unit9 + + + + max + 100 + + + min + 0 + + + name + "" + + + nconnections + 1 + + + update_time + 0.10 + + wifi_phy_hier @@ -1086,192 +1768,6 @@ 0.56 - - wxgui_numbersink2 - - avg_alpha - 0.02 - - - average - True - - - alias - - - - comment - - - - affinity - - - - decimal_places - 2 - - - _enabled - True - - - factor - 1.0 - - - _coordinate - (224, 558) - - - _rotation - 0 - - - grid_pos - - - - id - wxgui_numbersink2_0 - - - max_value - 100 - - - min_value - 0 - - - notebook - - - - number_rate - 15 - - - peak_hold - False - - - ref_level - 0 - - - samp_rate - 1 - - - show_gauge - True - - - title - Frame Error Rate - - - type - float - - - units - % - - - win_size - - - - - wxgui_scopesink2 - - ac_couple - False - - - alias - - - - comment - - - - affinity - - - - _enabled - True - - - _coordinate - (384, 472) - - - _rotation - 270 - - - grid_pos - - - - id - wxgui_scopesink2_0 - - - notebook - - - - num_inputs - 1 - - - samp_rate - 12500 - - - t_scale - 0 - - - title - Scope Plot - - - trig_mode - wxgui.TRIG_MODE_AUTO - - - type - complex - - - v_offset - 0 - - - v_scale - 0 - - - win_size - - - - xy_mode - True - - - y_axis_label - Counts - - blocks_message_strobe_0 ieee802_11_mac_0 @@ -1286,13 +1782,13 @@ blocks_pdu_to_tagged_stream_0 - wxgui_numbersink2_0 + qtgui_number_sink_0 0 0 blocks_pdu_to_tagged_stream_0_0 - wxgui_scopesink2_0 + qtgui_const_sink_x_0 0 0 diff --git a/examples/wifi_phy_hier.grc b/examples/wifi_phy_hier.grc index b5fcfde..9ce5767 100644 --- a/examples/wifi_phy_hier.grc +++ b/examples/wifi_phy_hier.grc @@ -30,7 +30,7 @@ _coordinate - (10, 10) + (8, 8) _rotation @@ -93,7 +93,7 @@ _coordinate - (400, 13) + (400, 12) _rotation @@ -120,7 +120,7 @@ _coordinate - (528, 19) + (528, 12) _rotation @@ -147,7 +147,7 @@ _coordinate - (192, 13) + (192, 12) _rotation @@ -174,7 +174,7 @@ _coordinate - (296, 13) + (296, 12) _rotation @@ -205,7 +205,7 @@ _coordinate - (1008, 14) + (1008, 12) _rotation @@ -252,7 +252,7 @@ _coordinate - (960, 585) + (960, 584) _rotation @@ -295,7 +295,7 @@ _coordinate - (600, 505) + (592, 504) _rotation @@ -338,7 +338,7 @@ _coordinate - (384, 601) + (384, 600) _rotation @@ -381,7 +381,7 @@ _coordinate - (432, 771) + (424, 764) _rotation @@ -436,7 +436,7 @@ _coordinate - (224, 595) + (232, 596) _rotation @@ -538,7 +538,7 @@ _coordinate - (608, 569) + (608, 568) _rotation @@ -589,7 +589,7 @@ _coordinate - (904, 755) + (872, 748) _rotation @@ -640,7 +640,7 @@ _coordinate - (744, 257) + (744, 256) _rotation @@ -695,7 +695,7 @@ _coordinate - (640, 11) + (640, 12) _rotation @@ -746,7 +746,7 @@ _coordinate - (504, 203) + (504, 204) _rotation @@ -805,7 +805,7 @@ _coordinate - (1040, 227) + (1040, 232) _rotation @@ -872,7 +872,7 @@ _coordinate - (752, 379) + (752, 376) _rotation @@ -923,7 +923,7 @@ _coordinate - (240, 203) + (240, 204) _rotation @@ -962,7 +962,7 @@ _coordinate - (728, 11) + (728, 12) _rotation @@ -1017,7 +1017,7 @@ _coordinate - (1040, 363) + (1040, 368) _rotation @@ -1080,7 +1080,7 @@ _coordinate - (992, 896) + (992, 888) _rotation @@ -1131,7 +1131,7 @@ _coordinate - (920, 14) + (920, 12) _rotation @@ -1178,7 +1178,7 @@ _coordinate - (496, 289) + (496, 288) _rotation @@ -1221,7 +1221,7 @@ _coordinate - (488, 932) + (512, 924) _rotation @@ -1280,7 +1280,7 @@ _coordinate - (776, 896) + (776, 888) _rotation @@ -1331,7 +1331,7 @@ _coordinate - (208, 107) + (208, 108) _rotation @@ -1370,7 +1370,7 @@ _coordinate - (848, 499) + (848, 500) _rotation @@ -1417,7 +1417,7 @@ _coordinate - (752, 579) + (744, 580) _rotation @@ -1456,7 +1456,7 @@ _coordinate - (568, 395) + (576, 396) _rotation @@ -1499,7 +1499,7 @@ _coordinate - (512, 876) + (552, 868) _rotation @@ -1542,7 +1542,7 @@ _coordinate - (312, 940) + (328, 932) _rotation @@ -1585,7 +1585,7 @@ _coordinate - (64, 499) + (64, 500) _rotation @@ -1628,7 +1628,7 @@ _coordinate - (424, 115) + (424, 116) _rotation @@ -1675,7 +1675,7 @@ _coordinate - (824, 11) + (824, 12) _rotation @@ -1726,7 +1726,7 @@ _coordinate - (640, 739) + (608, 732) _rotation @@ -1777,7 +1777,7 @@ _coordinate - (128, 713) + (112, 704) _rotation diff --git a/examples/wifi_rx.grc b/examples/wifi_rx.grc index 16f63e5..9f064ab 100644 --- a/examples/wifi_rx.grc +++ b/examples/wifi_rx.grc @@ -30,7 +30,7 @@ _coordinate - (8, 5) + (8, 4) _rotation @@ -38,7 +38,7 @@ generate_options - wx_gui + qt_gui hier_block_src_path @@ -82,18 +82,14 @@ - variable_chooser - - choices - [ieee802_11.LS, ieee802_11.LMS, ieee802_11.STA, ieee802_11.COMB] - + variable_qtgui_chooser comment value - ieee802_11.LS + 0 _enabled @@ -101,19 +97,39 @@ _coordinate - (352, 16) + (296, 8) + + + gui_hint + _rotation 0 - grid_pos + id + chan_est + + + label0 - id - chan_est + label1 + + + + label2 + + + + label3 + + + + label4 + label @@ -124,31 +140,55 @@ ["LS", "LMS", "STA", "Linear Comb"] - notebook - + num_opts + 0 - style - wx.RA_HORIZONTAL + option0 + 0 + + + option1 + 1 + + + option2 + 2 + + + option3 + 3 + + + option4 + 4 + + + options + [ieee802_11.LS, ieee802_11.LMS, ieee802_11.STA, ieee802_11.COMB] + + + orient + Qt.QHBoxLayout type + int + + + widget radio_buttons - variable_chooser - - choices - [2412000000.0, 2417000000.0, 2422000000.0, 2427000000.0, 2432000000.0, 2437000000.0, 2442000000.0, 2447000000.0, 2452000000.0, 2457000000.0, 2462000000.0, 2467000000.0, 2472000000.0, 2484000000.0, 5170000000.0, 5180000000.0, 5190000000.0, 5200000000.0, 5210000000.0, 5220000000.0, 5230000000.0, 5240000000.0, 5250000000.0, 5260000000.0, 5270000000.0, 5280000000.0, 5290000000.0, 5300000000.0, 5310000000.0, 5320000000.0, 5500000000.0, 5510000000.0, 5520000000.0, 5530000000.0, 5540000000.0, 5550000000.0, 5560000000.0, 5570000000.0, 5580000000.0, 5590000000.0, 5600000000.0, 5610000000.0, 5620000000.0, 5630000000.0, 5640000000.0, 5660000000.0, 5670000000.0, 5680000000.0, 5690000000.0, 5700000000.0, 5710000000.0, 5720000000.0, 5745000000.0, 5755000000.0, 5765000000.0, 5775000000.0, 5785000000.0, 5795000000.0, 5805000000.0, 5825000000.0, 5860000000.0, 5870000000.0, 5880000000.0, 5890000000.0, 5900000000.0, 5910000000.0, 5920000000.0] - + variable_qtgui_chooser comment value - 5.89e9 + 0 _enabled @@ -156,51 +196,194 @@ _coordinate - (840, 16) + (472, 8) + + + gui_hint + _rotation 0 - grid_pos + id + encoding + + + label0 + + label1 + + + + label2 + + + + label3 + + + + label4 + + + + label + + + + labels + ["BPSK 1/2", "BPSK 3/4", "QPSK 1/2", "QPSK 3/4", "16QAM 1/2", "16QAM 3/4", "64QAM 2/3", "64QAM 3/4"] + + + num_opts + 0 + + + option0 + 0 + + + option1 + 1 + + + option2 + 2 + + + option3 + 3 + + + option4 + 4 + + + options + [0, 1, 2, 3, 4, 5, 6, 7] + + + orient + Qt.QHBoxLayout + + + type + int + + + widget + radio_buttons + + + + variable_qtgui_chooser + + comment + + + + value + 5890000000 + + + _enabled + True + + + _coordinate + (784, 8) + + + gui_hint + + + + _rotation + 0 + id freq + + label0 + + + + label1 + + + + label2 + + + + label3 + + + + label4 + + label - Channel + labels [' 1 | 2412.0 | 11g', ' 2 | 2417.0 | 11g', ' 3 | 2422.0 | 11g', ' 4 | 2427.0 | 11g', ' 5 | 2432.0 | 11g', ' 6 | 2437.0 | 11g', ' 7 | 2442.0 | 11g', ' 8 | 2447.0 | 11g', ' 9 | 2452.0 | 11g', ' 10 | 2457.0 | 11g', ' 11 | 2462.0 | 11g', ' 12 | 2467.0 | 11g', ' 13 | 2472.0 | 11g', ' 14 | 2484.0 | 11g', ' 34 | 5170.0 | 11a', ' 36 | 5180.0 | 11a', ' 38 | 5190.0 | 11a', ' 40 | 5200.0 | 11a', ' 42 | 5210.0 | 11a', ' 44 | 5220.0 | 11a', ' 46 | 5230.0 | 11a', ' 48 | 5240.0 | 11a', ' 50 | 5250.0 | 11a', ' 52 | 5260.0 | 11a', ' 54 | 5270.0 | 11a', ' 56 | 5280.0 | 11a', ' 58 | 5290.0 | 11a', ' 60 | 5300.0 | 11a', ' 62 | 5310.0 | 11a', ' 64 | 5320.0 | 11a', '100 | 5500.0 | 11a', '102 | 5510.0 | 11a', '104 | 5520.0 | 11a', '106 | 5530.0 | 11a', '108 | 5540.0 | 11a', '110 | 5550.0 | 11a', '112 | 5560.0 | 11a', '114 | 5570.0 | 11a', '116 | 5580.0 | 11a', '118 | 5590.0 | 11a', '120 | 5600.0 | 11a', '122 | 5610.0 | 11a', '124 | 5620.0 | 11a', '126 | 5630.0 | 11a', '128 | 5640.0 | 11a', '132 | 5660.0 | 11a', '134 | 5670.0 | 11a', '136 | 5680.0 | 11a', '138 | 5690.0 | 11a', '140 | 5700.0 | 11a', '142 | 5710.0 | 11a', '144 | 5720.0 | 11a', '149 | 5745.0 | 11a (SRD)', '151 | 5755.0 | 11a (SRD)', '153 | 5765.0 | 11a (SRD)', '155 | 5775.0 | 11a (SRD)', '157 | 5785.0 | 11a (SRD)', '159 | 5795.0 | 11a (SRD)', '161 | 5805.0 | 11a (SRD)', '165 | 5825.0 | 11a (SRD)', '172 | 5860.0 | 11p', '174 | 5870.0 | 11p', '176 | 5880.0 | 11p', '178 | 5890.0 | 11p', '180 | 5900.0 | 11p', '182 | 5910.0 | 11p', '184 | 5920.0 | 11p'] - notebook - + num_opts + 0 - style - wx.RA_HORIZONTAL + option0 + 0 + + + option1 + 1 + + + option2 + 2 + + + option3 + 3 + + + option4 + 4 + + + options + [2412000000.0, 2417000000.0, 2422000000.0, 2427000000.0, 2432000000.0, 2437000000.0, 2442000000.0, 2447000000.0, 2452000000.0, 2457000000.0, 2462000000.0, 2467000000.0, 2472000000.0, 2484000000.0, 5170000000.0, 5180000000.0, 5190000000.0, 5200000000.0, 5210000000.0, 5220000000.0, 5230000000.0, 5240000000.0, 5250000000.0, 5260000000.0, 5270000000.0, 5280000000.0, 5290000000.0, 5300000000.0, 5310000000.0, 5320000000.0, 5500000000.0, 5510000000.0, 5520000000.0, 5530000000.0, 5540000000.0, 5550000000.0, 5560000000.0, 5570000000.0, 5580000000.0, 5590000000.0, 5600000000.0, 5610000000.0, 5620000000.0, 5630000000.0, 5640000000.0, 5660000000.0, 5670000000.0, 5680000000.0, 5690000000.0, 5700000000.0, 5710000000.0, 5720000000.0, 5745000000.0, 5755000000.0, 5765000000.0, 5775000000.0, 5785000000.0, 5795000000.0, 5805000000.0, 5825000000.0, 5860000000.0, 5870000000.0, 5880000000.0, 5890000000.0, 5900000000.0, 5910000000.0, 5920000000.0] + + + orient + Qt.QVBoxLayout type - drop_down + real + + + widget + combo_box - variable_slider + variable_qtgui_range comment - - converver - float_converter - value 0.75 @@ -211,16 +394,16 @@ _coordinate - (704, 16) + (648, 8) + + + gui_hint + _rotation 0 - - grid_pos - - id gain @@ -230,39 +413,43 @@ - max - 1 + min_len + 200 - min + orient + Qt.Horizontal + + + start 0 - notebook - + step + 0.01 - num_steps - 100 + stop + 1 - style - wx.SL_HORIZONTAL + rangeType + float + + + widget + counter_slider - variable_chooser - - choices - [0, 6e6, 11e6] - + variable_qtgui_chooser comment value - 11e6 + 0 _enabled @@ -273,44 +460,88 @@ (176, 8) - _rotation - 0 + gui_hint + - grid_pos - + _rotation + 0 id lo_offset - label - LO Offset - - - labels - ['0 MHz', '6 MHz', '11 MHz'] - - - notebook + label0 - style - wx.RA_HORIZONTAL + label1 + + + + label2 + + + + label3 + + + + label4 + + + + label + + + + labels + [] + + + num_opts + 3 + + + option0 + 0 + + + option1 + 6e6 + + + option2 + 11e6 + + + option3 + 3 + + + option4 + 4 + + + options + [0, 1, 2] + + + orient + Qt.QVBoxLayout type - drop_down + real + + + widget + combo_box - variable_chooser - - choices - [5e6, 10e6, 20e6] - + variable_qtgui_chooser comment @@ -325,39 +556,87 @@ _coordinate - (1016, 16) + (960, 8) + + + gui_hint + _rotation 0 - - grid_pos - - id samp_rate + + label0 + + + + label1 + + + + label2 + + + + label3 + + + + label4 + + label - Sample Rate + labels ["5 MHz", "10 MHz", "20 MHz"] - notebook - + num_opts + 0 - style - wx.RA_HORIZONTAL + option0 + 0 + + + option1 + 1 + + + option2 + 2 + + + option3 + 3 + + + option4 + 4 + + + options + [5e6, 10e6, 20e6] + + + orient + Qt.QVBoxLayout type - radio_buttons + real + + + widget + combo_box @@ -434,7 +713,7 @@ _coordinate - (1016, 313) + (1016, 312) _rotation @@ -477,7 +756,7 @@ _coordinate - (464, 241) + (488, 240) _rotation @@ -520,7 +799,7 @@ _coordinate - (432, 329) + (424, 328) _rotation @@ -563,7 +842,7 @@ _coordinate - (488, 563) + (520, 564) _rotation @@ -618,7 +897,7 @@ _coordinate - (264, 323) + (264, 324) _rotation @@ -669,7 +948,7 @@ _coordinate - (1169, 400) + (1168, 400) _rotation @@ -728,7 +1007,7 @@ _coordinate - (768, 931) + (768, 908) _rotation @@ -771,7 +1050,7 @@ _coordinate - (664, 297) + (664, 296) _rotation @@ -822,7 +1101,7 @@ _coordinate - (584, 843) + (584, 836) _rotation @@ -869,7 +1148,7 @@ _coordinate - (920, 547) + (912, 548) _rotation @@ -928,7 +1207,7 @@ _coordinate - (168, 667) + (168, 672) _rotation @@ -987,7 +1266,7 @@ _coordinate - (952, 939) + (952, 916) _rotation @@ -1034,7 +1313,7 @@ _coordinate - (872, 675) + (864, 676) _rotation @@ -1093,7 +1372,7 @@ _coordinate - (448, 683) + (432, 672) _rotation @@ -1136,7 +1415,7 @@ _coordinate - (808, 307) + (808, 308) _rotation @@ -1183,7 +1462,7 @@ _coordinate - (800, 235) + (808, 236) _rotation @@ -1234,7 +1513,7 @@ _coordinate - (984, 1083) + (984, 804) _rotation @@ -1281,7 +1560,7 @@ _coordinate - (728, 531) + (728, 532) _rotation @@ -1332,7 +1611,7 @@ _coordinate - (224, 505) + (232, 504) _rotation @@ -1364,7 +1643,15 @@ - notebook + qtgui_const_sink_x + + autoscale + False + + + axislabels + True + alias @@ -1373,37 +1660,696 @@ comment + + affinity + + _enabled True _coordinate - (536, 14) + (344, 828) + + + gui_hint + _rotation - 0 + 180 - grid_pos - + grid + False id - nb + qtgui_const_sink_x_0 - labels - ['constellation', 'autocorrelation'] + legend + True - notebook + alpha1 + 1.0 + + + color1 + "blue" + + + label1 - style - wx.NB_TOP + marker1 + 0 + + + style1 + 0 + + + width1 + 1 + + + alpha10 + 1.0 + + + color10 + "red" + + + label10 + + + + marker10 + 0 + + + style10 + 0 + + + width10 + 1 + + + alpha2 + 1.0 + + + color2 + "red" + + + label2 + + + + marker2 + 0 + + + style2 + 0 + + + width2 + 1 + + + alpha3 + 1.0 + + + color3 + "red" + + + label3 + + + + marker3 + 0 + + + style3 + 0 + + + width3 + 1 + + + alpha4 + 1.0 + + + color4 + "red" + + + label4 + + + + marker4 + 0 + + + style4 + 0 + + + width4 + 1 + + + alpha5 + 1.0 + + + color5 + "red" + + + label5 + + + + marker5 + 0 + + + style5 + 0 + + + width5 + 1 + + + alpha6 + 1.0 + + + color6 + "red" + + + label6 + + + + marker6 + 0 + + + style6 + 0 + + + width6 + 1 + + + alpha7 + 1.0 + + + color7 + "red" + + + label7 + + + + marker7 + 0 + + + style7 + 0 + + + width7 + 1 + + + alpha8 + 1.0 + + + color8 + "red" + + + label8 + + + + marker8 + 0 + + + style8 + 0 + + + width8 + 1 + + + alpha9 + 1.0 + + + color9 + "red" + + + label9 + + + + marker9 + 0 + + + style9 + 0 + + + width9 + 1 + + + name + "" + + + nconnections + 1 + + + size + 48*10 + + + tr_chan + 0 + + + tr_level + 0.0 + + + tr_mode + qtgui.TRIG_MODE_FREE + + + tr_slope + qtgui.TRIG_SLOPE_POS + + + tr_tag + "" + + + type + complex + + + update_time + 0.10 + + + xmax + 2 + + + xmin + -2 + + + ymax + 2 + + + ymin + -2 + + + + qtgui_time_sink_x + + autoscale + False + + + axislabels + True + + + alias + + + + comment + + + + ctrlpanel + False + + + affinity + + + + entags + True + + + _enabled + True + + + _coordinate + (1164, 520) + + + gui_hint + + + + _rotation + 270 + + + grid + False + + + id + qtgui_time_sink_x_0 + + + legend + True + + + alpha1 + 1.0 + + + color1 + "blue" + + + label1 + + + + marker1 + -1 + + + style1 + 1 + + + width1 + 1 + + + alpha10 + 1.0 + + + color10 + "blue" + + + label10 + + + + marker10 + -1 + + + style10 + 1 + + + width10 + 1 + + + alpha2 + 1.0 + + + color2 + "red" + + + label2 + + + + marker2 + -1 + + + style2 + 1 + + + width2 + 1 + + + alpha3 + 1.0 + + + color3 + "green" + + + label3 + + + + marker3 + -1 + + + style3 + 1 + + + width3 + 1 + + + alpha4 + 1.0 + + + color4 + "black" + + + label4 + + + + marker4 + -1 + + + style4 + 1 + + + width4 + 1 + + + alpha5 + 1.0 + + + color5 + "cyan" + + + label5 + + + + marker5 + -1 + + + style5 + 1 + + + width5 + 1 + + + alpha6 + 1.0 + + + color6 + "magenta" + + + label6 + + + + marker6 + -1 + + + style6 + 1 + + + width6 + 1 + + + alpha7 + 1.0 + + + color7 + "yellow" + + + label7 + + + + marker7 + -1 + + + style7 + 1 + + + width7 + 1 + + + alpha8 + 1.0 + + + color8 + "dark red" + + + label8 + + + + marker8 + -1 + + + style8 + 1 + + + width8 + 1 + + + alpha9 + 1.0 + + + color9 + "dark green" + + + label9 + + + + marker9 + -1 + + + style9 + 1 + + + width9 + 1 + + + name + "" + + + nconnections + 1 + + + size + 1024 + + + srate + samp_rate + + + tr_chan + 0 + + + tr_delay + 0 + + + tr_level + 0.0 + + + tr_mode + qtgui.TRIG_MODE_FREE + + + tr_slope + qtgui.TRIG_SLOPE_POS + + + tr_tag + "" + + + type + float + + + update_time + 0.10 + + + ylabel + Amplitude + + + yunit + "" + + + ymax + 1 + + + ymin + -1 @@ -2590,7 +3536,7 @@ _coordinate - (24, 219) + (32, 216) _rotation @@ -2745,180 +3691,6 @@ - - wxgui_scopesink2 - - ac_couple - False - - - alias - - - - comment - - - - affinity - - - - _enabled - True - - - _coordinate - (376, 803) - - - _rotation - 180 - - - grid_pos - - - - id - wxgui_scopesink1 - - - notebook - nb,0 - - - num_inputs - 1 - - - samp_rate - 12500 - - - t_scale - 0 - - - title - Scope Plot - - - trig_mode - wxgui.TRIG_MODE_AUTO - - - type - complex - - - v_offset - 0 - - - v_scale - 0 - - - win_size - - - - xy_mode - True - - - y_axis_label - Counts - - - - wxgui_scopesink2 - - ac_couple - False - - - alias - - - - comment - - - - affinity - - - - _enabled - True - - - _coordinate - (1147, 536) - - - _rotation - 270 - - - grid_pos - - - - id - wxgui_scopesink2_0 - - - notebook - nb, 1 - - - num_inputs - 1 - - - samp_rate - samp_rate - - - t_scale - 0 - - - title - Scope Plot - - - trig_mode - wxgui.TRIG_MODE_AUTO - - - type - float - - - v_offset - 0 - - - v_scale - 0 - - - win_size - - - - xy_mode - False - - - y_axis_label - Counts - - blocks_complex_to_mag_0 blocks_divide_xx_0 @@ -2963,7 +3735,7 @@ blocks_divide_xx_0 - wxgui_scopesink2_0 + qtgui_time_sink_x_0 0 0 @@ -2975,7 +3747,7 @@ blocks_pdu_to_tagged_stream_1 - wxgui_scopesink1 + qtgui_const_sink_x_0 0 0 diff --git a/examples/wifi_transceiver.grc b/examples/wifi_transceiver.grc index b47bc89..d5679be 100644 --- a/examples/wifi_transceiver.grc +++ b/examples/wifi_transceiver.grc @@ -30,7 +30,7 @@ _coordinate - (8, 11) + (8, 12) _rotation @@ -38,7 +38,7 @@ generate_options - wx_gui + qt_gui hier_block_src_path @@ -82,66 +82,106 @@ - variable_chooser - - choices - [ieee802_11.LS, ieee802_11.COMB] - + variable_qtgui_chooser comment value - ieee802_11.LS + 0 _enabled - True + 1 _coordinate - (888, 112) + (312, 8) + + + gui_hint + _rotation 0 - - grid_pos - - id chan_est + + label0 + + + + label1 + + + + label2 + + + + label3 + + + + label4 + + label labels - ["LS", "Linear Comb"] + ["LS", "LMS", "STA", "Linear Comb"] - notebook - + num_opts + 0 - style - wx.RA_HORIZONTAL + option0 + 0 + + + option1 + 1 + + + option2 + 2 + + + option3 + 3 + + + option4 + 4 + + + options + [ieee802_11.LS, ieee802_11.LMS, ieee802_11.STA, ieee802_11.COMB] + + + orient + Qt.QHBoxLayout type + int + + + widget radio_buttons - variable_chooser - - choices - [0,1,2,3,4,5,6,7] - + variable_qtgui_chooser comment @@ -152,245 +192,317 @@ _enabled - True + 1 _coordinate - (712, 8) + (488, 8) + + + gui_hint + _rotation 0 - - grid_pos - - id encoding + + label0 + + + + label1 + + + + label2 + + + + label3 + + + + label4 + + label - Encoding + labels ["BPSK 1/2", "BPSK 3/4", "QPSK 1/2", "QPSK 3/4", "16QAM 1/2", "16QAM 3/4", "64QAM 2/3", "64QAM 3/4"] - notebook - + num_opts + 0 - style - wx.RA_HORIZONTAL + option0 + 0 + + + option1 + 1 + + + option2 + 2 + + + option3 + 3 + + + option4 + 4 + + + options + [0, 1, 2, 3, 4, 5, 6, 7] + + + orient + Qt.QHBoxLayout type + int + + + widget radio_buttons - variable_chooser - - choices - [2412000000.0, 2417000000.0, 2422000000.0, 2427000000.0, 2432000000.0, 2437000000.0, 2442000000.0, 2447000000.0, 2452000000.0, 2457000000.0, 2462000000.0, 2467000000.0, 2472000000.0, 2484000000.0, 5170000000.0, 5180000000.0, 5190000000.0, 5200000000.0, 5210000000.0, 5220000000.0, 5230000000.0, 5240000000.0, 5250000000.0, 5260000000.0, 5270000000.0, 5280000000.0, 5290000000.0, 5300000000.0, 5310000000.0, 5320000000.0, 5500000000.0, 5510000000.0, 5520000000.0, 5530000000.0, 5540000000.0, 5550000000.0, 5560000000.0, 5570000000.0, 5580000000.0, 5590000000.0, 5600000000.0, 5610000000.0, 5620000000.0, 5630000000.0, 5640000000.0, 5660000000.0, 5670000000.0, 5680000000.0, 5690000000.0, 5700000000.0, 5710000000.0, 5720000000.0, 5745000000.0, 5755000000.0, 5765000000.0, 5775000000.0, 5785000000.0, 5795000000.0, 5805000000.0, 5825000000.0, 5860000000.0, 5870000000.0, 5880000000.0, 5890000000.0, 5900000000.0, 5910000000.0, 5920000000.0] - - + variable_qtgui_chooser comment value - 5.89e9 + 5890000000 _enabled - True + 1 _coordinate - (360, 8) + (664, 8) + + + gui_hint + _rotation 0 - - grid_pos - - id freq + + label0 + + + + label1 + + + + label2 + + + + label3 + + + + label4 + + label - Channel + labels [' 1 | 2412.0 | 11g', ' 2 | 2417.0 | 11g', ' 3 | 2422.0 | 11g', ' 4 | 2427.0 | 11g', ' 5 | 2432.0 | 11g', ' 6 | 2437.0 | 11g', ' 7 | 2442.0 | 11g', ' 8 | 2447.0 | 11g', ' 9 | 2452.0 | 11g', ' 10 | 2457.0 | 11g', ' 11 | 2462.0 | 11g', ' 12 | 2467.0 | 11g', ' 13 | 2472.0 | 11g', ' 14 | 2484.0 | 11g', ' 34 | 5170.0 | 11a', ' 36 | 5180.0 | 11a', ' 38 | 5190.0 | 11a', ' 40 | 5200.0 | 11a', ' 42 | 5210.0 | 11a', ' 44 | 5220.0 | 11a', ' 46 | 5230.0 | 11a', ' 48 | 5240.0 | 11a', ' 50 | 5250.0 | 11a', ' 52 | 5260.0 | 11a', ' 54 | 5270.0 | 11a', ' 56 | 5280.0 | 11a', ' 58 | 5290.0 | 11a', ' 60 | 5300.0 | 11a', ' 62 | 5310.0 | 11a', ' 64 | 5320.0 | 11a', '100 | 5500.0 | 11a', '102 | 5510.0 | 11a', '104 | 5520.0 | 11a', '106 | 5530.0 | 11a', '108 | 5540.0 | 11a', '110 | 5550.0 | 11a', '112 | 5560.0 | 11a', '114 | 5570.0 | 11a', '116 | 5580.0 | 11a', '118 | 5590.0 | 11a', '120 | 5600.0 | 11a', '122 | 5610.0 | 11a', '124 | 5620.0 | 11a', '126 | 5630.0 | 11a', '128 | 5640.0 | 11a', '132 | 5660.0 | 11a', '134 | 5670.0 | 11a', '136 | 5680.0 | 11a', '138 | 5690.0 | 11a', '140 | 5700.0 | 11a', '142 | 5710.0 | 11a', '144 | 5720.0 | 11a', '149 | 5745.0 | 11a (SRD)', '151 | 5755.0 | 11a (SRD)', '153 | 5765.0 | 11a (SRD)', '155 | 5775.0 | 11a (SRD)', '157 | 5785.0 | 11a (SRD)', '159 | 5795.0 | 11a (SRD)', '161 | 5805.0 | 11a (SRD)', '165 | 5825.0 | 11a (SRD)', '172 | 5860.0 | 11p', '174 | 5870.0 | 11p', '176 | 5880.0 | 11p', '178 | 5890.0 | 11p', '180 | 5900.0 | 11p', '182 | 5910.0 | 11p', '184 | 5920.0 | 11p'] - notebook - + num_opts + 0 - style - wx.RA_HORIZONTAL + option0 + 0 + + + option1 + 1 + + + option2 + 2 + + + option3 + 3 + + + option4 + 4 + + + options + [2412000000.0, 2417000000.0, 2422000000.0, 2427000000.0, 2432000000.0, 2437000000.0, 2442000000.0, 2447000000.0, 2452000000.0, 2457000000.0, 2462000000.0, 2467000000.0, 2472000000.0, 2484000000.0, 5170000000.0, 5180000000.0, 5190000000.0, 5200000000.0, 5210000000.0, 5220000000.0, 5230000000.0, 5240000000.0, 5250000000.0, 5260000000.0, 5270000000.0, 5280000000.0, 5290000000.0, 5300000000.0, 5310000000.0, 5320000000.0, 5500000000.0, 5510000000.0, 5520000000.0, 5530000000.0, 5540000000.0, 5550000000.0, 5560000000.0, 5570000000.0, 5580000000.0, 5590000000.0, 5600000000.0, 5610000000.0, 5620000000.0, 5630000000.0, 5640000000.0, 5660000000.0, 5670000000.0, 5680000000.0, 5690000000.0, 5700000000.0, 5710000000.0, 5720000000.0, 5745000000.0, 5755000000.0, 5765000000.0, 5775000000.0, 5785000000.0, 5795000000.0, 5805000000.0, 5825000000.0, 5860000000.0, 5870000000.0, 5880000000.0, 5890000000.0, 5900000000.0, 5910000000.0, 5920000000.0] + + + orient + Qt.QVBoxLayout type - drop_down + real + + + widget + combo_box - variable_chooser - - choices - [0, 6e6, 11e6] - + variable_qtgui_chooser comment value - 11e6 + 0 _enabled - True + 1 _coordinate - (176, 8) + (184, 8) + + + gui_hint + _rotation 0 - - grid_pos - - id lo_offset + + label0 + + + + label1 + + + + label2 + + + + label3 + + + + label4 + + label - LO Offset + labels - ['0 MHz', '6 MHz', '11 MHz'] + [] - notebook - + num_opts + 3 - style - wx.RA_HORIZONTAL + option0 + 0 + + + option1 + 6e6 + + + option2 + 11e6 + + + option3 + 3 + + + option4 + 4 + + + options + [0, 1, 2] + + + orient + Qt.QVBoxLayout type - drop_down + real + + + widget + combo_box - variable_slider + variable_qtgui_range comment - - converver - float_converter - - - value - 0.38 - - - _enabled - True - - - _coordinate - (888, 8) - - - _rotation - 0 - - - grid_pos - - - - id - mult - - - label - - - - max - 1 - - - min - 0 - - - notebook - - - - num_steps - 100 - - - style - wx.SL_HORIZONTAL - - - - variable_slider - - comment - - - - converver - float_converter - value 0.75 _enabled - True + 1 _coordinate - (1024, 8) + (1024, 112) + + + gui_hint + _rotation 0 - - grid_pos - - id rx_gain @@ -400,32 +512,36 @@ - max - 1 + min_len + 200 - min + orient + Qt.Horizontal + + + start 0 - notebook - + step + 0.01 - num_steps - 100 + stop + 1 - style - wx.SL_HORIZONTAL + rangeType + float + + + widget + counter_slider - variable_chooser - - choices - [5e6,10e6, 20e6] - + variable_qtgui_chooser comment @@ -436,75 +552,119 @@ _enabled - True + 1 _coordinate - (536, 8) + (840, 8) + + + gui_hint + _rotation 0 - - grid_pos - - id samp_rate + + label0 + + + + label1 + + + + label2 + + + + label3 + + + + label4 + + label - Sample Rate + labels - ["5MHz", "10 MHz", "20 MHz"] + ["5 MHz", "10 MHz", "20 MHz"] - notebook - + num_opts + 0 - style - wx.RA_HORIZONTAL + option0 + 0 + + + option1 + 1 + + + option2 + 2 + + + option3 + 3 + + + option4 + 4 + + + options + [5e6, 10e6, 20e6] + + + orient + Qt.QVBoxLayout type - radio_buttons + real + + + widget + combo_box - variable_slider + variable_qtgui_range comment - - converver - float_converter - value 0.75 _enabled - True + 1 _coordinate - (1032, 112) + (1024, 8) + + + gui_hint + _rotation 0 - - grid_pos - - id tx_gain @@ -514,24 +674,32 @@ - max - 1 + min_len + 200 - min + orient + Qt.Horizontal + + + start 0 - notebook - + step + 0.01 - num_steps - 100 + stop + 1 - style - wx.SL_HORIZONTAL + rangeType + float + + + widget + counter_slider @@ -597,7 +765,7 @@ const - mult + 0.6 affinity @@ -981,6 +1149,353 @@ 0 + + qtgui_const_sink_x + + autoscale + False + + + axislabels + True + + + alias + + + + comment + + + + affinity + + + + _enabled + True + + + _coordinate + (176, 780) + + + gui_hint + + + + _rotation + 0 + + + grid + False + + + id + qtgui_const_sink_x_0 + + + legend + True + + + alpha1 + 1.0 + + + color1 + "blue" + + + label1 + + + + marker1 + 0 + + + style1 + 0 + + + width1 + 1 + + + alpha10 + 1.0 + + + color10 + "red" + + + label10 + + + + marker10 + 0 + + + style10 + 0 + + + width10 + 1 + + + alpha2 + 1.0 + + + color2 + "red" + + + label2 + + + + marker2 + 0 + + + style2 + 0 + + + width2 + 1 + + + alpha3 + 1.0 + + + color3 + "red" + + + label3 + + + + marker3 + 0 + + + style3 + 0 + + + width3 + 1 + + + alpha4 + 1.0 + + + color4 + "red" + + + label4 + + + + marker4 + 0 + + + style4 + 0 + + + width4 + 1 + + + alpha5 + 1.0 + + + color5 + "red" + + + label5 + + + + marker5 + 0 + + + style5 + 0 + + + width5 + 1 + + + alpha6 + 1.0 + + + color6 + "red" + + + label6 + + + + marker6 + 0 + + + style6 + 0 + + + width6 + 1 + + + alpha7 + 1.0 + + + color7 + "red" + + + label7 + + + + marker7 + 0 + + + style7 + 0 + + + width7 + 1 + + + alpha8 + 1.0 + + + color8 + "red" + + + label8 + + + + marker8 + 0 + + + style8 + 0 + + + width8 + 1 + + + alpha9 + 1.0 + + + color9 + "red" + + + label9 + + + + marker9 + 0 + + + style9 + 0 + + + width9 + 1 + + + name + "" + + + nconnections + 1 + + + size + 48*10 + + + tr_chan + 0 + + + tr_level + 0.0 + + + tr_mode + qtgui.TRIG_MODE_FREE + + + tr_slope + qtgui.TRIG_SLOPE_POS + + + tr_tag + "" + + + type + complex + + + update_time + 0.10 + + + xmax + 2 + + + xmin + -2 + + + ymax + 2 + + + ymin + -2 + + uhd_usrp_sink @@ -1653,7 +2168,7 @@ _coordinate - (584, 736) + (592, 728) _rotation @@ -2988,7 +3503,7 @@ _coordinate - (800, 744) + (816, 744) _rotation @@ -3202,93 +3717,6 @@ 0.56 - - wxgui_scopesink2 - - ac_couple - False - - - alias - - - - comment - - - - affinity - - - - _enabled - True - - - _coordinate - (176, 752) - - - _rotation - 0 - - - grid_pos - - - - id - wxgui_scopesink2_0 - - - notebook - - - - num_inputs - 1 - - - samp_rate - 5000 - - - t_scale - 0 - - - title - Scope Plot - - - trig_mode - wxgui.TRIG_MODE_AUTO - - - type - complex - - - v_offset - 0 - - - v_scale - 0 - - - win_size - - - - xy_mode - True - - - y_axis_label - Counts - - blocks_multiply_const_vxx_0 foo_packet_pad2_0 @@ -3297,7 +3725,7 @@ blocks_pdu_to_tagged_stream_0_0 - wxgui_scopesink2_0 + qtgui_const_sink_x_0 0 0 diff --git a/examples/wifi_tx.grc b/examples/wifi_tx.grc index 945c3dd..03e7da4 100644 --- a/examples/wifi_tx.grc +++ b/examples/wifi_tx.grc @@ -38,7 +38,7 @@ generate_options - wx_gui + qt_gui hier_block_src_path @@ -82,11 +82,7 @@ - variable_chooser - - choices - [0,1,2,3,4,5,6,7] - + variable_qtgui_chooser comment @@ -101,54 +97,98 @@ _coordinate - (632, 8) + (1072, 16) + + + gui_hint + _rotation 0 - - grid_pos - - id encoding + + label0 + + + + label1 + + + + label2 + + + + label3 + + + + label4 + + label - Encoding + labels ["BPSK 1/2", "BPSK 3/4", "QPSK 1/2", "QPSK 3/4", "16QAM 1/2", "16QAM 3/4", "64QAM 2/3", "64QAM 3/4"] - notebook - + num_opts + 0 - style - wx.RA_HORIZONTAL + option0 + 0 + + + option1 + 1 + + + option2 + 2 + + + option3 + 3 + + + option4 + 4 + + + options + [0, 1, 2, 3, 4, 5, 6, 7] + + + orient + Qt.QHBoxLayout type + int + + + widget radio_buttons - variable_chooser - - choices - [2412000000.0, 2417000000.0, 2422000000.0, 2427000000.0, 2432000000.0, 2437000000.0, 2442000000.0, 2447000000.0, 2452000000.0, 2457000000.0, 2462000000.0, 2467000000.0, 2472000000.0, 2484000000.0, 5170000000.0, 5180000000.0, 5190000000.0, 5200000000.0, 5210000000.0, 5220000000.0, 5230000000.0, 5240000000.0, 5250000000.0, 5260000000.0, 5270000000.0, 5280000000.0, 5290000000.0, 5300000000.0, 5310000000.0, 5320000000.0, 5500000000.0, 5510000000.0, 5520000000.0, 5530000000.0, 5540000000.0, 5550000000.0, 5560000000.0, 5570000000.0, 5580000000.0, 5590000000.0, 5600000000.0, 5610000000.0, 5620000000.0, 5630000000.0, 5640000000.0, 5660000000.0, 5670000000.0, 5680000000.0, 5690000000.0, 5700000000.0, 5710000000.0, 5720000000.0, 5745000000.0, 5755000000.0, 5765000000.0, 5775000000.0, 5785000000.0, 5795000000.0, 5805000000.0, 5825000000.0, 5860000000.0, 5870000000.0, 5880000000.0, 5890000000.0, 5900000000.0, 5910000000.0, 5920000000.0] - + variable_qtgui_chooser comment value - 5.89e9 + 5890000000 _enabled @@ -156,54 +196,98 @@ _coordinate - (312, 8) + (440, 16) + + + gui_hint + _rotation 0 - - grid_pos - - id freq + + label0 + + + + label1 + + + + label2 + + + + label3 + + + + label4 + + label - Channel + labels [' 1 | 2412.0 | 11g', ' 2 | 2417.0 | 11g', ' 3 | 2422.0 | 11g', ' 4 | 2427.0 | 11g', ' 5 | 2432.0 | 11g', ' 6 | 2437.0 | 11g', ' 7 | 2442.0 | 11g', ' 8 | 2447.0 | 11g', ' 9 | 2452.0 | 11g', ' 10 | 2457.0 | 11g', ' 11 | 2462.0 | 11g', ' 12 | 2467.0 | 11g', ' 13 | 2472.0 | 11g', ' 14 | 2484.0 | 11g', ' 34 | 5170.0 | 11a', ' 36 | 5180.0 | 11a', ' 38 | 5190.0 | 11a', ' 40 | 5200.0 | 11a', ' 42 | 5210.0 | 11a', ' 44 | 5220.0 | 11a', ' 46 | 5230.0 | 11a', ' 48 | 5240.0 | 11a', ' 50 | 5250.0 | 11a', ' 52 | 5260.0 | 11a', ' 54 | 5270.0 | 11a', ' 56 | 5280.0 | 11a', ' 58 | 5290.0 | 11a', ' 60 | 5300.0 | 11a', ' 62 | 5310.0 | 11a', ' 64 | 5320.0 | 11a', '100 | 5500.0 | 11a', '102 | 5510.0 | 11a', '104 | 5520.0 | 11a', '106 | 5530.0 | 11a', '108 | 5540.0 | 11a', '110 | 5550.0 | 11a', '112 | 5560.0 | 11a', '114 | 5570.0 | 11a', '116 | 5580.0 | 11a', '118 | 5590.0 | 11a', '120 | 5600.0 | 11a', '122 | 5610.0 | 11a', '124 | 5620.0 | 11a', '126 | 5630.0 | 11a', '128 | 5640.0 | 11a', '132 | 5660.0 | 11a', '134 | 5670.0 | 11a', '136 | 5680.0 | 11a', '138 | 5690.0 | 11a', '140 | 5700.0 | 11a', '142 | 5710.0 | 11a', '144 | 5720.0 | 11a', '149 | 5745.0 | 11a (SRD)', '151 | 5755.0 | 11a (SRD)', '153 | 5765.0 | 11a (SRD)', '155 | 5775.0 | 11a (SRD)', '157 | 5785.0 | 11a (SRD)', '159 | 5795.0 | 11a (SRD)', '161 | 5805.0 | 11a (SRD)', '165 | 5825.0 | 11a (SRD)', '172 | 5860.0 | 11p', '174 | 5870.0 | 11p', '176 | 5880.0 | 11p', '178 | 5890.0 | 11p', '180 | 5900.0 | 11p', '182 | 5910.0 | 11p', '184 | 5920.0 | 11p'] - notebook - + num_opts + 0 - style - wx.RA_HORIZONTAL + option0 + 0 + + + option1 + 1 + + + option2 + 2 + + + option3 + 3 + + + option4 + 4 + + + options + [2412000000.0, 2417000000.0, 2422000000.0, 2427000000.0, 2432000000.0, 2437000000.0, 2442000000.0, 2447000000.0, 2452000000.0, 2457000000.0, 2462000000.0, 2467000000.0, 2472000000.0, 2484000000.0, 5170000000.0, 5180000000.0, 5190000000.0, 5200000000.0, 5210000000.0, 5220000000.0, 5230000000.0, 5240000000.0, 5250000000.0, 5260000000.0, 5270000000.0, 5280000000.0, 5290000000.0, 5300000000.0, 5310000000.0, 5320000000.0, 5500000000.0, 5510000000.0, 5520000000.0, 5530000000.0, 5540000000.0, 5550000000.0, 5560000000.0, 5570000000.0, 5580000000.0, 5590000000.0, 5600000000.0, 5610000000.0, 5620000000.0, 5630000000.0, 5640000000.0, 5660000000.0, 5670000000.0, 5680000000.0, 5690000000.0, 5700000000.0, 5710000000.0, 5720000000.0, 5745000000.0, 5755000000.0, 5765000000.0, 5775000000.0, 5785000000.0, 5795000000.0, 5805000000.0, 5825000000.0, 5860000000.0, 5870000000.0, 5880000000.0, 5890000000.0, 5900000000.0, 5910000000.0, 5920000000.0] + + + orient + Qt.QVBoxLayout type - drop_down + real + + + widget + combo_box - variable_chooser - - choices - [0, 6e6, 11e6] - + variable_qtgui_range comment value - 11e6 + 300 _enabled @@ -211,98 +295,150 @@ _coordinate - (808, 112) + (312, 16) + + + gui_hint + _rotation 0 - grid_pos + id + interval + + + label + + min_len + 200 + + + orient + Qt.Horizontal + + + start + 10 + + + step + 1 + + + stop + 1000 + + + rangeType + int + + + widget + counter_slider + + + + variable_qtgui_chooser + + comment + + + + value + 0 + + + _enabled + True + + + _coordinate + (808, 16) + + + gui_hint + + + + _rotation + 0 + id lo_offset + + label0 + + + + label1 + + + + label2 + + + + label3 + + + + label4 + + label - LO Offset + labels - ['0 MHz', '6 MHz', '11 MHz'] + [] - notebook - + num_opts + 3 - style - wx.RA_HORIZONTAL + option0 + 0 + + + option1 + 6e6 + + + option2 + 11e6 + + + option3 + 3 + + + option4 + 4 + + + options + [0, 1, 2] + + + orient + Qt.QVBoxLayout type - drop_down - - - - variable_slider - - comment - + real - converver - float_converter - - - value - .4 - - - _enabled - True - - - _coordinate - (808, 8) - - - _rotation - 0 - - - grid_pos - - - - id - mult - - - label - - - - max - 2 - - - min - 0 - - - notebook - - - - num_steps - 100 - - - style - wx.SL_HORIZONTAL + widget + combo_box @@ -333,18 +469,14 @@ - variable_slider + variable_qtgui_range comment - - converver - int_converter - value - 100 + 500 _enabled @@ -352,16 +484,16 @@ _coordinate - (944, 8) + (184, 16) + + + gui_hint + _rotation 0 - - grid_pos - - id pdu_length @@ -371,91 +503,36 @@ - max - 1500 + min_len + 200 - min + orient + Qt.Horizontal + + + start 0 - notebook - - - - num_steps - 1000 - - - style - wx.SL_HORIZONTAL - - - - variable_slider - - comment - - - - converver - int_converter - - - value - 100 - - - _enabled - True - - - _coordinate - (1064, 8) - - - _rotation - 0 - - - grid_pos - - - - id - period - - - label - - - - max - 10000 - - - min + step 1 - notebook - + stop + 1500 - num_steps - 1000 + rangeType + int - style - wx.SL_HORIZONTAL + widget + counter_slider - variable_chooser - - choices - [10e6, 20e6] - + variable_qtgui_chooser comment @@ -470,51 +547,95 @@ _coordinate - (488, 8) + (624, 16) + + + gui_hint + _rotation 0 - - grid_pos - - id samp_rate + + label0 + + + + label1 + + + + label2 + + + + label3 + + + + label4 + + label - Sample Rate + labels - ["10 Mhz", "20 Mhz"] + ["5 MHz", "10 MHz", "20 MHz"] - notebook - + num_opts + 0 - style - wx.RA_HORIZONTAL + option0 + 0 + + + option1 + 1 + + + option2 + 2 + + + option3 + 3 + + + option4 + 4 + + + options + [5e6, 10e6, 20e6] + + + orient + Qt.QVBoxLayout type - radio_buttons + real + + + widget + combo_box - variable_slider + variable_qtgui_range comment - - converver - float_converter - value 0.75 @@ -525,16 +646,16 @@ _coordinate - (176, 8) + (928, 16) + + + gui_hint + _rotation 0 - - grid_pos - - id tx_gain @@ -544,24 +665,32 @@ - max - 1 + min_len + 200 - min + orient + Qt.Horizontal + + + start 0 - notebook - + step + 0.01 - num_steps - 100 + stop + 1 - style - wx.SL_HORIZONTAL + rangeType + float + + + widget + counter_slider @@ -608,7 +737,7 @@ period - period + interval @@ -623,7 +752,7 @@ const - mult + 0.6 affinity