discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] UDP port number


From: Ziad ElMarakshy
Subject: [Discuss-gnuradio] UDP port number
Date: Mon, 2 Jul 2007 08:16:32 -0700 (PDT)

Ive been trying to run a code that reads a UDP connection and transmits the
data using the USRP.
I got some error

Traceback (most recent call last):
  File "./prefinal4.py", line 46, in ?
    app = stdgui.stdapp (my_rx_graph, "My RX")
  File "/usr/local/lib/python2.4/site-packages/gnuradio/wxgui/stdgui.py",
line 36, in __init__
    wx.App.__init__ (self, redirect=False)
  File "/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/_core.py",
line 7700, in __init__
    self._BootstrapApp()
  File "/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/_core.py",
line 7352, in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File "/usr/local/lib/python2.4/site-packages/gnuradio/wxgui/stdgui.py",
line 39, in OnInit
    frame = stdframe (self.flow_graph_maker, self.title, self._nstatus)
  File "/usr/local/lib/python2.4/site-packages/gnuradio/wxgui/stdgui.py",
line 60, in __init__
    self.panel = stdpanel (self, self, flow_graph_maker)
  File "/usr/local/lib/python2.4/site-packages/gnuradio/wxgui/stdgui.py",
line 81, in __init__
    self.fg = flow_graph_maker (frame, self, vbox, sys.argv)
  File "./prefinal4.py", line 32, in __init__
    self.connect (dst,self.scope)
  File
"/usr/local/lib/python2.4/site-packages/gnuradio/gr/basic_flow_graph.py",
line 115, in connect
    self._connect (points[i-1], points[i])
  File
"/usr/local/lib/python2.4/site-packages/gnuradio/gr/basic_flow_graph.py",
line 120, in _connect
    self._connect_prim (s, d)
  File
"/usr/local/lib/python2.4/site-packages/gnuradio/gr/basic_flow_graph.py",
line 125, in _connect_prim
    self._check_valid_src_port (src_endpoint)
  File
"/usr/local/lib/python2.4/site-packages/gnuradio/gr/basic_flow_graph.py",
line 222, in _check_valid_src_port
    self._check_port (src_endpoint.block.output_signature(),
src_endpoint.port)
  File
"/usr/local/lib/python2.4/site-packages/gnuradio/gr/basic_flow_graph.py",
line 233, in _check_port
    raise ValueError, 'port number out of range.'
ValueError: port number out of range.


i uploaded my code  http://www.nabble.com/file/p11395825/prefinal4.py
prefinal4.py 
-- 
View this message in context: 
http://www.nabble.com/UDP-port-number-tf4012851.html#a11395825
Sent from the GnuRadio mailing list archive at Nabble.com.





reply via email to

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