discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] Segmentation fault


From: Manav Rohil
Subject: [Discuss-gnuradio] Segmentation fault
Date: Sun, 9 Mar 2008 04:20:26 +0100

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/.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]