Source code :: Tektronix.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
##!/usr/bin/python2
## -*- coding: utf-8 -*-


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

<%
    from pygolem_lite.web import make_config, get_page_paths, make_image
    from pygolem_lite import Shot
    page_path, base_path, page  = get_page_paths(shot, page)
%>

<h4>Oscilloscope screenshot</h4>

${make_image('screenshot') }

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

% for i in range(1, 4+1):
    %try:
        ${ make_config(page_path + ('/ch%i.cfg' % i) ) }
        ${ make_image("graph%i" % i) }
        ${ make_image("graph%i_intgr" % i) }
    %except Exception, e:
        ${e}
    %endtry 
% endfor




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

Navigation