Skip to content

Commit

Permalink
Set xspress3 trigger mode and STAT plugin input in configure()
Browse files Browse the repository at this point in the history
  • Loading branch information
Nic Bricknell committed Nov 30, 2016
1 parent cf0cc0a commit dc2105e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
7 changes: 7 additions & 0 deletions malcolm/blocks/xspress3/Xspress3DetectorDriver.yaml
Expand Up @@ -19,6 +19,13 @@
rbvSuff: _RBV
widget: textinput

- parts.ca.CAChoicePart:
name: triggerMode
description: Triggering and behaviour of xspress3 time frames
pv: $(prefix):TriggerMode
rbvSuff: _RBV
widget: textinput

- parts.ca.CADoublePart:
name: exposure
description: Exposure time for each frame
Expand Down
3 changes: 2 additions & 1 deletion malcolm/parts/ADCore/statspluginpart.py
Expand Up @@ -14,4 +14,5 @@ def report_info(self, _):
def configure(self, task, completed_steps, steps_to_do, part_info):
task.put_many(self.child, dict(
enableCallbacks=True,
computeStatistics=True))
computeStatistics=True,
inp="XSP3.POS"))
1 change: 1 addition & 0 deletions malcolm/parts/xspress3/xspress3driverpart.py
Expand Up @@ -19,5 +19,6 @@ def configure(self, task, completed_steps, steps_to_do, part_info, params):
else:
steps_per_row = steps_to_do
task.put(self.child["pointsPerRow"], steps_per_row)
task.put(self.child["triggerMode"], "Hardware")
super(Xspress3DriverPart, self).configure(
task, completed_steps, steps_to_do, part_info, params)

0 comments on commit dc2105e

Please sign in to comment.