From 29d36a6948b977cf8dea830aed18dec6d49220cd Mon Sep 17 00:00:00 2001 From: Maps Date: Tue, 1 Aug 2023 22:18:38 +0200 Subject: [PATCH] add input for filename --- http/htdocs/setreg.htm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/http/htdocs/setreg.htm b/http/htdocs/setreg.htm index 1cf9381..44783e9 100644 --- a/http/htdocs/setreg.htm +++ b/http/htdocs/setreg.htm @@ -93,7 +93,9 @@

DAC Control

- FPGA  Download + FPGA   + Download +
VCASP
VCASNA
VCASNB
@@ -122,6 +124,9 @@ document.getElementById("DownloadLink").href="getdacfile.pl?"+document.getElementById("fpga").value; getData("getdac.pl?"+document.getElementById("fpga").value,"",showDacs); } + function setfilename() { + document.getElementById("DownloadLink").download=document.getElementById("filename").value; + } function showDacs(s) { vals = s.split("-"); -- 2.43.0