7.2.1.4 File includes

ATTENTION: File including does not work when a device driver file gets interpreted by the client software, e.g. when a device preset shall be formatted along the device driver's parameter definitions. Variables defined in included files get not properly formatted in the device preset window. For this reason it is recommended to use INCLUDE only for the standard includes as described in the example below!

Device driver definition files may include other files. Frequently needed definitions may be encapsulated in included files which makes it easy to change these definitions at a central point. The syntax of the INCLUDE statement is:

include-statement.gif

The file name given in the INCLUDE statement is relative to the MNC software's home directory. With the sat-nms Software, there are two standard include files. Almost any driver provided by SatService GmbH includes one of these files. The files are named Standard.inc and StandardBin.inc respectively. They define the so called low level interface to the device and the fault flags which indicate a communication failure for the device.

Example

    INCLUDE   "drivers/Standard.dotinc"

This includes the standard sat-nms include file for driver which use a text based communication protocol. The file is located in the drivers subdirectory which is one level below the MNC software's home directory.