Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Engineering

Compare and update data in TTY mode

  • Last UpdatedDec 15, 2025
  • 3 minute read

TTY mode enables you to perform certain operations outside the graphical user interface (GUI). TTY mode is faster than GUI mode and is generally used for bulk operations.

Prerequisites for using Compare and Update in TTY mode:

Before you use the Compare and Update feature in TTY mode, complete the following setup steps:

  • Create the required configurations for Dabacon or Non-Dabacon data sources in GUI mode. For instructions, see Manage Configurations and Groups.

  • For Non-Dabacon data sources, create a User Defined Attribute (UDA) in the AVEVA Administration Lexicon module. If a UDA is not defined, an error message prompts you to create one.

    Note: The steps to enter TTY mode may differ depending on the installed version of AVEVA Engineering.

Enter TTY mode

Use the following procedures to enter TTY mode for AVEVA Unified Engineering and AVEVA Engineering.

Steps to enter AVEVA Unified Engineering TTY mode

  1. Open the command prompt.

  2. Run the following command:

    ue --module:Engineering --Project:APS --Username:SYSTEM --Password:XXXXXX --mdb:ALL -tty

Steps to enter AVEVA Engineering TTY mode (applicable for 15 series)

  1. Open the command prompt.

  2. Run the following command:

    engineering.bat TTY APS SYSTEM/XXXXXX/ALL

  3. Enter tags.

    Note: Replace APS with the required project name to enter TTY mode for that specific project.

    Examples

    Example 1—Use the commands in this table to compare and update data from a Schematic source (Dabacon source).

    Command

    Description

    !c=object compareUpdate()

    Initializes the compareUpdate object.

    !c.selectSchematic()

    Lists available configurations for the source.

    !c.compare('ConfigurationName')

    Returns the comparison summary.

    !c.acceptAllDisplayed()

    Selects all elements.

    !c.update(true, true, true, true, false)

    Updates the database.

    Savework

    Saves the work to the Dabacon database.

    Example 2—Use the commands in this table to compare and update data from a P&ID source (Non-Dabacon source).

    Command

    Description

    !c=object compareUpdate()

    Initializes the compareUpdate object.

    !c.selectPID()

    Lists available configurations for the source.

    !c.compare('ConfigurationName', 'DataSource name')

    Returns the comparison summary.

    !c.acceptAllDisplayed()

    Selects all elements.

    !c.update(true, true, true, true, false)

    Updates the database.

    Savework

    Saves the work to the Dabacon database.

    Example 3—Use the commands in this table to compare and update data from an ERM source.

    (This feature is available in AVEVA Engineering version 15.7.3.1 and later).

    Command

    Description

    !c=object compareUpdate()

    Initializes the compareUpdate object.

    !c.selectERM()

    Lists available configurations for the source.

    !c.compare('ConfigurationName', 'DataSource name')

    Returns the comparison summary.

    !c.acceptAllDisplayed()

    Selects all elements.

    !c.update (true, true, true, true, false)

    Updates the database.

    Savework

    Saves the work to the Dabacon database.

    Example 4—Use the commands in this table to compare and update data from any source (Dabacon, Non-Dabacon, or ERM source) to AVEVA Engineering.

    (From AVEVA Unified Engineering 4.0.0.0 onwards, TTY mode can use NAM, generate names based on naming rules, and reclassify tags).

    Command

    Description

    !c=object compareUpdate()

    Initializes the compareUpdate object.

    !c.selectSchematic()

    Lists available configurations for the source.

    !c.compare('ConfigurationName')

    Returns the comparison summary.

    !c.acceptAllDisplayed()

    Selects all elements.

    !c.update(true, true, true, true, false)

    Updates the database.

    !c.update(true, true, true, true, false, true, true)

    Updates the database, preserves tag names, and reclassifies tags.

    Savework

    Saves the work to the Dabacon database.

    CompareUpdate Switch Parameters

    Old Method

    !c.update(true, true, true, true, false)

    Switch

    Function

    true

    Link inserted elements.

    true

    Link matched elements.

    true

    Update attributes for linked inserted elements.

    true

    Update attributes for linked matched elements.

    false

    Unlink selected elements.

    New Method (Available from version 4.0.0.0)

    !c.update(true, true, true, true, false, true, true)

    Switch

    Function

    preserveName: true or false

    If false, tag names are generated using naming rules if defined.

    reclassifyTag: true or false

    If true, eligible tags are reclassified after update.

    Note: If the old method is used, preserveName defaults to true and reclassifyTag defaults to false.

    Enter TTY mode for Spectrum project

    Prerequisites

    Ensure you have the subscription ID for the spectrum project. You can find it on the CONNECT page.

    Steps to enter TTY mode

    1. Open the command prompt.

    2. Run the following command:

      Mon.exe

    3. Enter the following project credentials:

      1. Project ID:

        proj|cc473fa4-f4b3-462f-82ee-a54573ea8e1f|

        Note: Paste the subscription ID you copied earlier from the CONNECT page.

      2. Username and Password:

        USER SYSTEM/XXXXXX

    4. Enter the MDB name:

      /UDE-ENG

    5. Enter tags.

      In This Topic
      TitleResults for “How to create a CRG?”Also Available in