Forum: GNU Radio Re: latency time

Posted by Gonzalo Flores de la Parra (gflopa)
on 2013-02-15 02:15
Attachment: run_test.png (112 KB)
Attachment: graph_latency.png (193 KB)
(Received via mailing list)
Hey list.. again
i've been checking the descriptions and examples of:
http://code.ettus.com/redmine/ettus/projects/publi...
and everything looks pretty clear to me now, however i tried to make my 
own
plots according to the instructions on the above page, at first 
everything
looks fine and ./run_test.py gives me no trouble despite the fact that 
im
not sure when to stop the test (they say after 5 successful delays how 
do i
know when that happened?) im attaching to exit of this first instruction
hoping to be good.
The problem its then im trying to plot the results by typing "find . 
-name
"latency*.txt" | ./graph.py 'cause i get the next error:
gflopa@gflopa-desktop:~/Downloads/latency-001$ find . -name 
"latency*.txt"
| ./graph.py
{'spp': 363, 'spb': 32, 'rate': 250000, 'id': 'N210r4', 'file':
'./latency-stats.id_N210r4_rate_250000-spb_32-spp_363.txt'}
{'spp': 64, 'spb': 32, 'rate': 250000, 'id': 'N210r4', 'file':
'./latency-stats.id_N210r4_rate_250000-spb_32-spp_64.txt'}
{'spp': 128, 'spb': 32, 'rate': 250000, 'id': 'N210r4', 'file':
'./latency-stats.id_N210r4_rate_250000-spb_32-spp_128.txt'}
['rate', '-spb', '-spp']
[('rate', [250000]), ('spb', [32]), ('spp', [363, 128, 64])]

GNU Plot command:
/tmp/tmpEauhYD

set title "Latency (N210r4)"; \
set xlabel "Latency (us)"; \
set ylabel "Normalised success of on-time burst transmission"; \
set key right bottom; \
set grid; \
plot "./latency-stats.id_N210r4_rate_250000-spb_32-spp_363.txt" title 
"250
ksps, SPB 32, SPP 363" with lp, \
"./latency-stats.id_N210r4_rate_250000-spb_32-spp_128.txt" title "250 
ksps,
SPB 32, SPP 128" with lp, \
"./latency-stats.id_N210r4_rate_250000-spb_32-spp_64.txt" title "250 
ksps,
SPB 32, SPP 64" with lp
Traceback (most recent call last):
  File "./graph.py", line 196, in <module>
    main()
  File "./graph.py", line 177, in main
    res = subprocess.call(gp_exec)
  File "/usr/lib/python2.6/subprocess.py", line 470, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.6/subprocess.py", line 623, in __init__
    errread, errwrite)
  File "/usr/lib/python2.6/subprocess.py", line 1141, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

Am i doing something wrong or what could be the problem? i attached the
results of both instructions
im working on a i686 desktop with ubuntu 10.10 and usrpn210

Thanks in advanced to everyresponse or comment
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.