> 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/datran-trending/troubleshooting/pen-shows-no-data.md).

# A pen shows no data or the wrong values

One pen shows nothing, or shows analogue data as on/off steps. Check the pen, the time range and how the point is set up in DATRAN.

There are many reasons that a pen does not display any data. If every pen has stopped, see [A plot shows no new data](https://help.qtech.co.nz/datran/datran-vi-scada/datran-trending/troubleshooting/no-new-data.md).

{% hint style="info" %}
**Applies to:** DATRAN Trending V5.x.
{% endhint %}

## A pen shows no data

| What you see                           | Cause                                                                                   | Fix                                                                                                                                                                                                                                                                                                                                                                                                                |
| -------------------------------------- | --------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| The whole legend panel is grey         | If the pen is inactive the whole legend area for that pen is grey.                      | Right click on one of the legend panels and select **Properties**. Tick the **Active** check box and select a point.                                                                                                                                                                                                                                                                                               |
| The point name is greyed out           | If a pen is active but disabled the name of the point is greyed out.                    | You can set a pen to enabled by using the legend menu or by using the show command in the Pen Properties or Select Pen Points dialogue.                                                                                                                                                                                                                                                                            |
| "NO DATA" in the legend                | No values are found for the data load amount specified.                                 | Scroll around the plot using the scroll screen left or right scroll buttons in the navigation control bar, or use the zoom out button (or Ctrl + Left click on the graph) to see the entire plots data span a year and see if the pen has any data in it at all. Choosing any of the other **Data Load Amount** settings (**Options > General Settings**) will give you that amount of data going back from today. |
| A flat line, or nothing in this period | A change of value has not occurred or there is no data stored for this period.          | Use the navigation tool bar to scroll to other areas of the actual logged data. Digital points cannot be logged at intervals in a Qtech RTU, they are only logged when they change state.                                                                                                                                                                                                                          |
| A new point isn't in the list          | A point has just been created in the DATRAN database after DATRAN Trending was started. | Use the **Refresh** button in the **Select Point** window.                                                                                                                                                                                                                                                                                                                                                         |

## The values look wrong

* **An analogue point shows as a digital (on/off) pen.** The database may not have been correctly set up for every pen and thus the pen type has not been setup yet. This usually results in analogue pens being plotted as digital (alarm or event) pens. If this occurs please contact QTech Data Systems Ltd to fix the DATRAN configuration.
* **The pen is clipped or flat at the top or bottom.** Analogue pens have a Min to Max range. Use the legend pop up menu (right click on the legend box of the current pen) and select **Change Range**. It will redraw the entire pen and ignore any values that lie outside this range. To reset the values back to the DATRAN defaults, click on the **Reset** button. Tick the 'Auto scale' check box if you would like DATRAN Trending to automatically determine the best range for you. To permanently change the Min and Max values you will need to use DATRAN Browser.
* **The value at the time cursor isn't what you expect.** The time cursor displays the values of the closest logged data for each of the active and enabled analogue pens using the straight-line style. For analogue pens using the step-line style and digital pens, the latest value before the time value of the time line is displayed. For analogue pens on straight line style: this calculates the interpolated value using the points on either side of where the Time Cursor crosses the pen data line. For analogue pens on step-line style: this finds the closest actual plotted data to the left of where the Time Cursor line crosses the pen data line. See [Read a value](https://help.qtech.co.nz/datran/datran-vi-scada/datran-trending/navigate.md#read-a-value).
* **A point's data is split between two pens, or has gaps.** You may end up with apparent gaps in your data when in actuality all the data is there, it's just split across different point ids. See [A point's data is split or has gaps](https://help.qtech.co.nz/datran/datran-vi-scada/datran-vi/troubleshooting/split-or-missing-data.md).

## Still not working? Contact QTech

Email <techsupport@qtech.co.nz> with the point's name, its point ID (shown in Pen Properties), and the time range.
