Procedures for adding  new motor controller support to motor record

  1. Select a supported controller that most closely matches the characteristics of the new controller.  If the new controller is simply a different model of a supported controller family (e.g. Oregon Micro Systems or Newport's Motion Master), then, of course, chose a model from the controller family that most closely matches the characteristics of the new controller.  Otherwise, select a supported controller based on other characteristics, such as; communication interface (i.e., VME, RS232, GPIB), controller features (e.g., encoder support, DC servo support, etc.), etc.  In what follows this will be called the source controller or source device driver.
  2. Chose an appropriate device name for the new controller.  Copy the relevant files from the selected source controller, to the new, destination, controller, giving the new files appropriate names using the new device name.  (See motor_files.html for a list of all motor record source code files.)
  3. Modify all the new files by cleaning up the obvious header information (e.g. filename, usage, etc.).  Delete the old Modification Log entries and add a single new entry that notes which source file you copied to start this file.
  4. Modify the new driver include file (e.g., drvOms.h, drvMMCom.h, drvIM483.h, etc.) first.
  5. Modify the device source code file (e.g., devOms.c, devMM4000.c, devIM483.c, etc.) next.
  6. Modify the driver source code file (e.g., drvOms.c, drvMM4000.c, drvIM483.c, etc.) next.