Ticket_8284_Allow_certain_values_to_be_editable_without_restarting_IOC #843
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.
Description of work
Added a MACRO for the McLennan IOC that allows a user to be able to set the ASG group of the MOTOR record. The ASG group controls what ASLs (either 1 or 0) are allowed to do I.E (1, read) allows pvs with ASL 1 to be read etc. This concept was used here to allow user to set the JVEL, HLM and LLM without having to change them in the IOC macro screen and thus have to restart the IOC. If they set the MOTOR_ASG to DEFAULT and then start/restart the IOC it means the access control is set to read & write.
To test
C:\Instrument\Apps\EPICS\support\IocTestFramework\master>run_all_tests.bat -t mclennan -a
. Remember to let tests run through beforectrl-c
otherwise you have to find the procserve process in task manager details and end that before you can start up the IOC againAcceptance criteria
Code Review
Functional Tests
..._0n
wheren>1
) run correctlymacLib: macro
to find instances ofmacLib: macro [macro name] is undefined...
Final steps