ICP Config
ICP config is a set of C functions that are called by every IOC on startup to define the macros used within the IOC. The code for this is here. Macros can come from the following:
Default macro values defined in the ioc’s config.xml
The current configuration
\Instrument\Settings\globals.txt- See here\Instrument\var\tmp\test_macros.txt- A file create by the IOC_test_framework to create macros for testing. Only used if the environment variablesTESTDEVSIM=yesorTESTRECSIM=yes.
Macros are loaded in the order above, such that default values are overwritten if any other source is presented, globals.txt will override macros in the configuration and test macros will override all others. See diagram below for an idea of how this works.
