Add recentre and ROM test buttons to stage settings
Only shown if not using a DummyStage, as neither work meaningfully in sim
This commit is contained in:
parent
41c9c58f42
commit
302e510678
1 changed files with 30 additions and 0 deletions
|
|
@ -23,6 +23,36 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div v-if="stageType !== 'DummyStage'" class="uk-width-large">
|
||||||
|
<h4>Stage Measurement Tools</h4>
|
||||||
|
|
||||||
|
<div class="uk-margin">
|
||||||
|
<action-button
|
||||||
|
class="uk-width-1-2"
|
||||||
|
thing="stage_measure"
|
||||||
|
action="perform_recentre"
|
||||||
|
submit-label="Recentre Stage"
|
||||||
|
:button-primary="true"
|
||||||
|
:can-terminate="true"
|
||||||
|
:requires-confirmation="true"
|
||||||
|
:confirmation-message="'Start recalibration of the stage to find the centre of the range of motion? Microscope will be locked while this runs'"
|
||||||
|
:modal-progress="true"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<div class="uk-margin">
|
||||||
|
<action-button
|
||||||
|
class="uk-width-1-2"
|
||||||
|
thing="stage_measure"
|
||||||
|
action="perform_rom_test"
|
||||||
|
submit-label="Run ROM Test"
|
||||||
|
:button-primary="true"
|
||||||
|
:can-terminate="true"
|
||||||
|
:requires-confirmation="true"
|
||||||
|
:confirmation-message="'Start recalibration of the stage to find the range of motion in steps? Microscope will be locked while this runs'"
|
||||||
|
:modal-progress="true"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue