Insert a string variable

Use the
String Variable
dialog box to enter a string variable in a text box. The string variable can be a tag name or placeholder that will change dynamically at runtime, or a literal string that will be shown as entered here.
There are instances where you may want to embed string data within another string. For example, you may be connected to a controller that provides alarm text messages or event messages through a tag or data item. You may want to trap that text message and save it in a FactoryTalk View alarm message, to retain a history of controller issues. To do this, embed the data item within the alarm message text generated when the alarm is triggered. When the alarm occurs, the variable string is saved with the alarm text.
TIP:
Embedded variables are case sensitive, and must be in the proper format and syntax to work. If you make a mistake, your variable will be treated as a piece of text. Therefore, do not attempt to edit embedded variables manually. Use the
Insert Variable
and
Edit variable
dialog boxes to avoid problems.
To insert a string variable
  1. In the
    Caption
    box in a graphic object’s
    Properties
    dialog box, or in the
    Message
    column of the
    Local Messages
    ,
    Information Messages
    , or
    Alarm Setup
    editor, click
    Insert Variable
    .
  2. Click
    String
    .
  3. Specify the options.
  4. Click
    OK
    .
    TIP:
    To edit a String variable
    1. Double-click the string variable in the text box, or right-click and select
      Edit Variable
      .
    2. In the
      String Variable
      dialog box, make the required changes and click
      OK
      .
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal