-
Notifications
You must be signed in to change notification settings - Fork 2
IOC Generator
Generates the boilerplate structure required for developing an IBEX IOC.
Use these instructions.
Clone the repository into C:\Instrument\Dev. The program starts in IBEX_device_generator.py, so start there. generate_device calls create_component for each component you might want, passing in an instance method. These instance methods are grouped into classes:
- support_utils (generic IOC config)
- ioc_utils (ISIS specific IOC config)
- ioc_test_framework_utils (testing)
- emulator_utils (emulation)
- gui_utils (opi template creation)
Creates the top level directory in C:\Instrument\Apps\EPICS\support, adds a makefile and tries to create a new git repo.
Requires the directories made by create_submodule. This will call a Perl script which generates the .db and .proto files for the support module. The Perl script is C:\Instrument\Apps\EPICS\support\asyn\master\bin\windows-x64\makeSupport.pl. The Perl script uses the templates in C:\Instrument\Apps\EPICS\support\asyn\master\templates\streamSCPI_NAME_Sup.