-
Notifications
You must be signed in to change notification settings - Fork 2
Running IOCs
John Holt edited this page Jun 1, 2016
·
18 revisions
Wiki > The Backend System > IOCs > Running IOCs
Either:
- start the IOC through the GUI
- start the IOC through the console (ctrl + x)
- start the IOC by running
runIOC.bat st.cmd
(iniocBoot/Appdir
)
Open an epics terminal a list all running instruments with
console -M localhost -x
To interact with an IOC use
console -M localhost <IOC_NAME>
console will attempt to complete the name if you only give part of it and will give you possible options. Once in the console:
-
ctrl-x
: starts and stops the IOC -
crtl-e
c
.
: exits the console
TO switch an IOC to simulation mode the default is
caput <IOC PV NAME>:SIM 1
It is possible to set macros for an IOC either through the IBEX GUI or using the globals.txt file.
The globals.txt is file is held in C:\Instrument\Settings\config\NDW1407\configurations
in here you set macros global macros are set with <macro name>=<value>
macros specific for an IOC are set with <ioc name>__<macro name>=<value>
e.g.
SIMULATE=1
GALILNUMCRATES=6
GALIL_01__GALILADDR01=None
GALIL_02__GALILADDR02=None
GALIL_03__GALILADDR03=None