# Re: latency time

**URL:** <https://www.ruby-forum.com/t/re-latency-time/229929>\
**Category:** GNU Radio\
**Created:** [February 15, 2013, 2:15am UTC](https://www.ruby-forum.com/t/re-latency-time/229929 "2013-02-15T02:15:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gflopa](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/a9a28c/32.png) [@gflopa](https://www.ruby-forum.com/u/gflopa)\
**Post date:** [February 15, 2013, 2:15am UTC](https://www.ruby-forum.com/t/re-latency-time/229929/1 "2013-02-15T02:15:19Z")

</div>

Hey list… again  
i’ve been checking the descriptions and examples of:  
[http://code.ettus.com/redmine/ettus/projects/public/wiki/Latency#To-Do](http://code.ettus.com/redmine/ettus/projects/public/wiki/Latency#To-Do)  
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   
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
