PositionDataView.html 814 Bytes
Newer Older
1 2 3 4 5
X: &nbsp;&nbsp;<span class="positionVal"><%= x %></span><br/>
Y: &nbsp;&nbsp;<span class="positionVal"><%= y %></span><br/>
Z: &nbsp;&nbsp;<span class="positionVal"><%= z %></span><br/><br/>
A: &nbsp;&nbsp;<span class="positionVal"><%= a %></span><br/>
B: &nbsp;&nbsp;<span class="positionVal"><%= b %></span><br/>
Amanda Ghassaei's avatar
Amanda Ghassaei committed
6 7 8 9 10 11 12 13
C: &nbsp;&nbsp;<span class="positionVal"><%= c %></span><br/><br/>
<span id="machineStatus">status: &nbsp;&nbsp;
    <% if (status == 0) { %>initializing
    <% } else if (status == 1 || status == 3 || status == 4){ %>ready
    <% } else if (status == 2){ %>alarm
    <% } else if (status == 5) { %>moving
    <% } else if (status == 6) { %>holding
    <% } else if (status == 9) { %>homing
Amanda Ghassaei's avatar
Amanda Ghassaei committed
14
    <% } else if (status == 10) { %>bad footer status
Amanda Ghassaei's avatar
Amanda Ghassaei committed
15
    <% } else { %>status = <%= status %><% } %></span>