beautypg.com

Inserting embedded variables, Inserting embedded variables – 2 – Rockwell Automation FactoryTalk View Site Edition Users Guide User Manual

Page 570

background image

F

ACTORY

T

ALK

V

IEW

S

ITE

E

DITION

U

SER

S

G

UIDE

21–2

• •

Inserting embedded variables

You can insert one or more embedded variables in the:

Captions you create for graphic objects.

For objects with multiple states, you can insert different embedded variables in each
state’s caption. For information about creating specific graphic objects, see Chapter
17, Creating graphic objects.

Local messages you create in the Local Messages editor. For information about
creating local messages, see page 17-36.

Tooltips you create for graphic objects. For information about creating tooltips, see
page 16-24, or see the FactoryTalk View Site Edition Help.

Title bar text you create for graphic displays. For information about setting up display
titles, see page 16-41.

To insert an embedded variable in the caption of a graphic object

1. Open the graphic object’s Properties dialog box.

2. Click the tab containing the Caption box (the General, Up Appearance, Label, or

States tab, depending on the type of object).

3. Click the Insert Variable button beneath the Caption box, or right-click the Caption

box, and then select Insert Variable.

4. Click the type of variable you want to insert (Numeric, String, or Time/Date).

5. Fill in the options in the dialog box that opens. For details, click Help.

To insert an embedded variable in a local message

1. Open the Local Messages editor

2. Right-click the Message column, and then select Edit String.

3. Click the Insert Variable button beneath the String Edit box, or right-click the

String Edit box, and then select Insert Variable.

4. Click the type of variable you want to insert (Numeric, String, or Time/Date).

5. Fill in the options in the dialog box that opens. For details, click Help.

Embedded variables are case sensitive and must use specific syntax to work. Otherwise, the
entire embedded variable is treated as a string of text.

To avoid this when inserting embedded variables, use the Numeric Variable, String Variable, and
Time and Date Variable dialog boxes, instead of typing the variables manually. For more
information about embedded variable syntax, see subsequent sections in this chapter.