|
From: | Yan Nie |
Subject: | [Discuss-gnuradio] 'gr_hier_block2_sptr' object has no attribute '_write_fpga_reg' |
Date: | Mon, 23 Aug 2010 05:17:32 +0800 |
Hi all,
I'm working on a synchronization block to allow the transmitter and receiver to co-locate on the same motherboard and work alternatively, transmitter working for 0.5 second then receiver working for 0.5 second, and then repeat this process.
I'm using USRP1 and LFTX/RX to develop my transmitter and receiver, which work well when transmitter and receiver are plugged on two USRP1 mother board.
I'm trying to write fpga register FR_MASTER_CTRL to enable transmitter board or receiver board every 0.5 second, in order to implement tx and rx working alternatively.
owever, i got an AttributeError
File "/home/john/gnuradio/gr-iono/usrp_ionsonde_control.py", line 197, in set_reset
self.write_mode()
File "/home/john/gnuradio/gr-iono/usrp_ionsonde_control.py", line 166, in write_mode
self._u._write_fpga_reg(FR_MASTER_CTRL, self.mode)
File "/usr/local/lib/python2.5/site-packages/gnuradio/gr/hier_block2.py", line 50, in __getattr__
return getattr(self._hb, name)
AttributeError: 'gr_hier_block2_sptr' object has no attribute '_write_fpga_reg'
What's the problem may be? Could this fpga reg be written every half second or even 20 microseconds?
Thank you so much for help.
Yan
ynie3.vcf
Description: Card for Yan Nie <ynie3@uwo.ca>
[Prev in Thread] | Current Thread | [Next in Thread] |