From 6a4bef7a8076864ab574fef6b3fd4e93824988cc Mon Sep 17 00:00:00 2001 From: Tom Rondeau Date: Sun, 10 Apr 2011 16:50:02 -0400 Subject: gr-qtgui: adding a GRC example for QtGui graphs. --- gr-qtgui/apps/grc_qt_example.grc | 441 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 441 insertions(+) create mode 100644 gr-qtgui/apps/grc_qt_example.grc (limited to 'gr-qtgui/apps/grc_qt_example.grc') diff --git a/gr-qtgui/apps/grc_qt_example.grc b/gr-qtgui/apps/grc_qt_example.grc new file mode 100644 index 000000000..170cd546a --- /dev/null +++ b/gr-qtgui/apps/grc_qt_example.grc @@ -0,0 +1,441 @@ + + + Sun Apr 10 16:49:13 2011 + + options + + id + grc_qt_example + + + _enabled + True + + + title + + + + author + + + + description + + + + window_size + 1280, 1024 + + + generate_options + qt_gui + + + category + Custom + + + run_options + prompt + + + run + True + + + realtime_scheduling + + + + _coordinate + (10, 10) + + + _rotation + 0 + + + + variable + + id + samp_rate + + + _enabled + True + + + value + 32000 + + + _coordinate + (10, 170) + + + _rotation + 0 + + + + gr_throttle + + id + gr_throttle_0 + + + _enabled + True + + + type + complex + + + samples_per_second + samp_rate + + + vlen + 1 + + + _coordinate + (511, 96) + + + _rotation + 0 + + + + variable_qtgui_range + + id + freq + + + _enabled + True + + + label + Signal Frequency + + + value + 1000 + + + start + 0 + + + stop + samp_rate/2.0 + + + step + samp_rate/100.0 + + + widget + counter_slider + + + orient + Qt.Horizontal + + + min_len + 200 + + + gui_hint + + + + _coordinate + (169, 187) + + + _rotation + 0 + + + + gr_sig_source_x + + id + gr_sig_source_x_0 + + + _enabled + True + + + type + complex + + + samp_rate + samp_rate + + + waveform + gr.GR_COS_WAVE + + + freq + freq + + + amp + amp + + + offset + 0 + + + _coordinate + (295, 64) + + + _rotation + 0 + + + + variable_qtgui_range + + id + amp + + + _enabled + True + + + label + Signal Amplitude + + + value + 1 + + + start + 0 + + + stop + 1.0 + + + step + 0.01 + + + widget + counter_slider + + + orient + Qt.Horizontal + + + min_len + 200 + + + gui_hint + + + + _coordinate + (311, 187) + + + _rotation + 0 + + + + variable_qtgui_range + + id + noise + + + _enabled + True + + + label + Noise Amplitude + + + value + 0.01 + + + start + 0 + + + stop + 1.0 + + + step + 0.01 + + + widget + counter_slider + + + orient + Qt.Horizontal + + + min_len + 200 + + + gui_hint + + + + _coordinate + (723, 191) + + + _rotation + 0 + + + + gr_channel_model + + id + gr_channel_model_0 + + + _enabled + True + + + noise_voltage + noise + + + freq_offset + 0.0 + + + epsilon + 1.0 + + + taps + 1.0 + 0.0j + + + seed + 42 + + + _coordinate + (727, 64) + + + _rotation + 0 + + + + qtgui_sink_x + + id + qtgui_sink_x_0 + + + _enabled + True + + + type + complex + + + name + QT GUI Plot + + + fftsize + 1024 + + + wintype + firdes.WIN_BLACKMAN_hARRIS + + + fc + 0 + + + bw + samp_rate + + + plotfreq + True + + + plotwaterfall + True + + + plottime + True + + + plotconst + False + + + gui_hint + + + + _coordinate + (958, 72) + + + _rotation + 0 + + + + gr_sig_source_x_0 + gr_throttle_0 + 0 + 0 + + + gr_throttle_0 + gr_channel_model_0 + 0 + 0 + + + gr_channel_model_0 + qtgui_sink_x_0 + 0 + 0 + + -- cgit