Skip to content
Dominic Oram edited this page Feb 2, 2018 · 134 revisions

Wiki > The Backend System > Creating and Basics of IOCs

Creating an IOC

Building a new IOC? Before you get started, take a look at the relevant instrument page to see if there's any useful information for the device you're about to write an IOC for. Otherwise, let's get going. If you have problems see See IOC and device Troubleshooting.

Automatically

If you're building a new StreamDevice IOC you can use the script here.

Manually

If you're not creating a StreamDevice IOC or you you would like to know how an IOC could be created manually see:

Fleshing out the IOC

  1. You can now flesh out your IOC to work. I would encourage you to do this in a TDD style (if not write the tests afterwards) and make sure you follow the conventions. Use:

  2. IOC Finishing Touches

  3. Record simulation

  4. Disable records

  5. Running (and testing) IOC

  6. Add logging

  7. Add any manuals used to the manuals dir and list

Conventions

Other

Specific IOC Information

For information on specific IOCs see Specific Device IOC

Further reading

Clone this wiki locally