[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] using get_time_now in python
From: |
Josh Blum |
Subject: |
Re: [Discuss-gnuradio] using get_time_now in python |
Date: |
Fri, 18 May 2012 13:54:58 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 |
> swig/python detected a memory leak of type 'time_t *', no destructor found.
> Traceback (most recent call last):
> File "./top_block.py", line 75, in <module>
> tb = top_block()
> File "./top_block.py", line 43, in __init__
> secs = self.uhd_usrp_sink_0.get_time_now().get_full_secs().to_int()+1
> AttributeError: 'SwigPyObject' object has no attribute 'to_int'
>
>
See the API for time_spec:
http://files.ettus.com/uhd_docs/doxygen/html/classuhd_1_1time__spec__t.html
-josh