[Top][All Lists]

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

[Discuss-gnuradio] Help to get control over USRP from custom block

From: Boschma, J.J. (Jeroen)
Subject: [Discuss-gnuradio] Help to get control over USRP from custom block
Date: Mon, 26 Jan 2015 11:54:08 +0000

Hi all,


A last attempt this time, after struggling already several months with this subject…


From within my custom (out-of-tree) C++ block I need full control over USRP sink/source. According to the documentation, the command interface only implements three functions (gain, center frequency and LO_offset ). I need much more functionality however (sensors, IQ-imbalance, etc…), so I looked at another solution.


In my custom block class I added a method that takes 2 pointers:





In the Python top_block.py code I add a call to this method in order to pass the USRP pointers from Python to my C++ custom block.


The pointers seem to be valid in C++, but apparently the corresponding classes have empty virtual methods, so if I want to use the pointers nothing happens or Python crashes.


Does anybody know how to get pointers that have all functionality implemented from the original Ettus library? I am completely stuck... It may be an ugly hack, but I just need to get things done now.






This message may contain information that is not intended for you. If you are not the addressee or if this message was sent to you by mistake, you are requested to inform the sender and delete the message. TNO accepts no liability for the content of this e-mail, for the manner in which you use it and for damage of any kind resulting from the risks inherent to the electronic transmission of messages.

reply via email to

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