X-Git-Url: http://git.rot13.org/?p=goodfet;a=blobdiff_plain;f=client%2FGoodFETGlitch.py;h=056c50b3e032c28b8c5b76eaabc0378058e530ff;hp=b85c56802ca4eadc92e4196693082165e8ead897;hb=5e18fb77f7a1bb37e805ac8941c1a6a59c631903;hpb=a7eacc6432e6be392bad9e53248a5b505fefd29e diff --git a/client/GoodFETGlitch.py b/client/GoodFETGlitch.py index b85c568..056c50b 100644 --- a/client/GoodFETGlitch.py +++ b/client/GoodFETGlitch.py @@ -22,6 +22,17 @@ with dots \ title "Exploited" """; +script_timevccrange=""" +plot "< sqlite3 glitch.db 'select time,vcc,glitchcount from glitches where count=0;'" \ +with dots \ +title "Scanned", \ +"< sqlite3 glitch.db 'select time,vcc,count from glitches where count>0;'" \ +with dots \ +title "Success", \ +"< sqlite3 glitch.db 'select time,max(vcc),count from glitches where count=0 group by time ;'" with lines title "Max", \ +"< sqlite3 glitch.db 'select time,min(vcc),count from glitches where count>0 group by time ;'" with lines title "Min" +"""; + class GoodFETGlitch(GoodFET): def __init__(self, *args, **kargs): @@ -50,9 +61,10 @@ class GoodFETGlitch(GoodFET): g('set datafile separator "|"'); g(script_timevcc); + print "^C to exit."; while 1==1: time.sleep(30); - g('replot'); + # g('replot'); def graph(self):