Commit ad7aaa0f authored by Andrey Filippov's avatar Andrey Filippov

Added sensor porft to histogram window

parent 8fa350bb
...@@ -494,6 +494,7 @@ camInterface.prototype.initHistControls= function () { ...@@ -494,6 +494,7 @@ camInterface.prototype.initHistControls= function () {
//function ccs_makeHistURL() { //function ccs_makeHistURL() {
camInterface.prototype.makeHistURL= function () { camInterface.prototype.makeHistURL= function () {
gRequests.histUrl=gRequests.histogram; gRequests.histUrl=gRequests.histogram;
gRequests.histUrl+="sensor_port="+document.sensor_port+"&";
gRequests.histUrl+="sqrt="+(document.hist.sqr?"1":"0")+"&"; gRequests.histUrl+="sqrt="+(document.hist.sqr?"1":"0")+"&";
var sc=parseFloat(document.getElementById("idHistScale_TX").value); var sc=parseFloat(document.getElementById("idHistScale_TX").value);
if (!((sc>0.001) && (sc< 1000))) { if (!((sc>0.001) && (sc< 1000))) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment