26. With realtime modes the chart indicator shows green We can zoom in and out and select cursor postion to see exact values
Notas do Editor
We will now place a realtime trend chart on a new panel Select the Trend object icon from the toolbar or right-click and select from drop down menu
Rename the panel and we will need to create a button to navigate to and from it.
Assign variables to the pens on the Trend object
Configure the axis settings
Start your logic to give us some data to display
We can now see the data, this is realtime data but there is no facility for historical analysis or printing the chart data So we need to create a chart that will give us this data and capability. We do this with the highly compacted data base tool TrendX
Firstly create two new logging groups
In the property inspector window assign their logging strategy
As we did with alarms we will now configure our points by undocking the variables window to access large numbers of variables at one time for speed
select the columns properties tab
To add the columns with which we are concerned , select the columns list
Right click on the columns window and use the hide columns tab to get rid of unnecessary columns
Select the start point and drag across all the visible points you want to configure here we enable logging Type T or F for True or False
Now logging is enabled we can assign logging groups for our points
If you type any key, a drop down menu will appear with the logging groups that are available from which to select
Change as many as you want
To enable TrendX to assimilate this data we must download the configuration
Start TrendX
We must now add a database to TrendX
Machine Edition has now created a database log based on our configuration information this is held in the project folder.
Open your folder mine is called Reuse
Open the database log file
Now we can see all of the points that we configured for logging that are available to trend
There are a variety of pre-configured modes that can be availed of, or we can create custom charts
Custom modes are historical and are shown with a red marker
Realtime charts are shown with a green indicator. These charts can be zoomed in to or our from for custom viewing