Tue Apr 3 18:11:51 2012 options id ber_sim _enabled True title BER Simulation author Example description Adjust the noise and constellation... see what happens! window_size 1280, 1024 generate_options wx_gui category Custom run_options prompt run True realtime_scheduling _coordinate (16, 10) _rotation 0 gr_noise_source_x id gr_noise_source_x _enabled True type complex noise_type gr.GR_GAUSSIAN amp noise seed 42 _coordinate (235, 379) _rotation 0 wxgui_numbersink2 id wxgui_numbersink2 _enabled True type float title BER units % samp_rate samp_rate min_value 0.0 max_value 1.0 factor 100 decimal_places 4 ref_level 0 number_rate 15 peak_hold False average False avg_alpha 0 show_gauge False win_size grid_pos 1, 0, 1, 1 notebook _coordinate (1062, 11) _rotation 0 gr_throttle id gr_throttle _enabled True type byte samples_per_second samp_rate vlen 1 _coordinate (397, 27) _rotation 0 variable id samp_rate _enabled True value 50e3 _coordinate (20, 168) _rotation 0 import id import _enabled True import import math _coordinate (138, 168) _rotation 0 wxgui_scopesink2 id wxgui_scopesink2_0 _enabled True type complex title "Constellation: "+str(const) samp_rate samp_rate v_scale 0 v_offset 0 t_scale 0 ac_couple False xy_mode True num_inputs 1 win_size grid_pos 2, 0, 1, 1 notebook trig_mode gr.gr_TRIG_MODE_AUTO y_axis_label Counts _coordinate (828, 368) _rotation 0 gr_add_xx id gr_add_xx _enabled True type complex num_inputs 2 vlen 1 _coordinate (652, 395) _rotation 0 digital_constellation_decoder_cb id digital_constellation_decoder_cb_0 _enabled True constellation const.base() _coordinate (693, 205) _rotation 0 variable id const _enabled True value digital.qpsk_constellation() _coordinate (16, 461) _rotation 0 variable id const_points _enabled True value const.points() _coordinate (17, 532) _rotation 0 random_source_x id random_source_x _enabled True type byte min 0 max len(const_points) num_samps 1000000 repeat False _coordinate (15, 244) _rotation 0 gr_chunks_to_symbols_xx id gr_chunks_to_symbols_xx _enabled True in_type byte out_type complex symbol_table const_points dimension 1 num_ports 1 _coordinate (367, 260) _rotation 0 blks2_error_rate id blks2_error_rate _enabled True type 'BER' win_size 1000000 bits_per_symbol int(math.log(len(const_points))/math.log(2)) _coordinate (670, 41) _rotation 0 variable_slider id noise _enabled True label AWGN Noise value 0.10 min 0 max 1 num_steps 100 style wx.SL_HORIZONTAL converver float_converter grid_pos notebook _coordinate (268, 481) _rotation 0 blks2_error_rate wxgui_numbersink2 0 0 gr_throttle blks2_error_rate 0 0 gr_chunks_to_symbols_xx gr_add_xx 0 0 gr_noise_source_x gr_add_xx 0 1 random_source_x gr_throttle 0 0 random_source_x gr_chunks_to_symbols_xx 0 0 gr_add_xx wxgui_scopesink2_0 0 0 digital_constellation_decoder_cb_0 blks2_error_rate 0 1 gr_add_xx digital_constellation_decoder_cb_0 0 0