Rockwell Automation 8520-9API 9/Series OCI API Developer's Guide User Manual

Page 48

Advertising
background image

3–27

OCI Basic Display Set (BDS)

Publication 8520-6.6 - August 1999

Write to Error File Utility

This utility writes program errors, data linking errors, and data poke
errors to their respective files. When this utility is enabled it creates
the following files:

File Name:

Registers these type of errors:

ABVBPOKE.ERR

Data poking errors from the Basic Display Set source code

that uses the CNCPoke sub call. This file is referenced as

error file number 1 in source code.

ABVBPRGM.ERR

Linking errors from all CreateDataLinks routines and other

program errors encountered in the Basic Display Set. This file

is referenced as error file number 2 in source code.

The write to error file utility is only available when the source code
is loaded in the same directory as the Basic Display Set and the
variable WRITE2ERRORFILE is set to True. Set this variable by
one of these methods:

Manually change the variable in source code
(WRITE2ERRORFILE is found in Global.Bas InitGlobals)

Manually change the variable FINAL_EXE to False

Advertising