succd: run at 100Hz, monitor load and jitter
This commit is contained in:
parent
12f6815673
commit
96e07ece2d
4 changed files with 35 additions and 5 deletions
|
@ -100,27 +100,29 @@ td > span {
|
|||
<tr>
|
||||
<th rowspan="3">Control</th>
|
||||
<th>RP</th>
|
||||
<td>
|
||||
<td colspan="3">
|
||||
<button id="rpon">On</button>
|
||||
<button id="rpoff">Off</button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>DP</th>
|
||||
<td>
|
||||
<td colspan="3">
|
||||
<button id="dpon">On</button>
|
||||
<button id="dpoff">Off</button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<td colspan="3">
|
||||
<button id="pd">Pump Down</button>
|
||||
<button id="vent">Vent</button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Status</th>
|
||||
<td id="status" colspan="4">OK</td>
|
||||
<td id="status" colspan="1">OK</td>
|
||||
<th>Load</th>
|
||||
<td id="load" colspan="1">...</td>
|
||||
</tr>
|
||||
</table>
|
||||
</p>
|
||||
|
@ -275,6 +277,7 @@ window.addEventListener("load", (_) => {
|
|||
let ping = document.querySelector("#ping");
|
||||
let trough = document.querySelector("#trough");
|
||||
let thigh = document.querySelector("#thigh");
|
||||
let load = document.querySelector("#load");
|
||||
|
||||
// Buttons
|
||||
let pd = document.querySelector("#pd");
|
||||
|
@ -354,6 +357,7 @@ window.addEventListener("load", (_) => {
|
|||
thigh.innerHTML = "NOK";
|
||||
thigh.style = "background-color: #f06060";
|
||||
}
|
||||
load.innerHTML = data.LoopLoad.toString() + "%";
|
||||
historicalPush(data.Pirani.MbarFloat);
|
||||
ping.innerHTML = Date.now();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue