aboutsummaryrefslogtreecommitdiffstats
path: root/gui/static
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2018-11-28 15:44:11 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2018-11-28 15:44:11 +0100
commit90255c8d0d69f2843c72c41faab57c3905fbf906 (patch)
treee250242ff720448ba39e6afc8f8a9e6461adcd13 /gui/static
parentd952405886dab44f12c1de53b57912b34320c7c8 (diff)
downloaddabmod-90255c8d0d69f2843c72c41faab57c3905fbf906.tar.gz
dabmod-90255c8d0d69f2843c72c41faab57c3905fbf906.tar.bz2
dabmod-90255c8d0d69f2843c72c41faab57c3905fbf906.zip
Add plots to predistortion page
Diffstat (limited to 'gui/static')
-rw-r--r--gui/static/dpd/index.txt1
-rw-r--r--gui/static/js/odr-predistortion.js4
2 files changed, 5 insertions, 0 deletions
diff --git a/gui/static/dpd/index.txt b/gui/static/dpd/index.txt
new file mode 100644
index 0000000..f8b8874
--- /dev/null
+++ b/gui/static/dpd/index.txt
@@ -0,0 +1 @@
+This folder contains plots generated by the DPDCE
diff --git a/gui/static/js/odr-predistortion.js b/gui/static/js/odr-predistortion.js
index 6c5f4d3..73c3b94 100644
--- a/gui/static/js/odr-predistortion.js
+++ b/gui/static/js/odr-predistortion.js
@@ -33,6 +33,10 @@ function calibraterefresh() {
$(function(){
$('#calibraterefreshbtn').click(calibraterefresh);
+ $('#refreshframesbtn').click(function() {
+ $('#txframeimg').src("dpd/txframe.png");
+ $('#rxframeimg').src("dpd/rxframe.png");
+ });
$('#calibratebtn').click(function() {
doApiRequestPOST("/api/calibrate", {}, function(data) {