commit-gnuradio
[Top][All Lists]
Advanced

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

[Commit-gnuradio] r10047 - gnuradio/branches/features/cppdb/gnuradio-exa


From: jcorgan
Subject: [Commit-gnuradio] r10047 - gnuradio/branches/features/cppdb/gnuradio-examples/python/multi-antenna
Date: Mon, 24 Nov 2008 13:50:00 -0700 (MST)

Author: jcorgan
Date: 2008-11-24 13:50:00 -0700 (Mon, 24 Nov 2008)
New Revision: 10047

Modified:
   
gnuradio/branches/features/cppdb/gnuradio-examples/python/multi-antenna/multi_fft.py
   
gnuradio/branches/features/cppdb/gnuradio-examples/python/multi-antenna/multi_file.py
   
gnuradio/branches/features/cppdb/gnuradio-examples/python/multi-antenna/multi_scope.py
Log:
Fix name in multi examples

Modified: 
gnuradio/branches/features/cppdb/gnuradio-examples/python/multi-antenna/multi_fft.py
===================================================================
--- 
gnuradio/branches/features/cppdb/gnuradio-examples/python/multi-antenna/multi_fft.py
        2008-11-24 20:46:18 UTC (rev 10046)
+++ 
gnuradio/branches/features/cppdb/gnuradio-examples/python/multi-antenna/multi_fft.py
        2008-11-24 20:50:00 UTC (rev 10047)
@@ -49,9 +49,9 @@
             sw_decim = 1
 
         self.u = usrp.source_c(0, options.decim, 
fpga_filename="std_4rx_0tx.rbf")
-        if self.u.nddc() < nchan:
+        if self.u.nddcs() < nchan:
             sys.stderr.write('This code requires an FPGA build with %d DDCs.  
This FPGA has only %d.\n' % (
-                nchan, self.u.nddc()))
+                nchan, self.u.nddcs()))
             raise SystemExit
                              
         if not self.u.set_nchannels(nchan):

Modified: 
gnuradio/branches/features/cppdb/gnuradio-examples/python/multi-antenna/multi_file.py
===================================================================
--- 
gnuradio/branches/features/cppdb/gnuradio-examples/python/multi-antenna/multi_file.py
       2008-11-24 20:46:18 UTC (rev 10046)
+++ 
gnuradio/branches/features/cppdb/gnuradio-examples/python/multi-antenna/multi_file.py
       2008-11-24 20:50:00 UTC (rev 10047)
@@ -54,9 +54,9 @@
             sw_decim = 1
 
         self.u = usrp.source_c(0, options.decim, 
fpga_filename="std_4rx_0tx.rbf")
-        if self.u.nddc() < nchan:
+        if self.u.nddcs() < nchan:
             sys.stderr.write('This code requires an FPGA build with %d DDCs.  
This FPGA has only %d.\n' % (
-                nchan, self.u.nddc()))
+                nchan, self.u.nddcs()))
             raise SystemExit
                              
         if not self.u.set_nchannels(nchan):

Modified: 
gnuradio/branches/features/cppdb/gnuradio-examples/python/multi-antenna/multi_scope.py
===================================================================
--- 
gnuradio/branches/features/cppdb/gnuradio-examples/python/multi-antenna/multi_scope.py
      2008-11-24 20:46:18 UTC (rev 10046)
+++ 
gnuradio/branches/features/cppdb/gnuradio-examples/python/multi-antenna/multi_scope.py
      2008-11-24 20:50:00 UTC (rev 10047)
@@ -49,9 +49,9 @@
             sw_decim = 1
 
         self.u = usrp.source_c(0, options.decim, 
fpga_filename="std_4rx_0tx.rbf")
-        if self.u.nddc() < nchan:
+        if self.u.nddcs() < nchan:
             sys.stderr.write('This code requires an FPGA build with %d DDCs.  
This FPGA has only %d.\n' % (
-                nchan, self.u.nddc()))
+                nchan, self.u.nddcs()))
             raise SystemExit
                              
         if not self.u.set_nchannels(nchan):





reply via email to

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