-
Notifications
You must be signed in to change notification settings - Fork 2
Configure Mini Inst
Wiki > Deployment > Deployment on an Instrument Control PC > Configure Mini Inst
To install a mini inst, you need to install the EPICS backend and add the following in the \NDXxxxxx\configurations\ area.
-
startup.txt: contains a list of the IOCs to start (use the IOC name as in the IOCs list) -
globals.txt: add macro values you want the IOCs instartup.txtto start up with. To do this, add a line per macro of the format<IOC_name>__<macro_name>=<macro_value>
You can start up the mini inst using the normal start_ibex_server and stop it with stop_ibex_server. It will look for the startup.txt and start up the mini inst instead of the full IBEX server if it exists.
If you update a configuration in globals.txt then don't forget to restart the IOC. This can be done either by running start_ibex_server but it is more efficient to console to the IOC and restart it using ctrl+x.
If you want to run an IOC in a mini-inst then:
- Add the device name to the "startup.txt" (
C:\Instrument\Settings\config\NDX<instrument>\configurations\startup.txt)- e.g. JSCO4180_01
- Then set macros in "globals.txt" (
C:\Instrument\Settings\config\NDX<instrument>\configurations\globals.txt)- e.g. JSCO4180_01__PORT=COM13
- Run
make iocstartupsin the epics terminal. This adds the device to the allowed running devices. - Start IBEX server as normal
start_ibex_server.bat - If you are running the IOC to allow a Vi in SECI to communicate then configure that vi (usually the pv prefix)
- e.g. Run
C:\LabVIEW Modules\Drivers\Jasco PU-4180 HPLC Pump\Jasco HPLC Pump - System.llb- Initialisation File change IOC Root toIN:CRISP:JSCO4180_01:
- e.g. Run
- Run the Vi
ENGIN-X will run a mini-inst for the instron stress rig that needs to use both ARINST and ARACCESS. These need to be added to startup.txt and MySQL needs to be installed and running on the machine.