Steps to Write a Communication Driver

  1. Gather the details of the hardware protocol.
  2. Create a new source file using a text editor (such as UltraEdit). Ensure that this source file is named logically, and is given the extension ".SRC" (e.g. "MyDriver.SRC"). Save this source file within your application's folder.
  3. Structure your source file according to the rules for a tag template.
  4. Referring to the topic, Mandatory Communication Driver Components, add the modules and variables required for a driver. The code you write in the mandatory modules will depend on the driver protocol.
  5. According to the details of the driver protocol and your interest in logging statistics, add Optional Communication Driver Components.