PPS + timestamps used in Python?

Dear all

I suppose to use GNURadio on USRP N200 + UHD to build a transmitter
synchronized with another device used as a receiver via GPS. As posted
on UHD website, PPS signal feeding in USRP N200 could be used for
timestamp synchronization. In the mailing list, it is said such tagging
interface as timestamp, end of burst is written in C++ at some level. I
am wondering if this timestamp tag could be used in Python by directly
calling
usrp.set_time_unknown_pps(time_spec_t(0.0))? Any response would be
greatly appreciated!

Thanks,
Yan

On 10/11/2011 01:51 PM, Yan N. wrote:

greatly appreciated!

You can call all usrp.set_time* API calls to set the device time.
However, this has nothing to do with stream tags.
http://files.ettus.com/uhd_docs/manual/html/sync.html#synchronizing-the-device-time

Also, you can use my grblock work to write blocks in python and to
read/write tags. See the examples/tags_demo.py for a use case.
https://github.com/guruofquality/grblock

-Josh

How could I integrate the grblock which is on developing to the
gnuradio?
In the blog
weekend coding adventure: message passing, new blocks, and integrating grblock | The SDR Blog,
it is saying the related work has been integrated to josh’s next branch.
Then I git clone the repository from git://gnuradio.org/jblum.git as
described in http://gnuradio.org/cgit/jblum.git/?h=next. But the make
check under the “next” branch fails when I try to install the gnuradio
based on this branch with errors:

-module gnuradio_core_general -o python/gnuradio_core_general.cc -oh
python/gnuradio_core_general.h gnuradio_core_general.i
~/jblum/gnuradio-core/src/lib/runtime/gr_tags.i:26: Error: Unable to
find
‘pmt_swig.i’
make[8]: *** [gnuradio_core_general.py] Error 1

Is there any other way to integrate the grblock related work?

On Tue, Oct 11, 2011 at 4:42 PM, Josh B. [email protected] wrote:

some level. I am wondering if this timestamp tag could be used in
Also, you can use my grblock work to write blocks in python and to
read/write tags. See the examples/tags_demo.py for a use case.
https://github.com/guruofquality/grblock

-Josh


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

Alex,
Dreams can come true just believe.

I am working on Ubuntu 11.04. And I followed the instruction from
http://gnuradio.org/redmine/projects/gnuradio/wiki/UbuntuInstall

On Tue, Nov 22, 2011 at 2:03 PM, Josh B. [email protected] wrote:

described in http://gnuradio.org/cgit/jblum.git/?h=next. But the make

On Tue, Oct 11, 2011 at 4:42 PM, Josh B. [email protected] wrote:

tagging interface as timestamp, end of burst is written in C++ at

http://files.ettus.com/uhd_docs/manual/html/sync.html#synchronizing-the-device-time

Discuss-gnuradio Info Page

Alex,
Dreams can come true just believe.

On 11/22/2011 11:59 AM, Alex Z. wrote:

python/gnuradio_core_general.h gnuradio_core_general.i
~/jblum/gnuradio-core/src/lib/runtime/gr_tags.i:26: Error: Unable to find
‘pmt_swig.i’
make[8]: *** [gnuradio_core_general.py] Error 1

Is there any other way to integrate the grblock related work?

It will build if you follow this build guide:
http://gnuradio.org/redmine/projects/gnuradio/wiki/CMakeWork

What do you mean by integrate? You can merge the branch into your local
branch, yes?

-Josh

Hello Josh,

Do you mean your work related to grblock has been included if I follow
the
http://gnuradio.org/redmine/projects/gnuradio/wiki/CMakeWork ? I see
this
is switched to next branch.

Thanks,

On Tue, Nov 22, 2011 at 2:08 PM, Alex Z. [email protected]
wrote:

gnuradio?

-module gnuradio_core_general -o python/gnuradio_core_general.cc -oh
http://gnuradio.org/redmine/projects/gnuradio/wiki/CMakeWork

usrp.set_time_unknown_pps(time_spec_t(0.0))? Any response would be
read/write tags. See the examples/tags_demo.py for a use case.

Alex,
Dreams can come true just believe.