aboutsummaryrefslogtreecommitdiff
path: root/aepd/share/aepscope.html
diff options
context:
space:
mode:
Diffstat (limited to 'aepd/share/aepscope.html')
-rw-r--r--aepd/share/aepscope.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/aepd/share/aepscope.html b/aepd/share/aepscope.html
index 5def4c2..0c9edf9 100644
--- a/aepd/share/aepscope.html
+++ b/aepd/share/aepscope.html
@@ -144,6 +144,11 @@ td.heading { font-size:9pt; font: Arial; font-weight:bold; vertical-align:middle
<div id="val2" class="caliper_invalid"></div>
</div>
</td>
+ <td height="100%" style="width:100px;">
+ <div class="group">
+ <div class="control"><button id="zero" onclick="do_zero();">Zero</button></div>
+ </div>
+ </td>
</tr>
</table>
</td>
@@ -458,6 +463,13 @@ function trigger_level_changed()
socket.send("T" + trigger_level + "\n");
}
+function do_zero()
+{
+ if (socket)
+ if (socket.readyState == 1)
+ socket.send("Z\n");
+}
+
function read_local_stg(stg_name, element_name, default_value)
{
var n;