> 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/common-questions.md).

# Common questions

Quick answers to common questions about DATRAN Trending.

Quick answers to the questions we get most about DATRAN Trending. Each links to the full answer.

## Before you buy or install

[**Can more than one person use Trending at once?**](https://help.qtech.co.nz/datran/datran-vi-scada/datran-trending.md)\
Yes. Multiple user licenses are available as required. The licensing is tied to the machine it is installed on. Plots are stored in the DATRAN database. Check the Private box if a new plot is only to be accessible by you.

[**How do I install Trending on a new PC?**](https://help.qtech.co.nz/datran/datran-vi-scada/datran-trending/install.md)\
The installation must be performed by someone with administrative (domain) privileges. The first time DATRAN Trending is run, you will need to enter the information required so that DATRAN Trending can connect to the SQL Server that contains the DATRAN Database. We need the PC name and the HDD serial number: if DATRAN Trending is installed, go to **Help > Enter License** to see the serial number.

[**Can I move my Trending licence to a new PC?**](https://help.qtech.co.nz/datran/datran-vi-scada/datran-trending/install.md#enter-the-licence-key)\
Yes. The licensing is tied to the machine it is installed on. Before purchasing an extra license for Trending, or indeed transferring it to a new PC, we need the PC name and the HDD serial number.

## Using it

[**How many points can I show on one plot?**](https://help.qtech.co.nz/datran/datran-vi-scada/datran-trending/pens.md)\
There are eight pens on a plot. A pen holds one point from the database which displays the information in a line format on the graph.

[**How do I get data into Excel?**](https://help.qtech.co.nz/datran/datran-vi-scada/datran-trending/export.md#export-to-a-csv-file)\
From the File menu select **Export Plot as CSV**. A CSV export with a sample rate displays all active pens in separate columns, with a single timestamp for ease of processing in spreadsheet/Excel etc.

[**Why does my CSV export start at a different value from the one I expected?**](https://help.qtech.co.nz/datran/datran-vi-scada/datran-trending/export.md#raw-data-or-a-sample-rate)\
With a sample rate, the first date stamp on the CSV export will be the start time set in the plot. If the data is not logged at that time, then interpolation will happen. In a CSV export of raw data, the first value is the first level logged after the start time.

[**How do I work out an average or total between two times?**](https://help.qtech.co.nz/datran/datran-vi-scada/datran-trending/navigate.md#compare-two-times)\
Adding a second cursor will allow you to perform common statistical analysis of the data between the two cursors. Place a second time cursor to find out data summaries between the two time cursors, such as Analogue average value or Analogue total value.

[**How do I mark a calibration or event on a trend?**](https://help.qtech.co.nz/datran/datran-vi-scada/datran-trending/navigate.md#add-a-note-to-a-plot)\
Add a note to a plot to outline key events, such as instrument calibration. To add a plot note to a plot, right click on the graph area and select **Add Note** from the pop up menu.

[**Can I open an old archived database?**](https://help.qtech.co.nz/datran/datran-vi-scada/datran-trending/plots.md#open-an-archived-database)\
Yes. To connect to an archived database use the Set Database menu or the Switch Database menu in the main Database menu. It is important to ensure that this database uses the correct table structure to show plots.

## When something's wrong

[**Why does Trending say my database isn't a valid DATRAN database?**](https://help.qtech.co.nz/datran/datran-vi-scada/datran-trending/troubleshooting/not-a-valid-database.md)\
Double check that you can sign into the database using the account info via SQL management studio and keep testing the connection in Trending till it works. Make sure that the SQL login is not a Viewer role, it must be at least a User role. Manually re-enter the license key. Check your spelling especially the name of the SQL server and database name.

[**Why does Trending keep asking for the licence key?**](https://help.qtech.co.nz/datran/datran-vi-scada/datran-trending/troubleshooting/licence-will-not-stick.md)\
The license is saved into the computer registry when you close DATRAN Trending. Local machine admin rights are needed as you will make a registry change. Right click "Run as Administrator" on Trending when attempting to install license. V5.04 and V5.05 licensing: the license key didn't stick unless the application was running as administrator.

[**Why has my trend stopped updating?**](https://help.qtech.co.nz/datran/datran-vi-scada/datran-trending/troubleshooting/no-new-data.md)\
If you are trying to view what is happening currently use the **Update plot from DATRAN database** button to view the newly logged data. If no data is displayed in the DATRAN Trending interface (or DATRAN Supervisor Trend), it may be necessary to restart the SQL Server.

[**Something else?**](https://help.qtech.co.nz/datran/datran-vi-scada/datran-trending/troubleshooting.md)\
See Troubleshooting, organised by what you're seeing.
