Topic: DMD0293 Using the Trend View |
|
Once a Trend View has been created and it's display options have been configured, the Trend will begin collecting data for each of the controller elements on each of the panes and displaying that data in graphical form in the Trend View's moving graph. Refer to the Trend View below for some things to be aware of when using Trend Views:
Discrete points, integer values and floating point (Real) values are placed in separate panes.
Variables are graphed using solid horizontal lines.
Constants are graphed using dotted horizontal lines.
Red vertical lines indicate a loss of communication.
Blue vertical lines indicate communication is established.
|
|
The Crosshair Cursor
The crosshair cursor is displayed anytime the mouse cursor moves over any of the panes in a Trend View. If there are multiple Panes in the Trend View, the vertical bar of the crosshair will extend through all of them. The crosshair provides a visual reference when comparing values displayed on the Panes of a Trend View.
Note: the crosshair cursor can be disabled in the Trend View Options. Using the Crosshair Zoom In / OutUsing the CTRL key and the scroll wheel
on the mouse will put the Trend View into Historical
Mode and zoom into or out of the area under the center of the crosshair
as follows:
Using the Crosshair to Snapshot DataLeft-clicking the mouse over the Trend View will take a snapshot of all the values on all of the Panes on the Trend at the time where the cross hair was located, then present that data on the snapshot dialog.
Clicking the Copy Contents to Clipboard button will copy the data displayed on the snapshot dialog to the Windows clipboard, which can then be pasted into any other Windows application for further processing.
|
|
Clicking this button opens the Trend View Options dialog to specify the controller elements that will be included in the Trend and to choose how those elements will be displayed on the Trend. When this button is clicked, the last pane that had focus will be selected (highlighted) when the Trend View Options menu comes up.
|
|
Clicking this button stops the real-time (live) update of the moving graphs in the Trend, and adds a scroll bar to the bottom of the Trend that allows the user to scroll backwards in time through all of the data that is currently stored for each of the data points on the moving graphs. The data gathering for each data point on the Trend will continue while the Trend View is in Historical mode.
When the Trend View is in Historical mode the Trend name in the tab will also display [HISTORICAL].
Clicking the button again will re-enable the real-time (live) update of the moving graphs, which will be updated with all of the data that was gathered while the displays were in Historical mode.
|
|
Clicking this button will open a series of dialogs that are used to export all of the collected data points or only the data points between two user-selected time stamps on the Trend View. The selection that you make on the following dialog will depend on what application will be using the exported data:
Save As a Comma Separated Variable (CSV) file.
The contents of this file can be imported into a third party application like Microsoft Excel. This file will contain only the collected data values for all of the elements on all of the Panes in the Trend View.
File Name - selects the name of the file in which to store the exported data. The filename and destination folder can be changed by manually entering the text or clicking the "Browse ..." button and navigating the resulting File Open dialog.
Save As a Trend Archive file (TRARC) file.
The contents of this file can be imported into a separate instance of Do-more Designer. This file will contain the Trend View configuration, all of the data collected for all of the elements on all of the Panes in that Trend View, and any other project components that are required to reconstruct and display the Trend View in another Do-more Designer project.
Note: use File-> Import-> Trend Archive Into New Project... to create a new offline Do-more Designer project, reconstruct the Trend View, then import all of the exported data into that Trend View.
File Name - selects the name of the file in which to store the exported data. The default extension for the file is ".trarc". The filename and destination folder can be changed by manually entering the text or clicking the "Browse ..." button and navigating the resulting File Open dialog.
Click the Next button to specify the Export Options selection dialog:
Delimiter - designates what character will be used to separate the individual elements on each exported line of data. The default is a comma between each element on a line.
Enclose in Quotes - designates which elements need to be enclosed in double-quotes
Export/Logging
Method - specifies the format of the exported data
Prefer Nicknames to Element Names - if the elements being exported have nicknames assigned to them, the nicknames will be in the export file instead of the element. For example, if C13 has the nickname "Low Low Alarm", the exported lines for this data point would be "2010/9/1","12:02:54.819","Low Low Alarm","off"
Specify decimal places for floating point data - enabling this selection and selecting one of the values from the list (0 - 10) will export all floating point numbers with the selected number of decimal places.
Append to File - specifies whether to append the export data to the file, saving the existing contents of the file, or to over-write the existing contents in the specified file. This option will be enabled automatically any time the specified file already exists.
Click the Next button to specify the Time Range selection dialog:
Select Time Range - designates how much data to export, this can be either all of the data accumulated since the Trend View was opened, or a range specified by a start time and an end time.
Start Time - specifies the beginning of the data to export
Ending Time - specifies the end of the data to export
Click the Next button to confirm your previous selections:
Confirm Selections - will display the range of data points to export to the file.
|
|
Synchronize with Other Trend Views or PID Views
Is used to synchronize the time frame and the starting time stamp of multiple PID Views and/or Trend Views so that all synchronized views will display the same start time and the same amount of time.
Click the Sync button to display a list of the available PID Views and Trend Views.
Select the Views from the list that are to be synchronized with the current view then click the Synchronize button.
|
|
During a data recording session, values for all of the Elements on all of the Panes in the Trend will be collected. At the end of the recording session these values can be written as comma separated variables to a text file.
Begin Recording
Stop Recording
Click this button to stop recording data while the button is depressed. The button will appear depressed and [RECORDING - PAUSED] will be displayed in the Trend View's tab. Click the button again to continue recording data, or click the Stop button to stop the recording session completely.
Click this button to begin the recording session. The button face will change to Stop with a black square icon, and [RECORDING] will be displayed in the Trend View's tab. Click this button again to stop the recording. At this point a 'Save As' dialog will prompt you for the filename in which to save the recorded data values. The selection that you make on the following dialog will depend on what application will be using the saved data:
Save As a Comma Separated Variable (CSV) file.
The contents of this file can be imported into a third party application like Microsoft Excel. This file will contain only the collected data values for all of the elements on all of the Panes in the Trend View.
File Name - selects the name of the file in which to store the exported data. The filename and destination folder can be changed by manually entering the text or clicking the "Browse ..." button and navigating the resulting File Open dialog.
Save As a Trend Archive file (TRARC) file.
The contents of this file can be imported into a separate instance of Do-more Designer. This file will contain the Trend View configuration, all of the data collected for all of the elements on all of the Panes in that Trend View, and any other project components that are required to reconstruct and display the Trend View in another Do-more Designer project.
Note: use File-> Import-> Trend Archive Into New Project... to create a new offline Do-more Designer project, reconstruct the Trend View, then import all of the saved data into that Trend View.
File Name - selects the name of the file in which to store the exported data. The default extension for the file is ".trarc". The filename and destination folder can be changed by manually entering the text or clicking the "Browse ..." button and navigating the resulting File Open dialog.
|
|
The slider sets the overall amount of time to be displayed in the all of the Panes on the Trend.
The Time Scale can be set to the following;
The Time scale value is set by the following methods:
|
|
Context-Sensitive Menu SelectionsRight-clicking in the display portion of a Trend View will pull up a context-sensitive menu that contains a list of the various Trend-View-related functions. The functions that are applicable in the current context will be enabled, any selections that cannot be performed in the current context will be grayed-out.
Selecting Add/Remove Elements will open the Trend View Options dialog (just like the Trend View Options button & the Trend View Options selection from this same menu) to specify the controller elements that will be included in the Trend and to choose how those elements will be displayed on the Trend. Whatever pane the mouse cursor was in when the right-click was performed to pull up the Context-Sensitive Menu, is the pane that will be selected (highlighted) when the Trend View Options menu comes up.
Selecting Clear Data will open a Clear Data dialog asking, "Do you want to clear all of the data accumulated so far?". Clicking Yes will clear all the data collected in all of the Panes in the Trend and clear the moving graphs on all of the Panes of the Trend. The Trend will then begin collecting data and plotting the new values on the moving graphs.
Selecting Trend View Configuration will open the Trend View Options dialog (just like the Trend View Options button & just like the Add/Remove Elements selection from this same menu) to specify the controller elements that will be included in the Trend and to choose how those elements will be displayed on the Trend. Whatever Trend View had focus when the right-click was performed to pull up the Context-Sensitive Menu, is the Trend View that will be selected (highlighted) when the Trend View Options menu comes up.
Selecting Options for All Trend Views... will open the Global Options dialog that can be used to set the options for all trends. Go here for a detailed description of the available options.
Selecting View Historical Data will toggle between normal display and Historical display (exactly the same as pressing or depressing of the Hist button on the toolbar (as described above). In normal display mode, selecting this will stop the real-time (live) update of the Trend displays and add a scroll bar to the bottom of the Trend panel that allows the user to scroll backwards in time through all of the data that is currently stored for each of the data points on the displays. The data gathering for each data point on the trend displays will continue while the Trend View is in historical mode.
Save ... stores the current Trend View configuration to the currently open Trend file.
Save As ... stores the Trend View configuration to a new Trend file.
Note: the Save and Save As selections only save the Trend View configuration, they do NOT save the data values that were logged while the Trend is running. For information on saving the data values AND the Trend View configuration refer to the help topic for Export Range on creating a Trend Archive.
Move Up will move the Pane that was under the mouse cursor toward the top of the Trend View if there possible
Move Down will move the Pane that was under the mouse cursor toward the bottom of the Trend View if possible
Add Pane will add a new empty Pane at the bottom of the Trend View
Remove Pane will remove the Pane that was under the mouse cursor and all of the logged data for elements in that Pane
Monitor This Pane in Data View will create a new Data View and add all of the Elements that are in the Pane under the mouse cursor to that newly created Data View.
Monitor All Panes in Data View will create a new Data View and add all of the Elements that are in all of the Panes in the Trend View that newly created Data View.
|
|
See Also:Using the Trend View
|
|
Related Topics:
|
|