How To Print Elements of Vector Tags?

Hi,

I’m new to gnuradio and want to do some wireless communication
experiments
with it. I runned OFDM examples(rx_ofdm.grc & tx_ofdm.grc) and tried to
use
the tag debug block to retrieve the CIR information generated during
receiving procedure. Yet what tag debug block outputs is the key-value
pair,
Key:ofdm_sync_chan_taps Value:#, but not the vector
elements. Is there any way to print out the vector? Further more, is
there
any way to record down all tags in file?

Thanks.


View this message in context:
http://gnuradio.4.n7.nabble.com/How-To-Print-Elements-of-Vector-Tags-tp47530.html
Sent from the GnuRadio mailing list archive at Nabble.com.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Giankun,

as I had a similar problem a little while back, I finally came around
to writing a fix for that.

If you’re running a recent GNU Radio 3.7, you can try it out by
executing

git pull GitHub - marcusmueller/gnuradio: GNU Radio
pmt_io_uniform_vector_to_string

(without the line break) in your GNU Radio source tree and
rebuilding/installing GNU Radio.

Greetings,
Marcus

On 12.04.2014 07:40, qiankun wrote:

Thanks.

– View this message in context:

http://gnuradio.4.n7.nabble.com/How-To-Print-Elements-of-Vector-Tags-tp47530.html

Sent from the GnuRadio mailing list archive at Nabble.com.

_______________________________________________ Discuss-gnuradio
mailing list [email protected]
Discuss-gnuradio Info Page

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJTSWAlAAoJEBQ6EdjyzlHt+GgH/2wBQJtAgeU0VkplEHrc3Fzw
cV9D0AA04XtzL2v15ucs0WyB4vhgAUy/iLHYCrKmNWOb2Oa6p17l1faGtvqUuuso
D1BuyaSaRi2xaYESsDeqJk8OxxBCec+SOlkzWTgEMvHJ5TcjCBKJvV2f/OltceaY
Hq2FK/XDDQqDiEWzD8SOpy1+XJC8ZT4WGxXv9i8jB9zBkZV8ecjC+1JJ5/eK0qis
balwhtemojnh6rNo2i9A5GlWjOmQE6o58k4bkMA4sogwtuBMg0th1J5nYP5ETXmX
S8kzBA2U8iUoeblnbV83SP2SfKDDpY2ZTkiUCg8588GHUEWwi+KvIiHM0ohrU14=
=no0C
-----END PGP SIGNATURE-----

Hi Marcus,
Thanks for your help!

The program outputs complex vectors in string format with your modified
pmt
objects:

http://gnuradio.4.n7.nabble.com/file/n47554/Screenshot_from_2014-04-13_17-16-03.png

I’ll go on checking these CFR values and conducting the experiment.

By the way, the official tutorial of gnuradio says that file metadata
sink

can be used to record down detached stream tags. Is it possible for me
to
record down vector tags in file and post parse it using this sink?

Thanks!


View this message in context:
http://gnuradio.4.n7.nabble.com/How-To-Print-Elements-of-Vector-Tags-tp47530p47554.html
Sent from the GnuRadio mailing list archive at Nabble.com.

On Sun, Apr 13, 2014 at 5:27 AM, qiankun [email protected] wrote:

I’ll go on checking these CFR values and conducting the experiment.

By the way, the official tutorial of gnuradio says that file metadata
sink

can be used to record down detached stream tags. Is it possible for me to
record down vector tags in file and post parse it using this sink?

Thanks!

Yes, the file meta sink stores any tags that flow through it in the
header.
See this page for details on the metadata file format:

http://gnuradio.org/doc/doxygen/page_metadata.html

Tom