-
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.
Refactor assemblies into blocks and includes
- Loading branch information
Showing
47 changed files
with
533 additions
and
412 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
30 changes: 12 additions & 18 deletions
30
...m/assemblies/ADCore/PositionLabeller.yaml → malcolm/blocks/ADCore/PositionLabeller.yaml
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
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,13 @@ | ||
- 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) |
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,22 @@ | ||
- 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.ADCore.SimDetectorDriver: | ||
mri: $(mriPrefix)-DRV | ||
prefix: $(pvPrefix):DET | ||
|
||
- parts.ADCore.DetectorDriverPart: | ||
name: DRV | ||
mri: $(mriPrefix)-DRV | ||
|
||
- 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,25 @@ | ||
- 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) | ||
|
||
# This includes the output port | ||
- includes.ADCore.ndarray_parts: | ||
prefix: $(prefix) | ||
|
||
# This includes the input port | ||
- includes.ADCore.ndpluginbase_parts: | ||
prefix: $(prefix) | ||
|
||
- parts.ca.CABooleanPart: | ||
name: computeStatistics | ||
description: Compute min, max, mean, tot, sigma, net | ||
pv: $(prefix):ComputeStatistics | ||
rbvSuff: _RBV | ||
widget: checkbox |
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
malcolm/assemblies/demo/Counter.yaml → malcolm/blocks/demo/Counter.yaml
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
2 changes: 1 addition & 1 deletion
2
malcolm/assemblies/demo/Hello.yaml → malcolm/blocks/demo/Hello.yaml
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
12 changes: 9 additions & 3 deletions
12
malcolm/assemblies/demo/TestRigManager.yaml → malcolm/blocks/demo/TestRigManager.yaml
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 |
---|---|---|
@@ -1,20 +1,26 @@ | ||
- parameters.string: | ||
name: mri | ||
description: MRI for created block | ||
|
||
- parameters.string: | ||
name: mic | ||
description: MRI for microscope DetectorManager object | ||
|
||
- parameters.string: | ||
name: brick | ||
description: MRI for brick DetectorManager object | ||
description: MRI for brick PMACManager object | ||
|
||
- controllers.RunnableController: | ||
mri: $(mri) | ||
axesToMove: [stagex, stagey] | ||
|
||
- parts.ADCore.DatasetTablePart: | ||
name: DSET | ||
|
||
- parts.builtin.RunnableChildPart: | ||
name: MIC | ||
child: $(mic) | ||
mri: $(mic) | ||
|
||
- parts.builtin.RunnableChildPart: | ||
name: BRICK | ||
child: $(brick) | ||
mri: $(brick) |
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,24 @@ | ||
- controllers.RunnableController: | ||
mri: P45-BRICK01 | ||
|
||
- includes.pmac.rawmotor_collection: | ||
mri: P45-STAGE-X | ||
motorPrefix: LAB-MO-MAP-01:STAGE:X | ||
prefix: LAB-MO-MAP-01:STAGEGB1:M1 | ||
scannable: stagex | ||
|
||
- includes.pmac.rawmotor_collection: | ||
name: P45-STAGE-Y | ||
motorPrefix: LAB-MO-MAP-01:STAGE:Y | ||
prefix: LAB-MO-MAP-01:STAGEGB1:M2 | ||
scannable: stagey | ||
|
||
- includes.pmac.rawmotor_collection: | ||
name: P45-STAGE-Z | ||
motorPrefix: LAB-MO-MAP-01:STAGE:Z | ||
prefix: LAB-MO-MAP-01:STAGEGB1:M3 | ||
scannable: stagez | ||
|
||
- includes.pmac.trajectory_collection: | ||
name: P45-BRICK01-TRAJ | ||
prefix: LAB-MO-MAP-01:STAGEGB1 |
File renamed without changes.
File renamed without changes.
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
Oops, something went wrong.