discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] -T A:1 or -T B:1 tuple out of range?


From: Brett L. Trotter
Subject: [Discuss-gnuradio] -T A:1 or -T B:1 tuple out of range?
Date: Fri, 29 Aug 2008 18:15:24 -0500
User-agent: Thunderbird 2.0.0.16 (X11/20080724)

We're getting tuple out of range when specifying port 1 on either side for an LFTX board. Specifying -T A:0 or -T B:0 on does seem to work on several of the transmitter apps we've tried.


address@hidden ~]# usrp_siggen.py -T A:0 -f 5M -i 128 --sine -a 16000 -g 0
Using TX d'board A: LF Tx
address@hidden ~]# usrp_siggen.py -T A:1 -f 5M -i 128 --sine -a 16000 -g 0
Traceback (most recent call last):
 File "/usr/local/bin/usrp_siggen.py", line 184, in ?
   main ()
 File "/usr/local/bin/usrp_siggen.py", line 164, in main
   tb.subdev = usrp.selected_subdev(tb.u, options.tx_subdev_spec)
File "/usr/local/lib64/python2.4/site-packages/gnuradio/usrp.py", line 393, in selected_subdev
   return weakref.proxy(u.db[side][subdev])
IndexError: tuple index out of range
address@hidden ~]#

address@hidden ~]# usrp_siggen.py -T B:0 -f 5M -i 128 --sine -a 16000 -g 0
Using TX d'board B: Basic Tx
address@hidden ~]# usrp_siggen.py -T B:1 -f 5M -i 128 --sine -a 16000 -g 0
Traceback (most recent call last):
 File "/usr/local/bin/usrp_siggen.py", line 184, in ?
   main ()
 File "/usr/local/bin/usrp_siggen.py", line 164, in main
   tb.subdev = usrp.selected_subdev(tb.u, options.tx_subdev_spec)
File "/usr/local/lib64/python2.4/site-packages/gnuradio/usrp.py", line 393, in selected_subdev
   return weakref.proxy(u.db[side][subdev])
IndexError: tuple index out of range


Receiver seems happy to take :1

address@hidden ~]# usrp_rx_cfile.py -R A:0 -d 8 -f 5M -g 0 out.dat
Using RX d'board A: LF Rx
USB sample rate 8M
address@hidden ~]# usrp_rx_cfile.py -R A:1 -d 8 -f 5M -g 0 out.dat
Using RX d'board A: LF Rx
USB sample rate 8M


Have I missed another post about new syntax? This is latest SVN as of a couple days ago.
Please let me know if I'm doing something else silly.....





reply via email to

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