diff --git a/examples/grc/dcsk_demo.grc b/examples/grc/dcsk_demo.grc index 8c2f048..5a14c0b 100644 --- a/examples/grc/dcsk_demo.grc +++ b/examples/grc/dcsk_demo.grc @@ -1,188 +1,330 @@ - + + Sun Oct 28 19:39:04 2012 - chaos_gen_logi_map_f + options - id - chaos_gen_logi_map_f_0 + author + Julien Olivain <julien.olivain@lsv.ens-cachan.fr> - _enabled - True + window_size + 1280, 1024 - seed - 0.1 + category + Custom + + + comment + + + + description + + + + _enabled + True _coordinate - (61, 88) + (8, 4) _rotation 0 - - - gr_deinterleave + + generate_options + wx_gui + + + hier_block_src_path + .: + id - gr_deinterleave_0 + dcsk_demo - _enabled - True + max_nouts + 0 - type - float + qt_qss_theme + - num_streams - 2 + realtime_scheduling + - vlen - 1 + run_command + {python} -u {filename} - _coordinate - (233, 75) + run_options + prompt - _rotation - 0 + run + True + + + thread_safe_setters + + + + title + DCSK Demonstration - gr_float_to_complex + variable - id - gr_float_to_complex_0 + comment + _enabled True - - vlen - 1 - _coordinate - (388, 75) + (272, 4) _rotation 0 + + id + dcsk_samples + + + value + 50 + variable - id - dcsk_samples + comment + _enabled True - - value - 50 - _coordinate - (226, 10) + (176, 4) _rotation 0 + + id + samp_rate + + + value + 100000 + - chaos_dcsk_mod_cbc + blks2_packet_decoder - id - chaos_dcsk_mod_cbc_0 + access_code + - _enabled - True + alias + - n_samples - dcsk_samples + comment + + + + affinity + + + + _enabled + True _coordinate - (278, 189) + (928, 276) _rotation 0 - - - blks2_packet_decoder id blks2_packet_decoder_0 - _enabled - True + maxoutbuf + 0 + + + minoutbuf + 0 type byte + + threshold + -1 + + + + blks2_packet_encoder access_code - threshold - -1 + bits_per_symbol + 1 + + + alias + + + + comment + + + + affinity + + + + _enabled + True _coordinate - (919, 226) + (232, 372) _rotation 0 + + id + blks2_packet_encoder_0 + + + type + byte + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + pad_for_usrp + False + + + payload_length + 512 + + + preamble + + + + samples_per_symbol + 2 * dcsk_samples + - variable + blocks_deinterleave - id - samp_rate + alias + - _enabled - True + blocksize + 1 - value - 100000 + comment + + + + affinity + + + + _enabled + True _coordinate - (148, 10) + (192, 136) _rotation 0 + + id + blocks_deinterleave_0 + + + type + float + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + num_streams + 2 + + + vlen + 1 + - gr_file_sink + blocks_file_sink - id - gr_file_sink_0 + append + False + + + alias + + + + comment + + + + affinity + _enabled @@ -192,180 +334,343 @@ file output.txt + + _coordinate + (1096, 268) + + + _rotation + 0 + + + id + blocks_file_sink_0 + type byte + + unbuffered + True + vlen 1 + + + blocks_float_to_complex - unbuffered + alias + + + + comment + + + + affinity + + + + _enabled True _coordinate - (1090, 226) + (344, 136) _rotation 0 + + id + blocks_float_to_complex_0 + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + vlen + 1 + - blks2_packet_encoder + blocks_packed_to_unpacked_xx - id - blks2_packet_encoder_0 + bits_per_chunk + 1 + + + alias + + + + comment + + + + affinity + _enabled True + + endianness + gr.GR_MSB_FIRST + + + _coordinate + (424, 372) + + + _rotation + 0 + + + id + blocks_packed_to_unpacked_xx_0 + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + num_ports + 1 + type byte + + + blocks_throttle - samples_per_symbol - 2 * dcsk_samples + alias + - bits_per_symbol + comment + + + + affinity + + + + _enabled + True + + + _coordinate + (344, 276) + + + _rotation + 0 + + + id + blocks_throttle_0 + + + ignoretag + True + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + samples_per_second + samp_rate + + + type + complex + + + vlen 1 + + + blocks_vector_source_x - access_code + alias - pad_for_usrp - False + comment + - payload_length - 512 + affinity + + + + _enabled + True _coordinate - (217, 304) + (8, 396) _rotation 0 + + id + blocks_vector_source_x_0 + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + type + byte + + + repeat + True + + + tags + [] + + + vlen + 1 + + + vector + map( lambda c: ord(c) , "Hello GnuRadio!\n" ) + - gr_packed_to_unpacked_xx + channels_channel_model - id - gr_packed_to_unpacked_xx_0 + alias + - _enabled - True + block_tags + False - type - byte + comment + - bits_per_chunk - 1 + affinity + - endianness - gr.GR_MSB_FIRST + _enabled + True - num_ports - 1 + epsilon + 1.0 + + + freq_offset + 1e2 / samp_rate _coordinate - (396, 322) + (528, 204) _rotation 0 - - - gr_vector_source_x id - gr_vector_source_x_0 - - - _enabled - True - - - type - byte + channels_channel_model_0 - vector - map( lambda c: ord(c) , "Hello GnuRadio!\n" ) + maxoutbuf + 0 - repeat - True + minoutbuf + 0 - vlen - 1 + noise_voltage + 0.5 - _coordinate - (9, 322) + seed + 0 - _rotation - 0 + taps + 1.0 + 1.0j - gr_throttle - - id - gr_throttle_0 - + chaos_dcsk_demod_cb - _enabled - True + alias + - type - complex + comment + - samples_per_second - samp_rate + affinity + - vlen - 1 + _enabled + True _coordinate - (468, 202) + (728, 276) _rotation 0 - - - chaos_dcsk_demod_cb id chaos_dcsk_demod_cb_0 - _enabled - True + maxoutbuf + 0 + + + minoutbuf + 0 n_samples @@ -375,131 +680,126 @@ n_sync 2 + + + chaos_dcsk_mod_cbc - _coordinate - (717, 226) + alias + - _rotation - 0 + comment + - - - gr_channel_model - id - gr_channel_model_0 + affinity + _enabled True - noise_voltage - 0.5 - - - freq_offset - 1e2 / samp_rate + _coordinate + (120, 264) - epsilon - 1.0 + _rotation + 0 - taps - 1.0 + 1.0j + id + chaos_dcsk_mod_cbc_0 - seed + maxoutbuf 0 - _coordinate - (646, 77) + minoutbuf + 0 - _rotation - 0 + n_samples + dcsk_samples - wxgui_fftsink2 + chaos_gen_logi_map_f - id - wxgui_fftsink2_0 + alias + - _enabled - True + comment + - type - complex + affinity + - title - FFT Plot + _enabled + True - samp_rate - samp_rate + _coordinate + (8, 148) - baseband_freq + _rotation 0 - y_per_div - 10 - - - y_divs - 10 + id + chaos_gen_logi_map_f_0 - ref_level + maxoutbuf 0 - ref_scale - 2.0 - - - fft_size - 1024 + minoutbuf + 0 - fft_rate - 15 + seed + 0.1 + + + wxgui_fftsink2 - peak_hold - False + avg_alpha + 0 average False - avg_alpha + baseband_freq 0 - win - None + alias + - win_size + comment - grid_pos + affinity - notebook - + _enabled + True + + + fft_size + 1024 freqvar @@ -507,132 +807,129 @@ _coordinate - (838, 19) + (728, 44) _rotation 0 - - - options - id - dcsk_demo + grid_pos + - _enabled - True + id + wxgui_fftsink2_0 - title - DCSK Demonstration + notebook + - author - Julien Olivain <julien.olivain@lsv.ens-cachan.fr> + peak_hold + False - description - + ref_level + 0 - window_size - 1280, 1024 + ref_scale + 2.0 - generate_options - wx_gui + fft_rate + 15 - category - Custom + samp_rate + samp_rate - run_options - prompt + title + FFT Plot - run - True + type + complex - max_nouts - 0 + win_size + - realtime_scheduling - + win + None - _coordinate - (10, 10) + y_divs + 10 - _rotation - 0 + y_per_div + 10 - chaos_gen_logi_map_f_0 - gr_deinterleave_0 + blks2_packet_decoder_0 + blocks_file_sink_0 + 0 + 0 + + + blks2_packet_encoder_0 + blocks_packed_to_unpacked_xx_0 0 0 - gr_deinterleave_0 - gr_float_to_complex_0 + blocks_deinterleave_0 + blocks_float_to_complex_0 0 0 - gr_deinterleave_0 - gr_float_to_complex_0 + blocks_deinterleave_0 + blocks_float_to_complex_0 1 1 - gr_float_to_complex_0 + blocks_float_to_complex_0 chaos_dcsk_mod_cbc_0 0 0 - gr_vector_source_x_0 - blks2_packet_encoder_0 + blocks_packed_to_unpacked_xx_0 + chaos_dcsk_mod_cbc_0 0 - 0 + 1 - chaos_dcsk_mod_cbc_0 - gr_throttle_0 + blocks_throttle_0 + channels_channel_model_0 0 0 - gr_throttle_0 - gr_channel_model_0 + blocks_vector_source_x_0 + blks2_packet_encoder_0 0 0 - gr_channel_model_0 + channels_channel_model_0 chaos_dcsk_demod_cb_0 0 0 - blks2_packet_encoder_0 - gr_packed_to_unpacked_xx_0 + channels_channel_model_0 + wxgui_fftsink2_0 0 0 - - gr_packed_to_unpacked_xx_0 - chaos_dcsk_mod_cbc_0 - 0 - 1 - chaos_dcsk_demod_cb_0 blks2_packet_decoder_0 @@ -640,14 +937,14 @@ 0 - blks2_packet_decoder_0 - gr_file_sink_0 + chaos_dcsk_mod_cbc_0 + blocks_throttle_0 0 0 - gr_channel_model_0 - wxgui_fftsink2_0 + chaos_gen_logi_map_f_0 + blocks_deinterleave_0 0 0 diff --git a/examples/grc/logmap_filter_demo.grc b/examples/grc/logmap_filter_demo.grc index 8ded539..d92e225 100644 --- a/examples/grc/logmap_filter_demo.grc +++ b/examples/grc/logmap_filter_demo.grc @@ -1,62 +1,68 @@ - + + Sat Nov 10 21:16:05 2012 - variable + options - id - samp_rate + author + Julien Olivain <julien.olivain@lacime.etsmtl.ca> - _enabled - True + window_size + 1280, 1024 - value - 100000 + category + Custom + + + comment + + + + description + + + + _enabled + True _coordinate - (151, 11) + (8, 4) _rotation 0 - - - options - id - logmap_filter_demo + generate_options + wx_gui - _enabled - True + hier_block_src_path + .: - title - LogMap Filter Demo + id + logmap_filter_demo - author - Julien Olivain <julien.olivain@lacime.etsmtl.ca> + max_nouts + 0 - description + qt_qss_theme - window_size - 1280, 1024 - - - generate_options - wx_gui + realtime_scheduling + - category - Custom + run_command + {python} -u {filename} run_options @@ -67,70 +73,109 @@ True - max_nouts - 0 - - - realtime_scheduling + thread_safe_setters - _coordinate - (10, 10) - - - _rotation - 0 + title + LogMap Filter Demo - wxgui_histosink2 + variable - id - wxgui_histosink2_0 + comment + _enabled True - title - Histogram Plot + _coordinate + (176, 4) - num_bins - 100 + _rotation + 0 - frame_size + id + samp_rate + + + value 100000 + + + blocks_file_source - win_size + alias - grid_pos + comment - notebook + affinity + + _enabled + True + + + file + /dev/urandom + _coordinate - (650, 128) + (24, 108) _rotation 0 + + id + blocks_file_source_0 + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + type + int + + + repeat + True + + + vlen + 1 + - chaos_logmap_filter_ff + blocks_int_to_float - id - chaos_logmap_filter_ff_0 + alias + + + + comment + + + + affinity + _enabled @@ -138,127 +183,203 @@ _coordinate - (337, 142) + (200, 116) _rotation 0 - - - gr_int_to_float id - gr_int_to_float_0 + blocks_int_to_float_0 - _enabled - True + maxoutbuf + 0 - vlen - 1 + minoutbuf + 0 scale 2.**31 + + vlen + 1 + + + + blocks_throttle + + alias + + + + comment + + + + affinity + + + + _enabled + True + _coordinate - (182, 140) + (512, 116) _rotation 0 - - - gr_throttle id - gr_throttle_0 + blocks_throttle_0 - _enabled + ignoretag True - type - float + maxoutbuf + 0 + + + minoutbuf + 0 samples_per_second samp_rate + + type + float + vlen 1 + + + chaos_logmap_filter_ff + + alias + + + + comment + + + + affinity + + + + _enabled + True + _coordinate - (487, 140) + (360, 120) _rotation 0 - - - gr_file_source id - gr_file_source_0 + chaos_logmap_filter_ff_0 - _enabled - True + maxoutbuf + 0 - file - /dev/urandom + minoutbuf + 0 + + + + wxgui_histosink2 + + alias + - type - int + comment + - repeat + affinity + + + + _enabled True - vlen - 1 + frame_size + 100000 _coordinate - (21, 134) + (696, 100) _rotation 0 + + grid_pos + + + + id + wxgui_histosink2_0 + + + notebook + + + + num_bins + 100 + + + title + Histogram Plot + + + win_size + + - gr_throttle_0 - wxgui_histosink2_0 + blocks_file_source_0 + blocks_int_to_float_0 0 0 - gr_int_to_float_0 + blocks_int_to_float_0 chaos_logmap_filter_ff_0 0 0 - chaos_logmap_filter_ff_0 - gr_throttle_0 + blocks_throttle_0 + wxgui_histosink2_0 0 0 - gr_file_source_0 - gr_int_to_float_0 + chaos_logmap_filter_ff_0 + blocks_throttle_0 0 0