Using the print utilities – Rockwell Automation 8520-9API 9/Series OCI API Developer's Guide User Manual

Page 43

Advertising
background image

3–22

OCI Basic Display Set (BDS)

Publication 8520-6.6 - August 1999

The Basic Display Set provides a print utility to help you document
your application. This utility writes the requested data to a file for
printing or use in a spread sheet. The following items can be printed
to a file:

Error Messages – writes all error messages to an ASCII file.

Prompts – writes all screen prompts to an ASCII file.

Softkey Tree – writes all softkey text to an ASCII file.

Text – writes all miscellaneous screen text to an ASCII file.

PD_Ptr’s – writes all softkey pointers to an ASCII file.

SPD_Ptr’s – writes all screen pointers to an ASCII file.

Access the print utilities from the “File” menu in the Basic Display
Set. The “Print” option under the File menu is only available when
the source code is loaded in the same directory as the Basic Display
Set and the variable PRINTMenu is set to True. Set this variable by:

Manually change the variable in source code
(PRINTMenu is found in Global.Bas InitGlobals or in
SetupGlobalVarsforNEWCNC) or

Manually change the variable FINAL_EXE to False

When you select the desired print option the Basic Display Set
creates, or overwrites if the file already exists, a data file containing
the text, corresponding pointer number, and other relevant
information. File naming convention is as follows:

File Extension

Language

File Name

Error MSG

Prompts

Softkey

Tree

Text

SPD_Ptr's

English

English

.err

.pmp

.sft

.stx

.spd

German

Deutsch

French

Francais

Italian

Italian

Spanish

Espanol

Using the Print Utilities

Advertising