On 09/26/2011 02:32 PM, Yan Nie wrote:
> Dear all,
> 
> I am using USRP N200 with LFTX and LFRX plugged + UHD to design a
> transmitter and a receiver. I am trying to toggle a GPIO pin high
> when the LFTX board is transmitting and low otherwise, which is
> similar to the io_tx_06 pin on RFX boards.
> 
> From what I found, this I/O pin could be configured by _write_oe (int
> which_dboard, int value, int mask) for USRP1, though did not how to
> use write_gpio in an appropriate way in python. Any suggestion on the
> implementation of functionality above would be really appreciated!
> 
> 
> Have a great day!
> 

With gr-uhd you can call into the dboard iface from python. That
includes USRP1 and N200.

This is the dboard iface:
http://files.ettus.com/uhd_docs/doxygen/html/classuhd_1_1usrp_1_1dboard__iface.html

-Josh

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to