Skip to content
Dominic Oram edited this page Oct 26, 2020 · 1 revision

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:

  • 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 variables TESTDEVSIM=yes or TESTRECSIM=yes.

Macros are loaded in the order above, such that 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.

Clone this wiki locally