Source code :: Papouch St (Stockel).php

[Return]
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
##!/usr/bin/python2
## -*- coding: utf-8 -*-

<%page args="shot, page" />

<%
    from pygolem_lite.web import make_config, get_page_paths, cat, make_zoom_image
    import re, os
    from pygolem_lite import Shot
    page_path, base_path, page  = get_page_paths(shot, page)
%>

${make_config(page_path + '/Papouch.cfg')}


%try:
  %if cat(page_path +'/ACCESS') == "0":
    <h3> Cannot ping on DAS</h3>
  %endif
%except:
  Missing ACCESS file (ping on Papouch)
%endtry
 

<h4>Graphs:  <a href="main.py">[Source main.py]</a> <a href="device_control.py">[Source device_control.py]</a>  <a href="makefile">[Source makefile]</a>   </h4>

${make_zoom_image("graph")}
${make_zoom_image("graph_int")}
<br/>

%if os.path.exists(page_path + '/Papouch_All.npz'):
    <h4>Data:</h4>

    <ul>
    <li><a href=Papouch_All.npz>Papouch_All</a></li>
    %for  i in range(12):
	<li><a href="PapouchSt_${"%02i" % (i+1)}.npz">PapouchSt_${"%02i" % (i+1)}</a></li>
    %endfor
    </ul>
%endif


${Shot(shot).get_pygolem_das('Papouch_St')}

Navigation