-
Notifications
You must be signed in to change notification settings - Fork 2
Add load and save plans for spectroscopy detector #19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 @@ | ||
| x.acceleration_time: 0.001 | ||
| x.high_limit_travel: 14.5 | ||
| x.low_limit_travel: -14.5 | ||
| x.offset: 0.0 | ||
| x.offset_freeze_switch: Variable | ||
| x.set_use_switch: Use | ||
| x.user_setpoint: 5.00004 | ||
| x.velocity: 100.0 | ||
| y.acceleration_time: 0.001 | ||
| y.high_limit_travel: 14.5 | ||
| y.low_limit_travel: -14.5 | ||
| y.offset: 0.0 | ||
| y.offset_freeze_switch: Variable | ||
| y.set_use_switch: Use | ||
| y.user_setpoint: 4.99999 | ||
| y.velocity: 100.0 | ||
| z.acceleration_time: 0.5 | ||
| z.high_limit_travel: 14.5 | ||
| z.low_limit_travel: -14.5 | ||
| z.offset: 0.0 | ||
| z.offset_freeze_switch: Variable | ||
| z.set_use_switch: Use | ||
| z.user_setpoint: 7.000030000000001 | ||
| z.velocity: 50.0 |
This file contains hidden or 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,71 @@ | ||
| driver.acquire: false | ||
| driver.acquire_period: 0.021815 | ||
| driver.acquire_time: 0.10000 | ||
| driver.array_counter: 3 | ||
| driver.image_mode: Multiple | ||
| driver.nd_attributes_file: '' | ||
| driver.num_images: 1 | ||
| driver.trigger_mode: 'Off' | ||
| driver.trigger_source: Freerun | ||
| driver.wait_for_plugins: false | ||
| fileio.acquire: false | ||
| fileio.array_counter: 3 | ||
| fileio.auto_increment: true | ||
| fileio.capture: false | ||
| fileio.chunk_size_auto: true | ||
| fileio.compression: None | ||
| fileio.create_directory: 0 | ||
| fileio.enable_callbacks: Enable | ||
| fileio.file_name: 5073260b-9688-4283-84d1-204955e423aa | ||
| fileio.file_number: 1 | ||
| fileio.file_path: /tmp/ | ||
| fileio.file_template: '%s%s.h5' | ||
| fileio.file_write_mode: Stream | ||
| fileio.flush_now: false | ||
| fileio.lazy_open: true | ||
| fileio.nd_array_address: 0 | ||
| fileio.nd_array_port: D2.roistat | ||
| fileio.nd_attributes_file: '' | ||
| fileio.num_capture: 0 | ||
| fileio.num_extra_dims: 0 | ||
| fileio.num_frames_chunks: 1 | ||
| fileio.position_mode: false | ||
| fileio.queue_size: 2 | ||
| fileio.swmr_mode: true | ||
| fileio.wait_for_plugins: false | ||
| fileio.xml_file_name: '' | ||
| roistat.acquire: false | ||
| roistat.array_counter: 3 | ||
| roistat.channels.1.min_x: 95 | ||
| roistat.channels.1.min_y: 610 | ||
| roistat.channels.1.name_: Red | ||
| roistat.channels.1.size_x: 150 | ||
| roistat.channels.1.size_y: 150 | ||
| roistat.channels.1.use: true | ||
| roistat.channels.2.min_x: 880 | ||
| roistat.channels.2.min_y: 605 | ||
| roistat.channels.2.name_: Green | ||
| roistat.channels.2.size_x: 150 | ||
| roistat.channels.2.size_y: 150 | ||
| roistat.channels.2.use: true | ||
| roistat.channels.3.min_x: 1665 | ||
| roistat.channels.3.min_y: 600 | ||
| roistat.channels.3.name_: Blue | ||
| roistat.channels.3.size_x: 150 | ||
| roistat.channels.3.size_y: 150 | ||
| roistat.channels.3.use: true | ||
| roistat.enable_callbacks: Enable | ||
| roistat.nd_array_address: 0 | ||
| roistat.nd_array_port: D2.CAM | ||
| roistat.nd_attributes_file: <Attributes><Attribute name="<ophyd_async.core._signal.SignalRW | ||
| object at 0x7ff2db389990>Total" type="EPICS_PV" source="BL01C-DI-DCAM-02:ROISTAT:1:Total_RBV" | ||
| dbrtype="DBR_LONG" description="Sum of <ophyd_async.core._signal.SignalRW object | ||
| at 0x7ff2db389990> channel" /><Attribute name="<ophyd_async.core._signal.SignalRW | ||
| object at 0x7ff2db38bb10>Total" type="EPICS_PV" source="BL01C-DI-DCAM-02:ROISTAT:2:Total_RBV" | ||
| dbrtype="DBR_LONG" description="Sum of <ophyd_async.core._signal.SignalRW object | ||
| at 0x7ff2db38bb10> channel" /><Attribute name="<ophyd_async.core._signal.SignalRW | ||
| object at 0x7ff2db39d3d0>Total" type="EPICS_PV" source="BL01C-DI-DCAM-02:ROISTAT:3:Total_RBV" | ||
| dbrtype="DBR_LONG" description="Sum of <ophyd_async.core._signal.SignalRW object | ||
| at 0x7ff2db39d3d0> channel" /></Attributes> | ||
| roistat.queue_size: 2 | ||
| roistat.wait_for_plugins: false |
This file contains hidden or 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 hidden or 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,62 @@ | ||
| driver.acquire: false | ||
| driver.acquire_period: 1.0 | ||
| driver.acquire_time: 0.5 | ||
| driver.array_counter: 5 | ||
| driver.image_mode: Single | ||
| driver.nd_attributes_file: "" | ||
| driver.num_images: 2 | ||
| driver.trigger_mode: "On" | ||
| driver.trigger_source: Line1 | ||
| driver.wait_for_plugins: false | ||
| fileio.acquire: false | ||
| fileio.array_counter: 0 | ||
| fileio.auto_increment: false | ||
| fileio.capture: false | ||
| fileio.chunk_size_auto: false | ||
| fileio.compression: None | ||
| fileio.create_directory: 0 | ||
| fileio.enable_callbacks: Enable | ||
| fileio.file_name: "" | ||
| fileio.file_number: 0 | ||
| fileio.file_path: "" | ||
| fileio.file_template: "" | ||
| fileio.file_write_mode: Single | ||
| fileio.flush_now: false | ||
| fileio.lazy_open: false | ||
| fileio.nd_array_address: 0 | ||
| fileio.nd_array_port: "" | ||
| fileio.nd_attributes_file: "" | ||
| fileio.num_capture: 0 | ||
| fileio.num_extra_dims: 0 | ||
| fileio.num_frames_chunks: 0 | ||
| fileio.position_mode: false | ||
| fileio.queue_size: 0 | ||
| fileio.swmr_mode: false | ||
| fileio.wait_for_plugins: false | ||
| fileio.xml_file_name: "" | ||
| roistat.acquire: false | ||
| roistat.array_counter: 3 | ||
| roistat.channels.1.min_x: 95 | ||
| roistat.channels.1.min_y: 610 | ||
| roistat.channels.1.name_: Red | ||
| roistat.channels.1.size_x: 150 | ||
| roistat.channels.1.size_y: 150 | ||
| roistat.channels.1.use: true | ||
| roistat.channels.2.min_x: 880 | ||
| roistat.channels.2.min_y: 605 | ||
| roistat.channels.2.name_: Green | ||
| roistat.channels.2.size_x: 150 | ||
| roistat.channels.2.size_y: 150 | ||
| roistat.channels.2.use: true | ||
| roistat.channels.3.min_x: 1665 | ||
| roistat.channels.3.min_y: 600 | ||
| roistat.channels.3.name_: Blue | ||
| roistat.channels.3.size_x: 150 | ||
| roistat.channels.3.size_y: 150 | ||
| roistat.channels.3.use: true | ||
| roistat.enable_callbacks: Enable | ||
| roistat.nd_array_address: 0 | ||
| roistat.nd_array_port: "" | ||
| roistat.nd_attributes_file: "" | ||
| roistat.queue_size: 0 | ||
| roistat.wait_for_plugins: false |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm still not thrilled about letting the user configure this, makes it harder for us to swap it out for a database in the future. I won't block merge over it though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added it back in to allow the settings for testing to be saved in the testing directory. I'm sure there's a better way to do it but I'm not sure what that way is