> For the complete documentation index, see [llms.txt](https://help.qtech.co.nz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.qtech.co.nz/datran/datran-vi-scada/datranvue/install.md).

# Install, license and connect DATRANVue

Install DATRANVue Designer and Runtime, license users in the TCP Server, set up the TCP Server and operators, and connect Designer to DATRAN.

To set up DATRANVue, install Designer and Runtime, check your licences in DATRAN's TCP Server, give operators a DATRAN operator name and password, and connect Designer to DATRAN.

{% hint style="info" %}
**Applies to:** DATRANVue V3.x with DATRAN VI. The DATRAN VI server must be upgraded to v6.76 before upgrading DATRAN Vue to v3.18.
{% endhint %}

## Install

DATRAN Vue is provided to all software maintenance agreement (SMA) holders. Please log in to the Members section of the QTech website to download this software.

There are two installation programs one for the Designer and one for the Runtime. If you install the Designer it automatically installs Runtime on that machine.

1. Before installing it is recommended that you close all applications running on the target machine.
2. Navigate to the MainMenu folder and double click on `Autorun.exe`.
3. This is the Welcome screen. Click **Next**.
4. This is the Software License screen. Read through the license agreement and click on the **I Agree** radio button. Click **Next**.
5. This is the Select Destination Location screen. By default it is installed at `C:\Program Files\QTech\DATRANVue`. Click **Next**. On the Select Start Menu Folder screen, by default the DATRANVue icons are installed in a folder called DATRANVue. Click **Next**.
6. You have the option of creating a desktop icon for DATRANVue Designer. If you would like the installer to create one then ensure **Create a desktop icon** is checked.
7. On the Ready to Install screen, click **Install**. Once the installation is complete, click **Finish**.

No rebooting of the target machine is required after the installation. This release will upgrade any existing version of DATRANVue Designer and Runtime.

### Upgrading: Runtime first

It is recommended that you upgrade your operator's PCs and control rooms to the latest version of the Runtime before installing the new version of Designer on your network. The latest version of the Runtime is backward compatible. However, if you modify a form with the latest version of the Designer then that form will no longer work correctly on older versions of the Runtime.

## Licences

DATRANVue Runtime is licensed via the concurrent user licensing which is managed by DATRAN TCP Server. The State tab of the TCP Server node shows the license expiry date and the maximum number of DATRANVue viewer applications, DATRANVue Designer applications and DATRAN Supervisor applications connected to it at any one time.

To add users, purchase the required quantity from QTech, and you will be issued with a new license key. See [Add more Supervisor or DATRANVue users](https://help.qtech.co.nz/datran/datran-vi-scada/datran-supervisor/install.md#add-more-supervisor-or-datranvue-users). See [Too Many Connections](https://help.qtech.co.nz/datran/datran-vi-scada/datran-supervisor/troubleshooting/too-many-connections.md).

## Set up the TCP Server

In most cases there is no configuration of the TCP Server required. However, it is configurable if necessary.

| Setting                       | Default                                                                                                                                                                                                                                                | How to change it                                                                                                                                                                                                                                                                                                                                                     |
| ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Which nodes DATRANVue can see | All DATRAN nodes underneath the **Data Root** node, with these exceptions: **Data Root\System\Scripts** (it is not possible for DATRANVue to access scripts) and system node types (nodes pre/postfixed with the underscore character, e.g. `_Alarm_`) | In some cases you may wish to override the above and include some of the system node types. For example if you wanted to access a `ComsFail` node which is a subnode of a `_Comms_Object_`, add a node called **Include** underneath the properties of the TCP Server application. Items in the list of additional includes should be separated by carriage returns. |
| TCP port                      | 13001                                                                                                                                                                                                                                                  | Add a node called **TCP Port** under the TCP Server properties and set it to the port you require                                                                                                                                                                                                                                                                    |

The properties of the TCP Server application can be found underneath the node that contains the computer's name.

## Set up operators for control

At runtime DATRANVue will allow any user to view the screen you have designed. However, only users with a specified user name and password will be allowed to perform an action that will change the DATRAN VI database. For example, you may have a button that toggles a digital point. When the user clicks on this button they will be prompted for a user name and password. This is then validated by the DATRAN VI and the TCP Server before the digital point is actually toggled. The user names and passwords are stored underneath the **Operators** node in DATRAN.

The password can be hidden by selecting the **password** node and then clicking on the padlock icon from the DATRAN tool bar. Note, there is no way to get this password back so if the user forgets this password then they will have to be assigned a new one. See [Security, operators and access](https://help.qtech.co.nz/datran/datran-vi-scada/datran-vi/security.md).

## Connect Designer to DATRAN

1. Select the **Datran Link Setup** item from the **Tools** menu.
2. Enter the computer name or IP address of the machine running DATRAN VI.
3. The **TCP Port** needs to match your TCP Server configuration. If you haven't changed this configuration then the default value is 13001.
4. Finally click on the **Connect** button. This may take several seconds whilst all of the exposed DATRAN nodes are retrieved. A progress bar will be displayed giving you an indication of current status.

Once the nodes have been cached they will be displayed to you in the tree view such that you can see that they are all available. See [Design screens in DATRANVue Designer](https://help.qtech.co.nz/datran/datran-vi-scada/datranvue/design-screens.md).
