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.
Corrections to the st.cmd set-ups so that the IOC will run.
To test:
Via the console app, any of these should load, but unless the macros/global changes mentioned below have been made there should be no records beyond the standard ones
The easiest method if to alter your globals.txt, although any of these macros can be set via the configurations.
In the file C:\Instrument\Settings\config#######\globals.txt, where ####### is the server you are testing on, add the following as an example (if you have a PSU available use those settings) as part of the IOC specific macros:
GENESYS_01__PORT1=COM10
GENESYS_01__ADDR1=10
GENESYS_02__PORT1=COM11
GENESYS_02__ADDR1=10
GENESYS_02__PORT3=COM12
GENESYS_02__ADDR3=10
Starting the IOC GENESYS_01 will likely lead to a lot of errors, but should relate to PVs of the format:
PVPREFIX:GENESYS_01:1:*****
Starting the IOC GENESYS_02 will likely lead to a lot of errors, but should relate to PVs of the format:
PVPREFIX:GENESYS_02:1:*****
PVPREFIX:GENESYS_02:3:*****
Note that the update to the modules in support are likely to be needed before this can be tested, otherwise there may be other errors relating to missing values from the protocol file.