The instructions below will assist you in installing a new driver for a VTS application. In this example, we use a GE 9030 SNP driver.
To install the GE 9030 SNP Driver you must:
1. Stop the application.
2. Copy the driver source code files into your application directory (e.g. C:\VTS\MyApplication\GESeries90Drv.src).
3. Declare the high-level driver in the Points section of your application's AppMod.src file (within your application directory) as follows:
[ (POINTS) {========= Modules that are point templates
===========}
GESeries90Driver Module
"GESeries90Drv.src" { GE series 90 };
]
Where GESeries90Driver is the module name, and GESeries90Drv.src is the name of the driver's source code file (which is stored in your application directory).
4. 4. Declare the Config and Common modules in the Plugins section of the Appmod.src file as follows:
[ (PLUGINS) {===== Modules added to other base system modules
=====}
GESeries90Config Module "GESeries90Cnf.src" {
Config };
GESeries90Common Module
"GESeries90Cmn.src" { Common };
]
Where GESeries90Config is the name of the module for the tag properties folder for the driver, and GESeries90Common is the name of the Common module that handles all common actions that are associated with the drawing methods for the driver tag (such as the shortcut menu that appears for all tag drawing methods when they are right-clicked). GESeries90Cnf.src is the name of the source code file where the code for the GESeries90Config module is stored, while GESeries90Cmn.src is the name of the source code file where the code for the GESeries90Common module is stored. Both these files must be located in your application directory.
5. Compile your application to ensure that no errors exist.
6. Now you may add a new driver tag (i.e. an instance of the new driver tag type) to your application. This can be done manually by adding a new record to the new table in Points.mdb, or using the tag properties folder (which is launched from the Tag Browser when you select the new driver tag type's reference in the Types drop-down list and then click the New button).