-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #54 from nikitinvv/master
replaced hardcoded PVs with new tomoStream PVs
- Loading branch information
Showing
14 changed files
with
760 additions
and
217 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 |
---|---|---|
@@ -1 +1 @@ | ||
medm -x -macro "P=2bmb:,R=TomoStream:" ../../tomoStreamApp/op/adl/tomoStream.adl & | ||
medm -x -macro "P=2bmb:,R=TomoStream:,BEAMLINE=tomoStream_2BM" ../../tomoStreamApp/op/adl/tomoStream.adl & |
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 |
---|---|---|
@@ -1,6 +1,13 @@ | ||
file "$(TOP)/db/tomoStream.template" | ||
{ | ||
pattern | ||
{ P, R, TOMO_SCAN, IMAGE_P, DARK_PVA, FLAT_PVA, RECON_PVA, THETA_PVA, MCT_OPTICS} | ||
{2bmb:, TomoStream:, 2bmb:TomoScanStream:, 2bmb:TomoScanStream:PvaPluginPVPrefix, 2bmb:TomoScanStream:StreamDarkFields, 2bmb:TomoScanStream:StreamFlatFields, 2bmb:TomoStream:StreamRecon, 2bmb:TomoScanStream:StreamTheta, 2bm:MCTOptics:} | ||
{ P, R, TOMO_SCAN, IMAGE_P, DARK_PVA, FLAT_PVA, RECON_PVA, THETA_PVA} | ||
{2bmb:, TomoStream:, 2bmb:TomoScanStream:, 2bmb:TomoScanStream:PvaPluginPVPrefix, 2bmb:TomoScanStream:StreamDarkFields, 2bmb:TomoScanStream:StreamFlatFields, 2bmb:TomoStream:StreamRecon, 2bmb:TomoScanStream:StreamTheta} | ||
} | ||
|
||
file "$(TOP)/db/tomoStream_2BM.template" | ||
{ | ||
pattern | ||
{ P, R, MCT_OPTICS, TOMO_0_DEG, TOMO_90_DEG, SAMPLE_Y, ROI_PLUGIN} | ||
{2bmb:, TomoStream:, 2bm:MCTOptics:, 2bmS1:m2, 2bmS1:m1, 2bmb:m25, 2bmbSP1:ROI1:} | ||
} |
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 +1 @@ | ||
medm -x -macro "P=7bmtomo:,R=TomoStream:" ../../tomoStreamApp/op/adl/tomoStream.adl & | ||
medm -x -macro "P=7bmtomo:,R=TomoStream:,BEAMLINE=tomoStream_7BM" ../../tomoStreamApp/op/adl/tomoStream.adl & |
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,49 @@ | ||
# Database for EPICS PVS for tomography data streaming software | ||
# This database contains all of the PVs used by the tomostream base class. | ||
|
||
############################################## | ||
# Lens change synchronization with orthoslices | ||
############################################## | ||
|
||
record(bo,"$(P)$(R)LensChangeSync") | ||
{ | ||
field(ZNAM,"No") | ||
field(ONAM,"Yes") | ||
} | ||
|
||
################ | ||
# mctOptics | ||
################ | ||
|
||
record(stringout, "$(P)$(R)MctOpticsPVPrefix") | ||
{ | ||
field(VAL, "$(MCT_OPTICS)") | ||
} | ||
|
||
########################################################## | ||
# sample tomo0, tomo90 deg and translation motors PV names | ||
########################################################## | ||
|
||
record(stringout, "$(P)$(R)SampleTomo0degPVName") | ||
{ | ||
field(VAL, "$(TOMO_0_DEG)") | ||
} | ||
|
||
record(stringout, "$(P)$(R)SampleTomo90degPVName") | ||
{ | ||
field(VAL, "$(TOMO_90_DEG)") | ||
} | ||
|
||
record(stringout, "$(P)$(R)SampleYPVName") | ||
{ | ||
field(VAL, "$(SAMPLE_Y)") | ||
} | ||
|
||
###################### | ||
# Roi Plugin PV Prefix | ||
###################### | ||
|
||
record(stringout, "$(P)$(R)RoiPluginPVPrefix") | ||
{ | ||
field(VAL, "$(ROI_PLUGIN)") | ||
} |
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,30 @@ | ||
# This file is used by autosave to determine what PVs to save | ||
# It is also used by tomoStream to determine what PVs to create | ||
|
||
# This file contains all of the PVs used by the tomostream base class. | ||
|
||
# Lines that begin with #controlPV are not saved by autosave, | ||
# but they are used by tomostream. | ||
# These PVs are not saved in the tomostream configuration file. | ||
|
||
############################################## | ||
# Lens change synchronization with orthoslices | ||
############################################## | ||
$(P)$(R)LensChangeSync | ||
|
||
################ | ||
# mctOptics | ||
################ | ||
$(P)$(R)MctOpticsPVPrefix | ||
|
||
########################################################## | ||
# sample tomo0, tomo90 deg and translation motors PV names | ||
########################################################## | ||
$(P)$(R)SampleTomo0degPVName | ||
$(P)$(R)SampleTomo90degPVName | ||
$(P)$(R)SampleYPVName | ||
|
||
###################### | ||
# Roi Plugin PV Prefix | ||
###################### | ||
$(P)$(R)RoiPluginPVPrefix |
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.