Re: [Discuss-gnuradio] Error using block UHD AMsg Source

2012-10-14 Thread Jose Torres Diaz
Hi Josh, I've figure out the problem. I didn't check this: https://github.com/guruofquality/grextras/commit/075bf6ec7e9f8169d9dee59fb9e74d13146b6ddb where you changed this: - pmt::pmt_dict_add(value_dict, TIME_KEY, timestamp); + value_dict = pmt::pmt_dict_add(value_dict, TIME_KEY, timestamp);

Re: [Discuss-gnuradio] Error using block UHD AMsg Source

2012-10-14 Thread Jose Torres Diaz
Hi Josh, You mentioned that: "the code to add a key/value actually returns a new dictionary and doesnt change the old ones. I know this pmt stuff is crazy. Why didnt we just use std::map? :-)" I'm confused with this, because I created the dictionary and added the values. However, when I've chec

[Discuss-gnuradio] Help to understand "UHD AMsg Source"

2012-10-14 Thread Jose Torres Diaz
Hi Community, I would like to ask if someone can give a hand to figure out how "UHD AMsg Source" block works. I mean, I would like to understand in particular how this block can post message using pmt_dict type. The piece of routine that I'm keen on it's this: void post_async_md(const uhd::async_

Re: [Discuss-gnuradio] problem with 3.6.2

2012-10-14 Thread Stephen
On 10/14/2012 12:06 PM, Josh Blum wrote: > > > > set_history needs to be at least 1. > > (because this actually means a history of user_history_setting-1 is > prepended to the start of the buffer) > > -josh > thanks for the reply but I don't know what that means. What is set_history? I don

Re: [Discuss-gnuradio] problem with 3.6.2

2012-10-14 Thread Josh Blum
On 10/13/2012 11:36 AM, Stephen wrote: > > Hi, > > I was using 3.6 with no issues. Today I updated to 3.6.3 and get the > following error when I try to start the flowgraph. I did rebuild all > parts of my application. > > terminate called after throwing an instance of 'Using Volk machine: > ss

[Discuss-gnuradio] Reg : difference between gr.file_descriptor_source/sink and gr.file_source/sink

2012-10-14 Thread sumitstop
Q: What is the difference between gr.file_descriptor_source/sink and gr.file_source/sink .. I mean when shall we prefer one over other ? -- View this message in context: http://gnuradio.4.n7.nabble.com/Reg-difference-between-gr-file-descriptor-source-sink-and-gr-file-source-sink-tp37991.html