|
@@ -258,7 +258,7 @@ async function loadGraph(){
|
|
|
option = document.querySelector('#waveformGraphSelect')[document.querySelector('#waveformGraphSelect').selectedIndex]
|
|
|
timestamp = option.getAttribute('timestamp')
|
|
|
csv = await eel.loadFile('data/waveforms/'+timestamp+'.csv')()
|
|
|
- document.querySelector('#waveformGraphText').innerText = "Signal: "+csv[8]+" - Gnd: "+csv[9]+" - Signal_std: "+csv[10].toFixed(2)+" - Gnd_std: "+csv[11].toFixed(2)
|
|
|
+ document.querySelector('#waveformGraphText').innerText = "Signal: "+csv[8].toFixed(2)+" - Gnd: "+csv[9].toFixed(2)+" - Signal_std: "+csv[10].toFixed(2)+" - Gnd_std: "+csv[11].toFixed(2)
|
|
|
|
|
|
var data = [{
|
|
|
x: range(csv[12]),
|
|
@@ -385,5 +385,5 @@ function message(txt){
|
|
|
position: 'left',
|
|
|
close: true,
|
|
|
backgroundColor: "grey",
|
|
|
- duration: 3000,}).showToast()
|
|
|
+ duration: 10000,}).showToast()
|
|
|
}
|