next up previous
Next: Build the application Up: How to create EPICS Previous: Add the database file

Modify the application startup script

The iocBoot/iocAB300/st.cmd application startup script created by the makeBaseApp.pl script needs a few changes to get the application working properly.

  1. Ensure that the application database records are loaded. Remove the # and give a reasonable value to the 'user' macro:
    dbLoadRecords("../../db/AB300.db","user=AB300")
    

  2. Add a line to control the debugging level of the serial line 'GPIB' driver. A level of 2 prints out every byte sent to or received from the serial line and is very useful during initial debugging.
    var drvTermiosTtyGpibDebug 2
    

  3. Set up the 'link' between the IOC and the filter wheel.

    In all of the above examples the first argument of the drvTermiosTtyGpibConfigure command is the link number and must match the L value in the EPICS database record INP and OUT fields.


next up previous
Next: Build the application Up: How to create EPICS Previous: Add the database file