Skip to content

Commit a47e7be

Browse files
committed
Complete extruder page
1 parent 23ac5a2 commit a47e7be

File tree

1 file changed

+40
-1
lines changed

1 file changed

+40
-1
lines changed

src/components/Extruder/CollectionSetupEx.tsx

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ import {
66
PumpProbeSelection,
77
PumpProbeSetup,
88
} from "./PumpProbeSelection";
9+
import { AbortButton, RunPlanButton } from "../../blueapi/BlueapiComponents";
10+
import { DetailsRounded } from "@mui/icons-material";
911

1012
/**Main collection input window for the extruderpanel. */
1113
export function CollectionSetupEx() {
@@ -78,7 +80,44 @@ export function CollectionSetupEx() {
7880
<LaserCheckButtons />
7981
</Stack>
8082
</Grid2>
81-
<Grid2 size={4.5}></Grid2>
83+
<Grid2 size={4.5}>
84+
<Stack direction={"column"} spacing={1} alignItems={"center"}>
85+
<RunPlanButton
86+
btnLabel="Initialise on Start"
87+
planName="initialise_extruder"
88+
title="Initialise parameters for extruder"
89+
btnSize="large"
90+
/>
91+
<RunPlanButton
92+
btnLabel="Enter hutch"
93+
planName="enter_hutch"
94+
title="Move detector stage before entering hutch"
95+
btnSize="large"
96+
/>
97+
</Stack>
98+
</Grid2>
99+
<Grid2 size={12}>
100+
<Stack direction={"row"} spacing={8} justifyContent={"center"}>
101+
<RunPlanButton
102+
btnLabel="Start!"
103+
planName="gui_run_extruder_collection"
104+
planParams={{
105+
sub_dir: subDir,
106+
file_name: fileName,
107+
exp_time: expTime,
108+
det_dist: detDist,
109+
transmission: trans,
110+
num_images: numImages,
111+
pump_probe: pumpProbe,
112+
laser_dwell: laserDwell,
113+
laser_delay: laserDelay,
114+
}}
115+
title="Start extruder collection"
116+
btnSize="large"
117+
/>
118+
<AbortButton />
119+
</Stack>
120+
</Grid2>
82121
</Grid2>
83122
</Box>
84123
);

0 commit comments

Comments
 (0)