From 59136b8b12f7b5107d1b284ccfa705015de8df31 Mon Sep 17 00:00:00 2001 From: Joel Collins Date: Fri, 9 Nov 2018 13:29:26 +0000 Subject: [PATCH] Added focus velocity control --- openflexure_microscope/api/templates/index_v1.html | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/openflexure_microscope/api/templates/index_v1.html b/openflexure_microscope/api/templates/index_v1.html index ddb44e61..ea204fd9 100644 --- a/openflexure_microscope/api/templates/index_v1.html +++ b/openflexure_microscope/api/templates/index_v1.html @@ -14,10 +14,12 @@
- + Velocity:
- - + x-y: + + z: +
Scroll focus: @@ -58,6 +60,11 @@ stageVelocity = val; } + function updateFocusVelocity(val) { + document.getElementById('focusVelocityText').value = val; + focusVelocity = val; + } + function updateStagePositions(response) { document.getElementById('x_abs').value = response["x"]; document.getElementById('y_abs').value = response["y"];