usnistgov / SpectrumBrowser

ITL
12 stars 11 forks source link

When showing the streaming sensor data and we change the threshold it only accepts integers but shows a real number #173

Open jkubNTIA opened 9 years ago

jkubNTIA commented 9 years ago

When we are showing the live streaming data and we change the threshold to -72.8 and press change I get an error "enter an integer". However, the display show a real number and in the sensors admin page, we can enter real numbers for thresholds. I think we should change the code to accept real numbers instead of integers.

ranganathanm commented 9 years ago

This a question for Mike - how accurate do we want the threshold settings to be?


From: jkub01 notifications@github.com Sent: Tuesday, May 12, 2015 10:15 AM To: usnistgov/SpectrumBrowser Subject: [SpectrumBrowser] When showing the streaming sensor data and we change the threshold it only accepts integers but shows a real number (#173)

When we are showing the live streaming data and we change the threshold to -72.8 and press change I get an error "enter an integer". However, the display show a real number and in the sensors admin page, we can enter real numbers for thresholds. I think we should change the code to accept real numbers instead of integers.

Reply to this email directly or view it on GitHubhttps://github.com/usnistgov/SpectrumBrowser/issues/173.

MichaelCotton commented 9 years ago

Integer resolution is fine in my opinion.

jkubNTIA commented 9 years ago

Sounds good. Then I suggest that to be consistent we should show integer numbers (instead of real numbers) on this web page and on the sensor admin web page. Our slider bar is already an integer value, so that is good to go. We do not have any data in the transfer spec that needs to be changed to an integer, right? I do not think so since we apply the threshold from the website sensor setting.