Using the text find utility – Rockwell Automation 8520-9API 9/Series OCI API Developer's Guide User Manual

Page 41

Advertising
background image

3–20

OCI Basic Display Set (BDS)

Publication 8520-6.6 - August 1999

To improve flexibility of our source code, screen text and prompts
are not directly entered on any screens. Instead they are entered in
different language text files and each screen calls the required piece
of text from the appropriate file by a pointer when needed.
Unfortunately this can make it difficult to identify exactly what text
is to be displayed on what screen when writing code since only a file
pointer is available on the screen.

The Basic Display Set source code has a search utility which allows
you to change text or prompts on any of the standard 9/Series screens
as well as identify the text pointer numbers.

Important: These search utilities do not apply to text found on the

9/Series or 9/PC editor, any ODS screens including the
PAL search monitor screens. These screens can not be
edited and are not part of the Basic Display Set source
code.

Access the search utilities from the “Setup” menu in the Basic
Display Set. The “Setup” menu is only available when the source
code is loaded in the same directory as the Basic Display Set and the
variable SETUPMenu is set to True. Set this variable by:

Manually change the variable in source code
(found in Global.Bas InitGlobals) or in
SetupGlobalVarsforNewCNC) or

Manually change the variable FINAL_EXE to False

You can search for either prompts or text:

Prompt Search – If you select “Prompt” search from the setup menu
you will be searching for prompts (such as MDI: or CHANGE
VALUE:). Prompts are text strings used to request an operator input
of some type.

Text Search – If you select “Text” search from the setup menu you
will be searching for text used to build the standard screens (such as
ACTIVE PROGRAM or MEMORY).

After you have selected your search type the softkeys are removed
from the screen and replaced with the following search dialog:

Using the Text Find Utility

Using the Text Find Utility

Advertising