Commit 7422dc704d893feed3a51aaca7c8c5671cdf9daa
1 parent
7047b0001e
Exists in
master
replace 4 spaces by tabs
Showing 3 changed files with 18 additions and 18 deletions Side-by-side Diff
disp_LS350-T7Pro.py
| ... | ... | @@ -34,11 +34,11 @@ |
| 34 | 34 | |
| 35 | 35 | # update |
| 36 | 36 | try: |
| 37 | - while True: | |
| 38 | - time.sleep(60) | |
| 39 | - print('updating plot\n') | |
| 40 | - g('set autoscale') | |
| 41 | - g('rep') | |
| 37 | + while True: | |
| 38 | + time.sleep(60) | |
| 39 | + print('updating plot\n') | |
| 40 | + g('set autoscale') | |
| 41 | + g('rep') | |
| 42 | 42 | except KeyboardInterrupt: |
| 43 | - g.close() | |
| 43 | + g.close() |
disp_TPG.py
| ... | ... | @@ -12,11 +12,11 @@ |
| 12 | 12 | g('plot for [file in system("find ~/server/data/2016/ -name 20161*TPG*.dat | sort")] file u 1:3 w l lt 1 title file') |
| 13 | 13 | |
| 14 | 14 | try: |
| 15 | - while True: | |
| 16 | - time.sleep(60) | |
| 17 | - print('updating plot\n') | |
| 18 | - g('set autoscale') | |
| 19 | - g('rep') | |
| 15 | + while True: | |
| 16 | + time.sleep(60) | |
| 17 | + print('updating plot\n') | |
| 18 | + g('set autoscale') | |
| 19 | + g('rep') | |
| 20 | 20 | except KeyboardInterrupt: |
| 21 | - g.close() | |
| 21 | + g.close() |
disp_local_LS350-T7Pro.py
| ... | ... | @@ -36,11 +36,11 @@ |
| 36 | 36 | |
| 37 | 37 | # update |
| 38 | 38 | try: |
| 39 | - while True: | |
| 40 | - time.sleep(60) | |
| 41 | -# print('updating plot\n') | |
| 42 | -# g('set autoscale') | |
| 43 | -# g('rep') | |
| 39 | + while True: | |
| 40 | + time.sleep(60) | |
| 41 | +# print('updating plot\n') | |
| 42 | +# g('set autoscale') | |
| 43 | +# g('rep') | |
| 44 | 44 | except KeyboardInterrupt: |
| 45 | - g.close() | |
| 45 | + g.close() |