next up previous
Next: Create the application database Up: How to create EPICS Previous: Add the device support

Modify the application database definition file

Here's where you specify the link between the DSET names defined in the device support file and the DTYP fields in the application database. The AB300App/src/AB300Include.dbd file created by makeBaseApp.pl needs to be changed to include this information. I used "AB300Gpib" as the device type.

The driver support for serial line 'GPIB' devices must also be included in the application as shown.


include "base.dbd"

#
# Define the connection between the DTYP field name and the device DSET tables
#
device(longout, GPIB_IO, devAB300_lo, "AB300Gpib")
device(longin,  GPIB_IO, devAB300_li, "AB300Gpib")
device(ai,      GPIB_IO, devAB300_ai, "AB300Gpib")

#
# Pull in the driver support
#
include "drvTermiosTtyGpib.dbd"