-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
57 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
- parameters.string: | ||
name: mri | ||
description: Malcolm resource id of the Block | ||
|
||
- parameters.string: | ||
name: prefix | ||
description: The root PV for the all records | ||
|
||
- controllers.DefaultController: | ||
mri: $(mri) | ||
|
||
- includes.ADCore.adbase_parts: | ||
prefix: $(prefix) | ||
|
||
- parts.ca.CADoublePart: | ||
name: exposure | ||
description: Exposure time for each frame | ||
pv: $(prefix):AcquireTime | ||
rbvSuff: _RBV | ||
widget: textinput |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
- parameters.string: | ||
name: mriPrefix | ||
description: Malcolm resource id of the Block and prefix for children | ||
|
||
- parameters.string: | ||
name: pvPrefix | ||
description: PV prefix for driver and all plugins | ||
|
||
- controllers.RunnableController: | ||
mri: $(mriPrefix) | ||
|
||
- blocks.ADAndor.AndorDetectorDriver: | ||
mri: $(mriPrefix)-DRV | ||
prefix: $(pvPrefix):CAM | ||
|
||
- parts.ADCore.DetectorDriverPart: | ||
name: DRV | ||
mri: $(mriPrefix)-DRV | ||
readoutTime: 12e-3 | ||
|
||
- blocks.ADCore.StatsPlugin: | ||
mri: $(mriPrefix)-STAT | ||
prefix: $(pvPrefix):STAT | ||
|
||
- parts.ADCore.StatsPluginPart: | ||
name: STAT | ||
mri: $(mriPrefix)-STAT | ||
|
||
- includes.ADCore.filewriting_collection: | ||
pvPrefix: $(pvPrefix) | ||
mriPrefix: $(mriPrefix) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Find all subpackages, MethodMeta decorated callables, and YAML files | ||
from malcolm.packageutil import prepare_package | ||
|
||
__all__ = prepare_package(globals(), __name__) | ||
|
||
del prepare_package |