X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=gr-howto-write-a-block%2Fapps%2Fhowto_square.grc;fp=gr-howto-write-a-block%2Fapps%2Fhowto_square.grc;h=a8563698b8c15140375be24f744d6db2151db860;hb=35e43e8d8c271e6842191cac3fc3f2f88a861183;hp=0000000000000000000000000000000000000000;hpb=ea29b08aeb54227e6628f655ccfdb96fe4d8c378;p=debian%2Fgnuradio diff --git a/gr-howto-write-a-block/apps/howto_square.grc b/gr-howto-write-a-block/apps/howto_square.grc new file mode 100644 index 00000000..a8563698 --- /dev/null +++ b/gr-howto-write-a-block/apps/howto_square.grc @@ -0,0 +1,325 @@ + + + Thu Nov 12 11:26:07 2009 + + options + + id + howto_square + + + _enabled + True + + + title + + + + author + + + + description + + + + window_size + 1280, 1024 + + + generate_options + wx_gui + + + category + Custom + + + run_options + prompt + + + run + True + + + realtime_scheduling + + + + _coordinate + (10, 10) + + + _rotation + 0 + + + + variable + + id + samp_rate + + + _enabled + True + + + value + 10e3 + + + _coordinate + (10, 170) + + + _rotation + 0 + + + + wxgui_scopesink2 + + id + sink + + + _enabled + True + + + type + float + + + title + Input + + + samp_rate + samp_rate + + + v_scale + 20 + + + v_offset + 0 + + + t_scale + 0.002 + + + ac_couple + False + + + xy_mode + False + + + num_inputs + 1 + + + win_size + + + + grid_pos + + + + notebook + + + + _coordinate + (691, 222) + + + _rotation + 0 + + + + howto_square_ff + + id + sqr + + + _enabled + True + + + _coordinate + (709, 344) + + + _rotation + 0 + + + + gr_throttle + + id + thr + + + _enabled + True + + + type + float + + + samples_per_second + samp_rate + + + vlen + 1 + + + _coordinate + (497, 340) + + + _rotation + 0 + + + + gr_vector_source_x + + id + src + + + _enabled + True + + + type + float + + + vector + [float(n)-50 for n in range(100)] + + + repeat + True + + + vlen + 1 + + + _coordinate + (246, 332) + + + _rotation + 0 + + + + wxgui_scopesink2 + + id + sink2 + + + _enabled + True + + + type + float + + + title + Output + + + samp_rate + samp_rate + + + v_scale + 0 + + + v_offset + 0 + + + t_scale + 0.002 + + + ac_couple + False + + + xy_mode + False + + + num_inputs + 1 + + + win_size + + + + grid_pos + + + + notebook + + + + _coordinate + (869, 324) + + + _rotation + 0 + + + + thr + sqr + 0 + 0 + + + src + thr + 0 + 0 + + + thr + sink + 0 + 0 + + + sqr + sink2 + 0 + 0 + +