Industrial Automation
Industrial Automation | Europe


Main > Product Type > Software > Visualisation
Minimize Text   Default    Enlarge Text


How To Offset And Duplicate Data In The New CX-Supervisor Data Log Viewer

CX-Supervisor V3 comes with a new Data Log Viewer. One of the new features this offers is the ability to offset data so you can move data on the X axis (Time) or on the Y axis (value) in order to compare with other data in the same view. In addition, to complement this feature, you can duplicate data already loaded or load in data from an entirely separate source file.
This article describes how to use these new offset and duplication features in the CX-Supervisor Data Log Viewer.
Loading Data

We must first start with some loaded data. In this example we have loaded data from an Access Database, this data contains 2 identical flights using the balloon demo separated by just under 10 minutes. You can load data by pressing the file menu and selecting Open for DLV, CSV or MDB files. You can also add additional data to that already loaded by selecting 'Add Items' or 'Add Items from File' when the data you wish to add is in a different file. There is more information on how to load different types of file in the online help for the DLV.

Offsetting Y Axis

With loaded data sometimes comparable values are too far from each other visually to compare them. The Y axis can be offset for any item loaded. Zooming into the above trace we can see that traces "Fuel" (in Red) and "Lift" (in Blue) are visually separate:

If we now offset the lift by 100 we can compare how this compares with the fuel at the point when the two values start to change:

Duplicating Data

It is possible to offset X or Y in any data loaded into the DLV.  However, this can be much more powerful when used in conjunction with the ability to duplicate data or add old data from an external file. Before looking at offsetting by X (Time) we'll first look at adding extra data and duplicating data that is already loaded.

If you have old data storted in a archive in a separate folder, you can add this to the DLV by selecting File-> Add Items From File. This allows you to select any DLV compatible file and choose items from it to add to the current view. This could be any data from any time, although it is likely that you will want the data to be related in some way. If the item you add has the same name as data already loaded, this will be handled by the DLV by appending a number to the name.

For the purpose of this tutorial we shall be using the ability to duplicate an existing trace. If the data you want is already loaded but you just want to duplicate it in order to compare older data on the same trace, you can right click the item in the Data Table and choose 'Add Trace Copy'.

Once duplicated the two traces will be on top of each other so only one will be visible.

Offsetting X Axis

Having now duplicated the altitude trace, we can now offset the original trace by 10.1 minutes. If we view the full plot, we can see how the green trace is offset into the future, but the first green flight is over the second yellow flight.

If we now zoom in on the area where the two flights overlap we can compare the data between the two flights, we can even add further trace copies and use the same offset so we can compare different aspects of the same flight. This can be used in conjunction with multiple cursors to further add useful, accurate value comparison.



Further information on using the Data Log Viewer and CX-Supervisor is available in the Online help and in the manuals installed with CX-Supervisor.

Comments (View All Comments / Add Comment)

Related Articles
No related articles found.
Created 2009-11-19
Modified 2010-03-11
Views 3528


You are not logged in.