I am getting segmentation fault with the following... src_data = (0xff,) src = gr.vector_source_b(src_data,False) #expected_results = (1,0,0,0,0,0,0,0) op = gr.packed_to_unpacked_bb(1, gr.GR_MSB_FIRST) op1= gr.head (gr.sizeof_char, 1) tb.connect(src,op,op1) dst = gr.vector_sink_b() tb.connect(op,dst) tb.connect(op, gr.file_sink(gr.sizeof_char, "tx_bytes2chunks.dat")) tb.connect(op1, gr.file_sink(gr.sizeof_char, "tx_bytes2bits.dat"))
All that i m trying to do is extract the 1st bit of the vector. Need help urgently.Am new to GNU radio -- Posted via http://www.ruby-forum.com/. _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio