discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] Passing a USRP pointer


From: Dan CaJacob
Subject: [Discuss-gnuradio] Passing a USRP pointer
Date: Sat, 21 Dec 2013 18:29:01 -0500

We are upgrading some of our custom blocks for 3.7 and have run into a snag.  Our 3.6 era blocks included one that PTTed an external amplifier based on stream tags.  The IO was generated from the extra GPIO available on the WBX.  One of the inputs to the block was a reference to the USRP sink downstream in the FG.  The block then calls the necessary methods to enable and disable the GPIO.  Everything worked nicely, but when we ported our blocks to 3.87, there seemed to be a problem with this.  I did not personally do the testing, so I don't have the exact error, but I can probably re-create it given some time.

I started the porting of the blocks myself and did notice that getting the pointer to a USRP object had changed.  But the blocks built without error when updated appropriately.

Is there anything in principle that would prevent this from working in 3.7?  Or, is there a better approach to controlling the WBX GPIO based on stream tags that we should consider?

I apologize for the vagueness on the actual error.  I'll try to reproduce it myself in the meantime.

I can probably post the code for the PTT-controlling block if that would be any help.

Very Respectfully,

Dan CaJacob

reply via email to

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