> 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/qtech/qtech-workbench/connect.md).

# Connect to a device

USB and the COM port, online and offline, the device type, and the Workbench window.

To configure a device connected to your PC, you will need to ensure the device is connected via USB and powered on. Click the **Connect** button. If the device is recognised the LED indicator on the top left of the window will glow green.

{% hint style="info" %}
**Applies to:** QTech Workbench v2.x with any supported device. Some devices need an extra step, such as a configuration mode button. Check your product's own Workbench page: see [QTech Workbench](https://help.qtech.co.nz/qtech/qtech-workbench.md).
{% endhint %}

## Online and offline

| Mode               | What you can do                                                                                                          |
| ------------------ | ------------------------------------------------------------------------------------------------------------------------ |
| **Offline** (red)  | Edit/create configuration files for later download to a device. Select the desired device from the **Device Type** menu. |
| **Online** (green) | Edit/create configuration files and/or configure the device directly.                                                    |

![The Online (green) and Offline (red) indicators](https://3621580088-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa5hMAUl7E1cWeN5Rghg0%2Fuploads%2FiYqkbsf5xqOWotjE6GzN%2Fworkbench-online-offline-indicator.png?alt=media)

## Connect

1. Ensure that the device driver is completely installed before attempting to connect to the RTU using Workbench. See [Install Workbench](https://help.qtech.co.nz/qtech/qtech-workbench/install.md).
2. Make sure that only one device is currently connected via USB.
3. Power on the device.
4. If your product's page says so, put the device in configuration mode. For example, on a WP2P, press and hold the Mode pushbutton switch on the device until the link LED starts flashing on and off about once per second to indicate that it is in configuration mode.
5. Click the **Connect** button at the top right of the window.
6. If the device is recognised the LED indicator on the top left of the window will glow green. The title at the top of the screen or the title at the top of the category tree will show the name of the device you are currently connected to.
7. If the Device configuration is not automatically loaded when the connection is made then the user can click the **Read from Device** button to retrieve the configuration from the device or use the **File Open** menu option to load a previously saved configuration for editing.

![Workbench online with an XL4 Plus RTU, showing its Overview category](https://3621580088-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa5hMAUl7E1cWeN5Rghg0%2Fuploads%2FwM0rS9i0mkiZA0RoiPEY%2Fworkbench-connected-overview.png?alt=media)

If the indicator stays red, see [Workbench can't find my device](https://help.qtech.co.nz/qtech/qtech-workbench/troubleshooting/cannot-find-device.md).

## Choose the device type

A device type can be selected either from the **Device Type** menu, for offline editing, or if physically connected via USB and powered can be automatically detected using the **Connect** button. For devices with an old version of firmware that cannot be auto detected when pressing the **Connect** button (e.g. QDR v1.x) you must first select the device type from the **Device Type** menu.

This menu is only available in Offline mode. Once the device type has been selected the user interface will only display the category tree appropriate for that particular device.

![The Device Type menu](https://3621580088-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa5hMAUl7E1cWeN5Rghg0%2Fuploads%2F53F1LyoLFKdVC0INK9A7%2Fworkbench-device-type-menu.png?alt=media)

Select Device type **DATRAN XL4 Plus RTU** when DATRAN XL4 RTU hardware has been upgraded from Q04 to Q04 Plus firmware, or the product is labelled as DATRAN XL4 Plus RTU hardware.

## The Workbench window

![The Workbench window offline, with the category tree on the left and the settings on the right](https://3621580088-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa5hMAUl7E1cWeN5Rghg0%2Fuploads%2FlMJlghESVLG1vNoR6I51%2Fworkbench-main-screen.png?alt=media)

| Part                                                  | What it does                                                                                                                                                                                             |
| ----------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Menus (top)                                           | Menus and controls for selecting a device or configuration file                                                                                                                                          |
| Indicator (top left)                                  | An LED at top left of the panel indicates editing mode is either Offline or Online i.e. the device is communicating with Workbench and may be configured directly.                                       |
| **Connect** (top right)                               | A button for initiating a connection to an attached device.                                                                                                                                              |
| Category tree (left)                                  | A tree of the parameter categories or tasks for the selected device. Expand the tree and select a category. Clicking on one of these loads the parameters into the right-hand side panel.                |
| Settings (right)                                      | The right panel is a 'form' area where the selected parameters are displayed and their values can be edited. At the bottom of this panel, you may be prompted with brief help on the selected parameter. |
| **Read from Device** and **Write to Device** (bottom) | The two buttons allow for the configuration to be downloaded (read from the device) or uploaded (written back to the device). These buttons are only enabled when a device is connected.                 |

{% hint style="warning" %}
Upload your changes to the connected device by pressing the **Write to Device** button in the bottom panel.
{% endhint %}

Some devices have restricted access to device parameters, especially radio devices, to ensure QTech compliance to regulatory requirements for radios. These parameters may only be changed by QTech and the user should contact QTech for further support.
