Gfk1260f - Cimplicity Hmi Trend and Xy Chart
Gfk1260f - Cimplicity Hmi Trend and Xy Chart
Gfk1260f - Cimplicity Hmi Trend and Xy Chart
CIMPLICITY HMI
Trend and XY Chart
Operation Manual
GFK-1260F
April 1999
GFL-002
Warning
Warning notices are used in this publication to emphasize that hazardous voltages, currents, temperatures, or other
conditions that could cause personal injury exist in the equipment or may be associated with its use.
In situations where inattention could cause either personal injury or damage to equipment, a Warning notice is used.
Caution
Caution notices are used where equipment might be damaged if care is not taken.
Note
Notes merely call attention to information that is especially significant to understanding and operating the equipment.
This document is based on information available at the time of publication. While efforts have been made to be accurate,
the information contained herein does not purport to cover all details or variations in hardware or software, not to provide
for every possible contingency in connection with installation, operation, or maintenance. Features may be described
herein which are not present in all hardware and software systems. GE Fanuc Automation assumes no obligation of
notice to holders of this document with respect to changes subsequently made.
GE Fanuc Automation makes no representation of warranty, expressed, implied, or statutory with respect to, and assumes
no responsibility for the accuracy, completeness, sufficiency, or usefulness of the information contained herein. No
warranties of merchantability or fitness for purpose shall apply.
ii
Preface
GFK-1260F
Preface
Related Publications
For more information, refer to these publications:
CIMPLICITY HMI Base System Users Manual (GFK-1180)
GFK-1260F
iii
Contents
Introducing Trends
1-1
2-1
GFK-1260F
Trend Methods
3-1
4-1
Introducing XY Plots
5-1
vi
GFK-1260F
Designing an XY Plot
6-1
Plotting XY Data
7-1
8-1
GFK-1260F
Index
vii
Index
viii
GFK-1260F
Introducing Trends
Trend Introduction
CIMPLICITY HMI provides you with the ability to look at data from several different
perspectives. The charts that enable you to do this are:
Trend chartsIn which you can review, evaluate and log point point values over
time
XY chartsIn which you can plot values for one or more series, using two or more
axes.
About Trends
CIMPLICITY HMI provides you with extensive capabilities to trend data that is in several
different formats.
You can trend:
Runtime values
Data from a CIMPLICITY Database Logger
Combined runtime values and logged data
Data from a .CSV file
Data from a reference file that was created during runtime and can be recalled and
displayed. This reference trend can be displayed and compared with other
comparable data.
Arrays
CIMPLICITY HMI provides even more capability by letting you and / or a user:
GFK-1260F
1-1
Choose chart
color
Choose chart
background color
Show/hide lines
Choose
Step
or
smooth curve
Choose line
style / color
Display x-axis ticks /
numbersOptional
Display page scroll
Optional
Display legend title
Optional
Slider
Specify font
and style
Display legend
and specific
detailsOptional
Specify
percent
scroll
1-2
GFK-1260F
Grid
Gridlines
Lines
Each line
Legend
Entire legend
Legend features
Specific features:
Title
Line ID
Y value at slider
Engineering units
Time at slider
Date at slider
Y-axis limits
Current point value
Array status
Autoupdate status
Entire status bar
Status bar
Status bar features
GFK-1260F
Introducing Trends
Specific features:
Status line
Current date
Current time
Status title
Slider date
Slider time
1-3
You can also specify how the charts many display features will appear.
Display feature
Chart area
Chart background
Grid
Lines
Specify:
Style
Color
Specify the percent a line will scroll (forward / backward)
when the buttons are pressed
1-4
GFK-1260F
Runtime Actions
During runtime if you, the trend chart designer allow it, a user can change the amount of detail
being viewed and even change the way it is displayed.
In addition a runtime user can easily:
Double click the trend chart. The CIMPLICITY Trend Control Properties dialog box
appears.
Select the tab that contains the propertys configuration specifications.
Change the propertys configuration.
Apply the change by doing one of the following:
Move to a different tab in the dialog box. The changes made on the previous tab
take effect.
Click Apply. Changes on the current tab take effect.
Click OK. All changes take effect and the CIMPLICITY Trend Control
Properties dialog box closes.
Important: The changes you make remain in effect while the trend is being displayed. If you
close the CimView window displaying the trend, then reopen it, the trend reverts to the
original properties configured for it in CimEdit.
GFK-1260F
Introducing Trends
1-5
Place the mouse cursor in the chart area at one corner of the area you wish to
examine in more detail.
Hold down the left mouse key and slide the mouse cursor diagonally, making a
rectangle enclosing the area you wish to examine.
Lift the mouse button.
The chart will be redrawn to display the area you selected in a scale that fits the chart
area.
Note: While you are zoomed in, the auto update and run-time timers are ignored. The
zoomed portion of the screen remains unchanged until you zoom out again, at which point
new values are drawn and the timers are used again.
To return to your normal chart display:
1.
2.
3.
1-6
GFK-1260F
Method 2Attach the chart slider to the most recent update data:
Drag the slider off the right edge of the chart.
The slider will then attach to the most recently plotted data and move as new values are
plotted.
Method 3Turn off the most recent update mode
Do one of the following:
GFK-1260F
Introducing Trends
1-7
Scrolling Options
To scroll one page:
buttons to scroll backward or forward one page on the chart.
Use the
The percent is specified by the trend control designer in the CIMPLICITY Trend Control
Properties dialog box. (in the Scroll Percentage field in the Advanced dialog box on the
Chart property tab)
1-8
GFK-1260F
4.
Full arrays are shown with the first array element drawn at the left edge of the chart.
The elements of the array are equally spaced across the length of the chart.
If an array line:
A. Is in its own X-axis, the:
Axis labels displayed are the element indexes rather than based on the time
span.
Time of the array values can be seen on the legend.
B. Shares its X-axis with another line, the axis labels displayed are based on the
time span.
The space between the last element and the end of the chart is equal to the space
between the first two elements.
The type of array line you are scrolling determines how much information you see
when you scroll. Scrolling also behaves differently for non-array and array data.
Array Line Scrolled
Current
GFK-1260F
Current
Introducing Trends
1-9
Axis
Chart
Legend
Grid
Runtime Actions
Method 2
1.
2.
Place the ActiveX Placement cursor where you want the top left corner of the control
to be located. You can move the control any time you want.
3.
4.
GFK-1260F
2-1
5.
6.
Click OK. A new Trend control is placed at the position you selected in your
CimEdit screen.
The Trend control looks like this initially:
Increase width
Increase in proportion
Increase height
2-2
GFK-1260F
Method 2Precision
1.
2.
Select Properties.
Go to "Continue (after choosing from Methods 2-4)"
Method 3-Precision
Click the Properties button on the Format toolbar.
Go to "Continue (after choosing from Methods 2-4)"
Method 4Precision
1.
2.
2.
Enter the width and / or height for the trend chart in the Width field and Height
field.
Tip: Click the right mouse button in any area of the Trend control to display a popup menu
that is related to that area.
GFK-1260F
2-3
Axis
Chart
Legend
Grid
Runtime Actions
Let you perform runtime actions when viewing the chart
You do this entire configuration in the CIMPLICITY Trend Chart Properties dialog box.
There are several methods for opening the CIMPLICITY Trend Chart Properties dialog box.
2.
3.
4.
Method 3
1.
2.
3.
4.
Note: Any fields that do not apply to the Trend you are defining will be grayed out.
2-4
GFK-1260F
Expressions
Logged data
Logged Expressions
CSV files
Reference files
2.
Press to open
Select a Point browser
3.
GFK-1260F
Line Display
(style)
dialog box
2-5
4.
5.
(Optional) Click Display to open the Line Display dialog box and change the line
display style.
6.
Either:
Continue until you have all the lines that you need.
2.
Lines Grid
Line Types
Point
(Expression)
Logged
Logged Point
(Expression)
.CSV
Reference
Color palette
Creates blank
entry for new
line
Line Display
dialog box
Copies
selected line
configuration
Deletes line
Move line up
/ down in list
Quick Lines
Opens Select a Point
Browser
2-6
3.
4.
GFK-1260F
5.
Enter the required information for CIMPLICITY to associate data with that line type.
See each line types section for more information.
6.
Either:
A. Press Enter on the keyboard.
B. Click the Line ID column The Line ID appears in the Lines grid.
7.
B. (Optional) Check In Legend to list the name of the associated data in the
Legend.
C. Check Visible to make the line visible.
8.
(Optional) Click Display to open the Line Display dialog box and change the line
display style.
9.
Note: If the Visible line option is cleared, the In Legend line option is ignored. This means
that the line will not show up on the legend, unless the Legend show all chart option is
checked. See "Configuring Advanced Chart Properties" in this chapter.
GFK-1260F
2-7
Expression
menu
2.
Enter, in the Expression field, one or more Point IDs and mathematical operators
that can be evaluated.
2.
Click Advanced.
3.
Trending
Is fully qualified
2-8
GFK-1260F
Table/Column
browser
Line Display
dialog box
2.
Select the ODBC data source from the Datasource drop down menu.
3.
4.
Logged lines can always be scrolled. If you leave Auto update blank, the line will update
when it is scrolled.
Important: The source for a Logged line is always a column in a group log table.
A group log table has one column per point, one row for all points.
See the Using the Database Logger chapter in the CIMPLICITY HMI for Windows NT and
Windows 95 Base System Users Manual (GFK-1180) for more information.
GFK-1260F
2-9
Point browser
Point ID
popup
Table/
Column
browser
Line Display
dialog box
2.
Enter, in the Point Expression field, one or more Point IDs and mathematical
operators that can be evaluated.
3.
Select the ODBC data source from the Datasource drop down menu.
4.
2-10
1.
2.
Click Advanced.
3.
GFK-1260F
Behavior
Not selected
Selected
Trending
Is fully qualified
Note: One of the sources for a Logged expression line is always a column in a group log
table. See the Using the Database Logger chapter in the CIMPLICITY HMI for Windows NT
and Windows 95 Base System Users Manual (GFK-1180) for more information.
GFK-1260F
2-11
Select a File
dialog box
Column ID in .CSV
file up to 64
characters long
Table/Column
browser
Line Display
dialog box
2.
3.
4.
5.
Select the column in the .CSV file that contains the trend data.
2-12
1.
2.
Give a CSV file used by Trends one of two formats. Choose the format, as follows:
Format
When
3.
4.
Up to 64 characters.
5.
6.
GFK-1260F
7.
If:
Then:
Give CSV files names that fit the 8.3 format. The ODBC Text driver cannot open a
file with a filename greater than 12 characters.
Example
largest1.csv Can be a .CSV file name
GFK-1260F
2-13
An expression
A reference file that is created by the Trending module through the Runtime Actions
tab in the CIMPLICITY Trend Control Properties dialog box.
A
Enter one or more
Point IDs and
mathematical operators
that can be evaluated.
B
Name of .REF file
containing the data
Column in group log table
Clear to keep the same
values as a reference
Select a File
dialog box
Table/Column
browser
Line Display
dialog box
2-14
Expression
Reference file
Retrieves values from a reference file that are exported into the
reference file at runtime.
GFK-1260F
Expression reference lines default to use the charts X-axis and Y-axis.
Reference file lines default to use their axes. They are named using the line ID with a
_X and _Y suffix respectively. The axis configuration is based on the contents of the
reference file. The X-axis defaults to no scroll.
Important: Reference files are currently available only on the Intel Windows 95 and Intel
Windows NT platforms.
To configure a reference file to be used for a reference line:
1.
Select the Runtime Actions tab of the CIMPLICITY Trend Control Properties dialog
box.
2.
Make sure the Show property pages at runtime and Runtime actions check
boxes are checked.
3.
During runtime:
A. Open the CIMPLICITY Trend Control Properties dialog box.
B. Select the Runtime Actions tab.
C. Click Export reference file The Save Reference File dialog box displays.
GFK-1260F
2-15
Select one or
more lines to
reference
Enter a path
including a
directory and
file name
Browse a
Windows 95/NT
Save As dialog
box
D. Click on each line that you want to write to the reference file.
E. Enter a directory and file name in the File Name field.
F.
It is better to create a separate directory for the file. However, if you do not
select a directory, the file is saved in the last directory you accessed with the
File Save dialog box. The default filename extension is .REF.
Click OK to write the reference file, or click Cancel to cancel your request.
When you click OK, all the data currently visible on the trend for the lines you
selected will be written to the reference file.
Important: The ODBC Text driver cannot open a file with a filename greater than 12
characters. For best results, enter a name that fits the 8.3 format. That is, the file name
should be eight characters or less, followed by a period and an extension of three characters or
less (for example, "largest1.txt").
2-16
GFK-1260F
Contains
The minimum value and time for each line in the file.
The maximum value and time for each line in the file.
Remaining
The value and time each time the lines value changes
over the time period.
"Soap","Soap_TIME"
211,"03-01-1996 18:19:34.000"
506,"03-01-1996 18:24:34.000"
476,"03-01-1996 18:18:54.230"
474,"03-01-1996 18:19:16.570"
470,"03-01-1996 18:19:17.770"
467,"03-01-1996 18:19:19.040"
464,"03-01-1996 18:19:20.480"
461,"03-01-1996 18:19:31.220"
457,"03-01-1996 18:19:32.460"
If you selected more than one line to save, the value and time information for each line is
stored independently, as in the following example:
"Soap","Soap_TIME","Wax","Wax_TIME"
1,"03-01-1996 19:29:34.000",1,"03-01-1996 19:29:34.000"
575,"03-01-1996 19:34:34.000",575,"03-01-1996 19:34:34.000"
183,"03-01-1996 19:29:01.840",476,"03-01-1996 19:25:19.270"
179,"03-01-1996 19:29:02.850",472,"03-01-1996 19:25:20.280"
175,"03-01-1996 19:29:03.850",468,"03-01-1996 19:25:21.580"
172,"03-01-1996 19:29:04.860",467,"03-01-1996 19:25:22.590"
169,"03-01-1996 19:29:14.890",466,"03-01-1996 19:25:32.980"
165,"03-01-1996 19:29:15.900",462,"03-01-1996 19:25:34.000"
If the reference file is for an array point, the second line contains the first array element, the third line
contains the last array elements, and the rest of the rows contain the rest of the array elements. All array
elements have the same time value. For example:
"Step", "Step_TIME"
100, "03-01-1996 18:19:34.000"
105, "03-01-1996 18:19:34.000"
101, "03-01-1996 18:19:34.000"
102, "03-01-1996 18:19:34.000"
103, "03-01-1996 18:19:34.000"
104, "03-01-1996 18:19:34.000"
GFK-1260F
2-17
2.
Click Display.
3.
4.
Select how data should be displayed if the number of data points to be plotted
exceeds the display area (available pixels).
If a compression type is selected:
A. The group size is automatically determined by Trending software.
B. The selected compression method (for example, average) is applied to that
group.
C. All the data points in that group are plotted as a single data point.
If no compression is selected, multiple data points are plotted along a vertical line.
2-18
GFK-1260F
5.
Smooth
6.
2.
3.
The Line-Axis Mapping dialog box appears when you use either method.
GFK-1260F
2-19
Select an axis in the Show lines for axis field to see what lines it represents.
2.
Note: Y Chart Axis and X Chart Axis are the default axes.
2-20
GFK-1260F
Axis Configuration
Your trend chart has to have at least on X-axis and one Y-axis. At times, you may want to
configure more that can be used instead of either default axis.
To begin axis configuration:
1.
2.
Axis Grid
Fields change
between X-axis
and Y-axis
Creates blank
entry for new
axis
Copies
selected axis
configuration
Deletes any
axis, except
the default
2.
An X Axis Time dialog box that opens through a right mouse button popup
menu.
Configure other details in the CIMPLICITY Trend Control Properties dialog box.
An X Axis Time dialog box that opens through a right mouse button popup menu.
GFK-1260F
2-21
Select an X-axis in the Configured axes grid of the CIMPLICITY Trend Control
Properties dialog box.
2.
2.
3.
Select Time.
X-axis Popup
2-22
GFK-1260F
2.
Enter the Duration of time the X-axis represents. The format is ddd:hh:mm:ss
where:
Letters
Represent
ddd
hh
Hours: 059
mm
minutes: 059
ss
seconds: 059
Configure the Start time from the following choices:
ddd:hh:mm:ss
mm/dd/yy
Clear to allow
runtime scroll
hh:mm:ss
B. Start date
C. Now minus days
ddd
hh:mm:ss
GFK-1260F
Start time
2-23
Axis Grid
Fields change
when a different
axis is selected
Creates blank
entry for new
axis
Copies
selected axis
configuration
Deletes any
axis, except
the default
2.
Change the font to your specification. The font you choose will be used for all X and
Y-axes.
3.
2-24
GFK-1260F
2.
Configure other details in the CIMPLICITY Trend Control Properties dialog box.
If there are no
Point Limits
1
3 Each time a value
goes above or
below the existing
limit.
Go to "Continue (following Method 1 or 2)".
Method 2Popup Menu Configuration
1.
2.
3.
Select Limits.
A Y Axis Limits dialog box appears.
Go to "Continue (following Method 1 or 2)".
GFK-1260F
2-25
3
2
The decimal base is calculated for both highest and lowest values.
Examples
The decimal base of 150 is 100.
3.
2-26
GFK-1260F
Guidelines for the order of priority if you select all the limit options
Trending:
1.
Increments the upper or lower limit each time a value goes above or below the
existing limit.
2.
3.
Uses the limits specified in the Default lower limit and Default upper limit fields.
Select A Y-axis in the Configured axes grid in the CIMPLICITY Trend Control
Properties dialog box.
Axis Grid
Fields change
between X-axis
and Y-axis
Creates blank
entry for new
axis
Copies
selected axis
configuration
Deletes any
axis, except
the default
2.
Change the font to your specification. The font you choose will be used for all X
and Y-axes.
GFK-1260F
2-27
3.
ii.
5.
2-28
GFK-1260F
Chart Properties
There are several details about the chart itself from its color to how many pixels away can a
cursor be from the slider and still grab it.
These details are configured in the Chart tab of the CIMPLICITY Trend Control Properties
dialog box and then in the Advanced dialog box that is accessed through the Chart tab.
2.
Interval for:
Chart update
Chart redrawn
(hh:mm:ss)
If checked, lines:
1. Update at the right
edge
2. Scroll each time an
update is received
3.
4.
Field
Foreground color
Background field
Chart color
Solid color for the trend chart area
Enter the time between one new data update and the next in the Auto Update Interval
field. The format is hh:mm:ss.
Example
10 equals ten seconds; 1:00 equals one minute.
GFK-1260F
2-29
Note: Auto update will only occur for lines that have Auto Update selected on the Line tab
of the CIMPLICITY Trend Control Properties dialog box.
5.
Enter the time between one time that the chart redraws itself and the next in the Auto
Refresh Interval field. The format is hh:mm:ss.
6.
Select the CIMPLICITY project to be used for any unqualified Point IDs. The
default is provided by CimView, but it may be changed at run-time.
7.
(Optional) Check the Show buttons check box to display the scroll buttons.
8.
The line:
Starts at the left of the chart
Updates across the chart area.
Is automatically scrolled by the scroll percentage,
specified in the Advanced dialog box, when the right
edge is reached
Continues to update from left to right.
Strip Chart
The line:
Updates at the right edge of the chart
Scrolls each time an update is received
9.
2-30
GFK-1260F
Select the Chart tab of the CIMPLICITY Trend Control Properties dialog box.
2.
nonhidden Y-axes
Single: Y-axis only
Percent Configured:
0100 Scale
Number of pixels
from slider in which
the slider can still be
grabbed
(110)
Chart Y-Axis
3.
Determine what Y-axis to display in the Y-axis display field. Choices are:
Multiple (Default)
Single
Percent Configured
4.
Time duration that the chart data will Scroll backward or forward when the
or
Length of the jump when the drawing reaches the right edge of the chart if you
set the Update style to Jump scroll in the basic Chart tab.
Example of button scroll
A chart displays a two (2) hour time duration
Enter 25 in this field.
GFK-1260F
2-31
5.
6.
The chart will scroll backward or forward by a half-hour (25% of two (2) hours)
when the scroll button is pressed.
Enter the number (010) of pixels from the slider that a mouse cursor can move and
still grab the slider, in the Slider grab margin field..
(Optional) Check the Single X-axis check box if you want the chart to be displayed
with a single X-axis called the Chart X Axis. All lines will use the Chart X Axis.
In the case of Line charts that represent time, this option is mutually exclusive with
the Single Time Duration option. Therefore, if you select this option, the Single
time duration check box is unavailable.
7.
(Optional) Check the Single Y-axis check box if you want the chart to be displayed
with a single Y-axis called the Chart Y-axis. All lines will use the Chart Y-axis.
If you select this option, the Y-axis display is disabled.
8.
Check the Single time duration check box if you want all the lines in the chart to
use a single time duration. The time duration is the Chart X Axis duration. For
example, you want to view the data for all lines for a span of two hours, regardless of
start time.
For Line charts that represent time, this option is mutually exclusive with the Single
X-axis option.
9.
Check the Legend show all check box to display the legend information for all
visible and hidden lines on the chart.
Clear this check box to display information for only the visible lines on the chart.
Use the Legend tab to define the legend elements.
10. Check the Jump to current value check box to make the trend display
automatically jump back to the current time at the next run-time or auto update timer
interval whenever you scroll the chart.
Clear this check box to scroll manually to return to the current time. If one of the
objects on the CimView screen has a JumpToCurrentTime method configured for the
chart, you can use that method to scroll forward to the current time.
11. Check the Allow Runtime Scrolling check box to scroll Expression and Logged
Expression lines in the chart at run-time. You can see for:
Expression lines
2-32
GFK-1260F
Legend Properties
The Legend properties define the legend information for the lines on the chart.
To define the legend properties:
Method 1Properties dialog box
1.
2.
Display
Legend
Title
Open Font
dialog box
Single column
Two columns
Check to
display for
each line on
the chart
Number of
legend lines
Move item up /
down in list
3.
Check to display in
status line
(Optional) Check the Show legend check box to display the legend on the chart.
If you clear the check box, you have completed configuration of this tab.
4.
Check the Show title check box to display a title line for the legend.
5.
Check the items that will display for each line on the chart in the Line items box.
6.
Use the
7.
Select one and two columns in the Display format field for legend data display.
8.
Enter the number of legend lines to display in the Display height field
buttons to create the order in which you want the items displayed.
If you have more lines than can be displayed in the legend area, you can use the
vertical scroll bar to the right of the legend area to display the additional information.
9.
Check the information in the Status line box to display on the status line.
10. Click Font to select the font, font style, size and script for the legend and status bar.
GFK-1260F
2-33
2.
3.
4.
5.
6.
7.
8.
2.
2-34
3.
4.
5.
6.
GFK-1260F
Grid Properties
You can display grid lines that divide your chart into sections. You do this on the Grid tab of
the CIMPLICITY Trent Control Properties dialog box.
To display gridlines on a chart:
Method 1: CIMPLICITY Trend Chart Properties dialog box
1.
2.
Enter the
number of
grid lines
Choose a
solid line.
Specify the
width
Display grid based on a selected
(or nearest) lines axis
3.
(Optional) Check the Show grid check box to display a grid on the chart.
If you clear the check box, you have completed configuration of this tab.
4.
5.
GFK-1260F
2-35
2.
3.
4.
Select Grid.
The grid that you configured on the Grid tab displays.
Runtime Actions
Whether or not an operator can access one or more of the tabs or even open the CIMPLICITY
Trend Control Properties dialog box during runtime is under your control.
To enable/disable tabs in the CIMPLICITY Trend Control Properties dialog box
for runtime:
1.
2.
Clear to
prohibit dialog
box display
during runtime
2-36
GFK-1260F
3.
Check the Show property pages at runtime check box to let an operator open the
CIMPLICITY Trend Control Properties dialog box during runtime. If you clear the
check box, you have completed configuration of this tab.
4.
Check the tabs that an operator can change during runtime in the Pages enabled at
runtime box.
Important: It you are using a reference file, you need to enable at least the Runtime Actions
tab so the operator can export data to the reference file. It is on this tab that the export button,
which is disabled during configuration, is enabled during runtime.
2.
Write the elements number in square brackets at the end of the array name.
Reference file
Expression
The most recent data for the array is displayed.
Whenever the array data changes, the old line is erased and a new one, representing the new
data, is drawn.
Arrays display, as follows:
GFK-1260F
1.
Full arrays are shown with the first array element drawn at the left edge of the chart.
2.
The elements of the array are equally spaced across the length of the chart.
3.
The space between the last element and the end of the chart is equal to the space
between the first two elements.
2-37
Click the drop-down list button to the right of the Color input field.
Basic Palette
Palette tab
Special tab
2.
Click the drop-down list button to the right of the Color input field.
2.
2-38
GFK-1260F
Color picker
Luminosity picker
3.
Do one or more of the following until you have created the color you want. You can
see the exact color and the solid color that is closest to it in the Color|Solid box.
A. Move the Color picker around to change the color.
B. Enter exact Index values for any or all of the colors in the color fields.
0 for all colors = Black.
0 for one color = Black for that value
255 for all colors = White
255 for one color = Pure red, green or blue for that value
The color that displays reflects the combination of the three entries
C. Move the Luminosity picker up and down to change the amount of light
(absence of black) in the color.
D. Enter an exact value that specifies the amount of light in the color in the Lum
field.
0 = Black (The colors values will change to 0)
240 = White (The colors values will change to 255.
Any changes you make in this value will affect all the colors.
E. Specify how vivid the color specified by the balance of the three basic colors
should be in the Sat field.
0 = Gray
F.
GFK-1260F
240 = No gray.
Specify the balance of red, green and blue that you want in the Hue field. This
balance is calculated against the values that are already in the Color fields.
2-39
4.
Decide whether to use the exact color or the solid color displayed in the Color|Solid
box. possibilities are:
A. The exact color is the same as the solid color.
B. The exact color is dithered, a pattern of dots that simulates the color. Only the
solid portion of a dithered color will display in a pattern.
C. The solid color that is closest to exact color.
5.
Both the exact and solid display. The exact color will be selected.
Only the solid color displays. The solid color will be selected.
Modifying a Color
You can modify any color on the palette. If you choose a standard color to modify, the
customized color appears in the customized section of the palette.
To modify a color:
1.
Click the drop-down list button to the right of the Color input field.
2.
3.
4.
5.
2-40
GFK-1260F
Choosing a Font
Whenever you have to specify a font and its characteristics in Trending, you can do so in a
basic Windows 95/NT Font dialog box.
To specify a font for a Trending text item:
1.
GFK-1260F
2.
Select the font. If you use TrueType fonts, users can resize a screen in CimView and
still have the text be displayed in proportion to the rest of the objects on the screen.
3.
2-41
Trend Methods
Method
Line
AddLoggedLine
AddLoggedPointLine
AddPointLine
DeleteTrendLine
SetLineAutoupdate
SetLineDisplay
SetLineVisible
WriteReferenceFile
SetLegendState
Legend
X-axis (Time Related)
GFK-1260F
JumpToCurrentTime
PauseUpdates
ScrollLines
SetXDuration
SetXStartTime
3-1
Y-axis
SetLineYAxis
SetYAxisVisible
SetLineUseChartY
Visual Aids
ResetZoom
SetGridState
Wait State
EnableOutstandingLoggedRequestStateEvents
Enables the firing of logged data wait state
events in the Trend control.
DisableOutstandingLoggedRequestStateEvents
Disables or turns off the firing of logged data
request wait state events in the Trend control.
Other
AboutBox
SetCimplicityProject
EnteringOutstandingLoggedRequestState
The Trend control has determined that it has
logged data requests that have been outstanding
(waiting) for longer than the number of seconds
determined by the threshold.
LeavingOutstandingLoggedRequestState
The Trend control has determined that it no
longer has any logged data requests that are
outstanding.
3-2
GFK-1260F
Method Configuration
Naming A Trend Control
Before you can invoke a method for a Trend control, the control must have its Object name
defined.
To name a trend control:
1.
2.
3.
4.
5.
Check to require
confirmation at
runtime
GFK-1260F
Trend Methods
3-3
9.
Click Advanced if the button is enabled. This means the function returns a value
that contains output arguments.
The Edit Method dialog box opens.
10. Click OK when you have completed configuration to save the event.
Click an enabled Advanced button in the Edit tab of the Properties dialog box.
The Edit Method dialog box opens.
Example: Entry in Edit Method Dialog Box for an Invoke Method Action
EnabledIf the method returns a status value:
Expresion
dialog box
Point ID
popup
Expresion
dialog box
Point ID
popup
Methods
parameters
Parameter
type
NoNot optionalAn
entry is required in
the Value column
YesOptional
3-4
GFK-1260F
2.
Enter an expression in the Value column that will pass as the argument for each
argument in the Name column. Your options are:
A. You must make an entry for each parameter that has a No in the Optional box.
If the argument is optional, you will see Yes in the Optional box.
Choose one of the following to pass argument values to a method:
Type
Enter
Integer
String
2.
3.
3.
4.
5.
6.
Note: Some argument types are not supported (for example, IDispatch*, and IUnknown*).
These will appear as <Bad type> in the Type column and the Expression field will be
disabled. If the unsupported argument is required, you will not be able to configure this
method for invocation.
If you plan to pass a parameter via the contents of a CIMPLICITY Point ID, the contents of
the Point ID will be converted to match that of the parameter.
The valid ranges for each type used by Trend methods are:
GFK-1260F
Type
Valid Range
BOOL
BSTR
double
long
short
Trend Methods
3-5
AddLoggedLine
AddLoggedPointLine
AddPointLine
DeleteTrendLine
SetLineAutoupdate
SetLineDisplay
SetLineVisible
WriteReferenceFile
AddLoggedLine Method
Purpose: To add a specified logged line to the runtime Trend Control when Invoke Method is
triggered by an event.
Lines using Logged data display data from a CIMPLICITY Database Logger group
table. This type of trend is also called a historical trend because all the information
comes from logged data.
To configure the AddLoggedLine method:
1.
3-6
GFK-1260F
A.
B.
Entry is required
3.
4.
Table in the Database Logger where the line data will be found.
Column in the Database Logger table that contains the lines data.
(Optional) Enter a Method result. Use a Point ID in the Boolean Point Class with a
Data Structure Type of BOOL. You can use a device or global Point ID.
When you invoke the method, the optional Method result contains one of the
following values.
Value
Method Result
Note: The source for a Logged line is always a column in a group log table. For more
information about group log tables, see Using the Database Logger in the CIMPLICITY HMI
for Windows NT and Windows 95 Base System Users Manual (GFK-1180).
GFK-1260F
Trend Methods
3-7
AddLoggedPointLine Method
Purpose: To add a specified logged expression line to the runtime Trend Control when Invoke
Method is triggered by an event.
Lines using logged and runtime data display a combination of run-time and logged
data. Runtime data is reported by CIMPLICITY Point Management. Logged data
comes from a CIMPLICITY Log table. The behavior of the logged point line type
depends on the Allow Runtime Scrolling property
To configure the AddLoggedPointLine method:
1.
2.
Click Advanced.
The Edit Method dialog box opens displaying AddLoggedPointLine.
A.
B.
C.
Entry is required
3-8
GFK-1260F
4.
Table in the Database Logger where the line data will be found.
Column in the Database Logger table that contains the lines data.
(Optional) Enter a Method result. Use a Point ID in the Boolean Point Class with a
Data Structure Type of BOOL. You can use a device or global Point ID.
When you invoke the method, the optional Method result contains one of the
following values.
Value
Method Result
Note: The source for a Logged line is always a column in a group log table. For more
information about group log tables, see "Using the Database Logger" in the "CIMPLICITY
HMI for Base System Users Manual" (GFK-1180).
GFK-1260F
Trend Methods
3-9
AddPointLine Method
Purpose: To add a specified expression line to the runtime Trend Control when Invoke Method is
triggered by an event.
Lines using runtime data display data reported by the CIMPLICITY Point Manger.
The line cannot be scrolled as all information comes from current data. This type of
line is also called a current trend.
To configure the AddPointLine method:
1.
2.
Click Advanced.
The Edit Method dialog box opens displaying AddPointLine.
A.
B.
Entry is required
A. Point to trend.
B. Identifies line, in legend
3-10
GFK-1260F
4.
(Optional) Enter a Method result. Use a Point ID in the Boolean Point Class with a
Data Structure Type of BOOL. You can use a device or global Point ID.
When you invoke the method, the optional Method result contains one of the
following values.
Value
Method Result
DeleteTrendLine Method
Purpose: To delete a specified point line from the runtime Trend Control when Invoke Method is
triggered by an event.
To configure the DeleteTrendLine method:
1.
2.
Click Advanced.
The Edit Method dialog box opens displaying DeleteTrendLine.
Entry is required
3.
4.
GFK-1260F
Enter a string that evaluates to an existing Line ID. Trending will delete the specified
line when the method is invoked.
(Optional) Enter a Method result. Use a Point ID in the Analog Point Class. You
can use a device or global Point ID.
Trend Methods
3-11
When you invoke the method, the Method result displays one of the following:
SetLineAutoupdate Method
Purpose: To change the autoupdate status of one or all non-point lines on the Trend Control.
Select the SetLineAutoupdate Method for the Invoke method Action type.
2.
Click Advanced.
The Edit Method dialog box opens displaying SetLineAutoupdate.
A.
B.
Entry is required
3-12
GFK-1260F
3.
4.
2
Toggle the current state of the line(s)
(Optional) Enter a Method result. Use a Point ID in the Analog Point Class. You
can use a device or global Point ID.
When you invoke the method, the Method result display contains the count of the
number of lines that were changed.
SetLineDisplay Method
Purpose: To set the color, compression and expansion, and display method for a particular Line ID.
To configure the SetLineDisplay method:
GFK-1260F
1.
2.
Click Advanced.
The Edit Method dialog box opens displaying SetLineDisplay.
Trend Methods
3-13
Setpoint not
allowed
A.
B.
C.
D.
Entry is required
1Average
2First point
3Last point
4Minimum point
5Maximum point
Plot the data point from the group with the smallest value
Plot the data point from the group with the largest value
If you are using compression, Trending automatically determines the group size.
D. An expression or Point ID for StepSmooth that evaluates to one of the
following numeric values:
Value
Trending will:
0
4.
3-14
1
Display the line in smooth mode
(Optional) Enter a Method result. Use a Point ID in the Boolean Point Class with a
Data Structure Type of BOOL. You can use a device or global Point ID.
When you invoke the method, the optional Method result contains one of the
following values:
GFK-1260F
Value
Method Result
Made up of a balance of red, green and blue luminosity values ranging from 0 to
255.
Example
If you apply a luminosity value of:
0 to each of the basic RGB colors (red, green and blue), the color that you
see will be Black.
255 to each of the basic RGB colors, the displayed color that you see will
be White.
Single Color
Value
Red
Green Blue
Displayed
Color
0
Black
Black
Black
Black
255
Red
Green Blue
White
Has a calculated value with the following formula:
RGBColor Value =
255 (To represent Red; The selected number can be 0-255) +
(256 * a Green luminosity number) +
(65536 * a Blue luminosity number) +
Example
RGBColor =
255 +
(256*105) +
(65536*255) = 16738815 (the RGBColor value)
You can use the Custom Colors palette in CimEdit to determine the Red, Green,
and Blue values for the color you want to use.
GFK-1260F
Trend Methods
3-15
(255) +
(105 * 256) +
(255 * 65536) = 16738815
Legend in runtime trend
3-16
White
16777215
Black
Gray
8421504
Silver
12632256
Red
255
Yellow
65535
Lime
65280
Aqua
16776960
Blue
16711680
Fuchsia
16711935
Maroon
128
Green
32768
Olive
32896
Navy
8388608
Purple
8388736
Teal
8421376
GFK-1260F
SetLineVisible Method
Purpose: To change one or all lines on the Trend Control visible or invisible.
To configure the SetLineVisible method:
1.
2.
Click Advanced.
The Edit Method dialog box opens displaying SetLineVisible.
A.
B.
A. Identifies line for
Entry is required
visibility on/off
B. 0Line off
1Line on
GFK-1260F
1
Make selected line(s) visible
Optional) Enter a Method result. Use a Point ID in the Boolean Point Class with a
Data Structure Type of BOOL. You can use a device or global Point ID.
Trend Methods
3-17
When you invoke the method, the optional Method result contains one of the
following values:
Value
Method Result
Note: When the line is made invisible, it is removed from the chart. If you did not check the
Always visible legend option, the line description is also removed from the legend.
Even thought the line is removed from the display, the Trend Control still collects data and
performs calculations for the line.
WriteReferenceFile Method
Purpose: To write data for all lines on the chart to the reference file you designate.
Important: This method is available only on Intel Windows 95 and Intel Windows NT
platforms.
To configure the WriteReferenceFile method:
3-18
1.
2.
Click Advanced.
The Edit Method dialog box opens displaying WriteReferenceFile.
GFK-1260F
A.
B.
C.
D.
Entry is required
4.
GFK-1260F
Trend Methods
3-19
SetLegendState Method
Purpose: To change the visibility of the legend for the trend.
To configure the SetLegendState method:
1.
2.
Click Advanced.
The Edit Method dialog box opens displaying SetLegendState.
Entry is required
3.
3-20
0 Legend off
1 Legend on
GFK-1260F
4.
(Optional) Enter a Method result. Use a Point ID in the Boolean Point Class. You
can use a device or global Point ID.
When you invoke the method, the Method result displays:
Value
Method Result
Legend is visible
Legend is invisible
PauseUpdates
ScrollLines
SetXDuration
SetXStartTime
JumpToCurrentTime Method
Purpose: To move the axis of a specified line, and associated lines, so that the current time is within
the visible time span on the trend. This lets you see the latest incoming values if the line has
run-time information.
To configure the JumpToCurrentTime method:
GFK-1260F
1.
Select the JumpToCurrentTime Method for the Invoke method Action type.
2.
Click Advanced.
The Edit Method dialog box opens displaying JumpToCurrentTime.
Trend Methods
3-21
Entry is required
3.
Enter one of the following for LineID to name what lines should jump to the current
time.
Entry
Identifies
4.
3-22
Existing Line ID
The X-axis associated with the line
(Optional) Enter a Method result. Use a Point ID in the Analog Point Class with a
Data Structure Type of BOOL. You can use a device or global Point ID.
When you invoke the method, the Method result contains the number of lines that
jumped to the current time.
GFK-1260F
PauseUpdates Method
To pause or resume updates in the trend.
To configure the PauseUpdates method:
1.
2.
Click Advanced.
The Edit Method dialog box opens displaying PauseUpdates.
Entry is required
3.
4.
0 resume trending
1 pause the trend
2 toggle the current pause
state
2
Toggle the current pause state of the trend.
(Optional) Enter a Method result. Use a Point ID in the Boolean Point Class with a
Data Structure Type of BOOL. You can use a device or global Point ID.
When you invoke the method, the Method result contains 0.
While the trend is paused, "PAUSED" displays in the upper left corner of the chart.
GFK-1260F
Trend Methods
3-23
ScrollLines Method
Purpose: To scroll all lines that can be scrolled on the chart by the indicated percentage.
To configure the ScrollLines method:
1.
2.
Click Advanced.
The Edit Method dialog box opens displaying ScrollLines.
A.
B.
A. 0 scroll left
Entry is required
1 scroll right
B. Percent scroll
between 0 and100
Scroll left
Scroll right
3-24
GFK-1260F
4.
(Optional) Enter a Method result. Use a Point ID in the Boolean Point Class with a
Data Structure Type of BOOL. You can use a device or global Point ID.
When you invoke the method, the optional Method result contains one of the
following values:
Value
Method Result
SetXDuration Method
Purpose: To change the X-axis duration settings for a single line or all lines on the chart that use the
chart X-axis and scrolls lines to beginning of chart.
To configure the SetXDuration method:
1.
2.
Click Advanced.
The Edit Method dialog box opens displaying SetXDuration.
A.
B.
A. Identifies line for x-axis
Entry is required
GFK-1260F
Trend Methods
duration change
B. (Seconds x Time) and
additional milleseconds
3-25
4.
Method Result
SetXStartTime Method
Pupose: To specify a start time of the X-axis for the chart or indicated line and redraw the trend.
To configure the SetXStartTime method:
3-26
1.
2.
Click Advanced.
The Edit Method dialog box opens displaying SetXStartTime.
GFK-1260F
A.
B.
C.
A. Identifies line for x-axis
duration change
Entry is required
Enter the:
<day>
<month>
<year>
<hh>
<mm>
<ss>
<pp>
Example:
"02 Feb 1997 07:00 AM"
"15 Mar 1997 3:45:15 PM"
4.
GFK-1260F
Method Result
Trend Methods
3-27
Y-axis Methods
Trending provides you with the following methods to let a Trend user change the yaxis during runtime:
Invoke method
Method
SetLineYAxis
SetYAxisVisible
SetLineUseChartY
SetLineYAxis Method
Purpose: To change the Y-axis settings for a single line or all lines that use the chart Y-axis.
To configure the SetLineYAxis method:
3-28
1.
2.
Click Advanced.
The Edit Method dialog box opens displaying SetLineYAxis.
GFK-1260F
A.
B.
C.
D.
A. Identifies line for
y-axis change
Entry is required
B. Y-axis Lower ,
Upper Limit s
C. 0Invisible
1Visible
D. 0Disable autoscaling
1Enable autoscaling
GFK-1260F
Trend Methods
Not Autoscale
Perform Autoscaling
3-29
4.
(Optional) Enter a Method result. Use a Point ID in the Boolean Point Class with a
Data Structure Type of BOOL. You can use a device or global Point ID.
When you invoke the method, the optional Method result contains one of the
following values:
Value
Method Result
SetYAxisVisible Method
Purpose: To change the visibility of one or all Y-axes on the Trend Control.
To configure the SetYAxisVisible method:
1.
2.
Click Advanced.
The Edit Method dialog box opens displaying SetYAxisVisible.
A.
B.
Entry is required
3-30
B. 0Y-axis off
1Y-axis on
GFK-1260F
4.
1
2
(Optional) Enter a Method result. Use a Point ID in the Boolean Point Class with a
Data Structure Type of BOOL. You can use a device or global Point ID.
When you invoke the method, the optional Method result contains one of the
following values:
Value
Method Result
Note: Make sure your trend has Y-axis display type of Multiple if you want more than one
Y-axis visible at the same time.
SetLineUseChartY Method
Purpose: To change the lines Y-axis to either the Chart Y Axis or an axis whose ID is the lines ID
plus a _Y suffix.
To configure the SetLineUseChartY method:
GFK-1260F
1.
2.
Click Advanced.
The Edit Method dialog box opens displaying SetLineUseChartY.
Trend Methods
3-31
A.
B.
A. Identifies line whose Chart
Entry is required
3.
1
Use the Chart Y-axis
(Optional) Enter a Method result. Use a Point ID in the Boolean Point Class with a
Data Structure Type of BOOL. You can use a device or global Point ID.
When you invoke the method, the optional Method result contains one of the
following values:
Option 1 If the line was using the Chart Y Axis and UseChartYAxis is 0, when
the method is invoked, Trending disables and Chart Y-axis and maintains the
current settings.
Option 2 If the line was not using the Chart Y Axis and UseChartYAxis is 1,
then when the method is invoked the Chart Y Axis is enabled and the current
chart axis settings are used.
Value
Method Result
3-32
GFK-1260F
ResetZoom
SetGridState
ResetZoom Method
Purpose: To reset the zoom on a trend to 100%.
To configure the ResetZoom method:
Select ResetZoom Method for the Invoke method Action type.
Check to require
confirmation at
runtime
SetGridState Method
Purpose: To change the grid visibility for the Trend Control.
To configure the SetGridState method:
GFK-1260F
1.
2.
Click Advanced.
The Edit Method dialog box opens displaying SetGridState.
Trend Methods
3-33
Entry is required
3.
4.
3-34
0 Grid off
1 Grid on
1
2
(Optional) Enter a Method result. Use a Point ID in the Boolean Point Class with
a Data Structure Type of BOOL. You can use a device or global Point ID.
When you invoke the method, the optional Method result contains one of the
following values:
Value
Method Result
Grid is visible
GFK-1260F
EnableOutstandingLoggedRequestStateEvents
Enables the firing of logged data wait state events in the
Trend control.
DisableOutstandingLoggedRequestStateEvents
Disables or turns off the firing of logged data request wait
state events in the Trend control.
EnableOutstandingLoggedRequestStateEvent Method
Purpose: To enable the firing of logged data wait state events in the Trend control.
To configure the EnableOutstandingLoggedRequestStateEvent method:
GFK-1260F
1.
2.
Click Advanced.
The Edit Method dialog box opens displaying
EnableOustandingLoggedRequestStateEvent.
Trend Methods
3-35
A.
B.
A. Seconds Trend checks logged
Entry is required
3.
DisableOutstandingLoggedRequestStateEvent Method
Purpose: To disable the firing of logged data wait state events in the Trend control.
To configure the DisableOutstandingLoggedRequestStateEvent method:
1.
3-36
GFK-1260F
EnteringOutstandingLoggedRequestState Event
Purpose: Fired when the Trend control has determined that it has logged data requests that have been
outstanding (waiting) for longer than the number of seconds determined by the threshold.
To configure the EnteringOutstandingLoggedRequestState event:
1.
EnteringOutstandingLoggedRequestState
Events drop
down list
Procedure
associated
with selected
event
New / edit
procedure
popup
2.
GFK-1260F
Create an Action for the event. This action can be either a script or a procedure in
CimView.
Trend Methods
3-37
LeavingOutstandingLoggedRequestState Event
Purpose: Fired when the Trend control has determined that it no longer has any logged data requests
that are outstanding.
To configure the LeavingOutstandingLoggedRequestState event:
1.
Events drop
down list
Procedure
associated
with selected
event
2.
3-38
New / edit
procedure
popup
Create an Action for the event. This action can be either a script or a procedure in
CimView.
GFK-1260F
Other Methods
Trending also provides you with methods to:
Invoke method
Method
AboutBox
SetCimplicityProject
AboutBox Method
Purpose: To display the Help About dialog box for the CIMPLICITY Trend control.
To configure the AboutBox method:
Select AboutBox Method for the Invoke method Action type.
Check to require
confirmation at
runtime
SetCimplicityProject Method
Purpose: To set the CIMPLICITY project that will be used by the Trend Control when it displays
data.
To configure the SetCimplicityProject method:
GFK-1260F
1.
2.
Click Advanced.
The Edit Method dialog box opens displaying SetCimplicityProject.
Trend Methods
3-39
Entry is required
3.
Project name
Enter a string that names the project CIMPLICITY should use for the Trend Control.
Note: When you invoke this method, the selected project will be used for all point lines
where the Point ID is not fully qualified.
3-40
GFK-1260F
Using the same CIMPLICTY Trend Control Properties dialog box as you use in
CimEdit.
Creating quick changes to the display by using Quick Trends several popup menus.
Adding more trend lines for other data sources
You can even save your configured chart for future reference.
GFK-1260F
4-1
4-2
GFK-1260F
Added lines
Changes include:
Chart color
Line:
w Color
w Style
w Width
Axes font size
Background color
Legend:
w Font
w Display
Status display
Note: The most recent four trends that are saved, appear on the File drop down menu
GFK-1260F
4-3
2.
Place the cursor over the area you want to modify, including:
Chart
Legend
Status bar
X-axis
Y-axis
Click the right mouse button.
A popup menu, with items that relate to the area you selected, appears.
See the "Configuring a Trend Chart" in this manual for more information about the popup
menus.
4-4
GFK-1260F
Introducing XY Plots
About XY Plots
XY Plots provide you with the ability to visually represent values in relation to each other.
For example, you can plot real data vs. calculated date, or elements such pressure vs.
temperature.
XY Plots provides you with:
An extensive XY Plot object model with which you can script XY Plots that are as
easy or as complex as you need.
A SmartObject XY Control with which you can quickly create an effecty XY Plot.
You have considerable control over what an XY Plot displays and its appearance using any of
the tools that XY Plot provides.
Minimum detail so a user can view quickly view the pattern of relative values
All the details a user needs to fully analyze any of the XY series
Allow a runtime user, for the one runtime session, specify what should display.
For display, you can choose the colors, line types and fonts that you think will work best.
GFK-1260F
5-1
Choose chart
color
Display titles
Choose chart
background color
Show/hide lines
Choose
Step, scatter
or
smooth curve
Choose line
style / color
Display x-axis ticks
/ numbersOptional
Display scroll
buttonsOptional
Slider
Color
of
Series
Sliders
Display Slider
legend and
specific details
Optional
Display Series
Specify font and style
legend and
specific details Display sparse detail
Optional
Grid
Gridlines
Lines
Each line
Legends
Entire legend
Legend features
Axes
5-2
Series legend
Slider legend
Specific features:
Title
Sliders value
GFK-1260F
You can also specify how the charts many display features will appear.
Display feature
Colors
Series
Axes
Add or remove
Sliders
Add or remove
Fonts
Change the style and size
You configure this powerful feature in CimEdit and display it in CimView. The XY Plot is an
ActiveX control that you can configure as follows.
1.
2.
3.
If you want to begin with a chart that is pre-configured, you can take advantage of the XY
SmartObject. The SmartObject provides you with
GFK-1260F
Introducing XY Plots
5-3
Designing an XY Plot
XY properties and methods in scripts See the "Plotting XY Data" chapter in this
manual or more information
You will discover that two types of attributes are common to several of the chart parts. You
can use the same methods to configure them in all instances. They are.
Colors
Fonts
GFK-1260F
Axes
Series
Sliders
Grid
Legend
Title
6-1
2.
Place the ActiveX Placement cursor where you want the top left corner of the control
to be located. You can move the control any time you want.
3.
4.
5.
6.
Click OK. A new XY Plot control is placed at the position you selected in your
CimEdit screen.
CIMPLICITY XY Plot
Control
6-2
GFK-1260F
Increase width
Increase in proportion
Increase height
Method 2Precision
1.
2.
Select Properties.
Go to "Continue (after choosing from Methods 2-4)"
Method 3-Precision
Click the Properties button on the Format toolbar.
Go to "Continue (after choosing from Methods 2-4)"
GFK-1260F
Designing an XY Plot
6-3
Method 4Precision
1.
2.
2.
Enter the width and / or height for the XY Plot in the Width field and Height field.
2.
3.
4.
Method 2
6-4
1.
2.
3.
4.
GFK-1260F
The XY Plot Properties dialog box opens when you use any method.
Click the drop-down list button that is to the right of a Color input field.
Basic Palette
Palette tab
Special tab
2.
GFK-1260F
Designing an XY Plot
6-5
Click the drop-down list button to the right of the Color input field.
2.
Color picker
Luminosity picker
3.
Do one or more of the following until you have created the color you want. You can
see the exact color and the solid color that is closest to it in the Color|Solid box.
A. Move the Color picker around to change the color.
B. Enter exact Index values for any or all of the colors in the color fields.
0 for all colors = Black.
0 for one color = Black for that value
255 for all colors = White
255 for one color = Pure red, green or blue for that value
The color that displays reflects the combination of the three entries
C. Move the Luminosity picker up and down to change the amount of light
(absence of black) in the color.
6-6
GFK-1260F
D. Enter an exact value that specifies the amount of light in the color in the Lum
field.
0 = Black (The colors values will change to 0)
240 = White (The colors values will change to 255.
Any changes you make in this value will affect all the colors.
E. Specify how vivid the color specified by the balance of the three basic colors
should be in the Sat field.
0 = Gray
240 = No gray.
F. Specify the balance of red, green and blue that you want in the Hue field. This
balance is calculated against the values that are already in the Color fields.
4.
Decide whether to use the exact color or the solid color displayed in the Color|Solid
box. possibilities are:
A. The exact color is the same as the solid color.
B. The exact color is dithered, a pattern of dots that simulates the color. Only the
solid portion of a dithered color will display in a pattern.
C. The solid color that is closest to exact color.
5.
Modifying a Color
You can modify any color on the palette. If you choose a standard color to modify, the
customized color appears in the customized section of the palette.
To modify a color:
1.
Click the drop-down list button to the right of the Color input field.
2.
3.
4.
5.
GFK-1260F
Designing an XY Plot
6-7
Choosing a Font
Whenever you have to specify a font and its characteristics in XY, you can do so in a basic
Windows 95/NT Font dialog box.
To specify a font for an XY Plot text item:
1.
2.
Select the Font. If you use TrueType fonts, users can resize a screen in CimView and
still have the text display in proportion to the rest of the objects on the screen.
3.
4.
Style
Size
Script
Check the Strikeout and/or Underline check boxes to display the font with those
effects.
Note: The font color is the foreground color. The color in the Font dialog box, therefore does
not apply to the XY Plot fonts.
6-8
GFK-1260F
Use the ambient colors specified for the CimEdit screen on which you are
configuring the XY Plot.
Background
Foreground
Chart
2.
BackgroundColor
ChartColor
ForegroundColor
The CIMPLICITY HMI palette opens.
3.
The XY Plot control provides properties that enable you to use CimEdit ambient colors as the
XY Plot background, chart and foreground colors. The default, for these properties, is True.
When you specify a color XY automatically changes using the ambient to False.
GFK-1260F
Designing an XY Plot
6-9
To use the CimEdit ambient colors for the XY Plot background, chart and
foreground colors:
1.
2.
Specify the value as True for any of the following properties. (The default is True.)
UseAmbientBackgroundColor
UseAmbientChartColor
UseAmbientForegroundColor
6-10
GFK-1260F
2.
GFK-1260F
Designing an XY Plot
6-11
.
Method 3
Double click X or Y.
When you use any method, the tree expands to display:
Count (Read only)
2.
Item
The properties appear in a tree under Item.
Use any of the methods you used for X or Y to expand Item. (Choose Expand from
the popup menu list, if you choose that method.)
Note: Follow any of the three methods when the tree is expanded to collapse the tree. Select
Collapse from the popup menu.
2.
Use any of the three methods described in Step 1 to expand the axis tree and to
expand properties in the tree that have a
to their left. (Choose Expand from the
popup menu list, if you choose that method.)
Step 3: Choose the location of and data flow direction along an X or Y-axis:
1.
6-12
Select Orientation under XItem or YItem to specify the location of the axis on an
XY Plot.
Orientation
apOrientationBottom
apOrientationLeft
apOrientationRight
apOrientationTop
GFK-1260F
2.
apDirectionForward
apDirectionBackward
apNumberInteger
apNumberFixed
apNumberScientific
apNumberCompact
apNumberAbsoluteTime
apNumberRelativeTime
apNumberCustom
2.
GFK-1260F
Entry
Displays
dd
ddd
dddd
MM
MMM
Designing an XY Plot
6-13
MMMM
yy
yyyy
hh
HH
mm
ss
tt
Example
To display 01/01/1999 12:05:00 AM
Use the format string: MM/dd/yyyy hh:mm:ss tt.
B. For apNumberCustom, select the item Custom. Use a format string in the
standard C language format notation to display a number.
C. For apNumberScientific or apNumbercompact, select Precision if you need to
change it from the default of 6.
D. For apNumberRelativeTime, select RelativeTime. Choose one:
6-14
Entry
apTimeDDHHMMSS
Day:hours:minutes:seconds
apTimeHHMMSS
Hours:minutes:seconds.
apTimeHHTenths
apTimeMMSS
Minutes:seconds.
apTimeMMTenths
GFK-1260F
2.
Click the
3.
Displays
apPenDash
apPenDashDot
apPenDashDotDot
4.
apPenSolid (Default)
Specify the line Width.
A value of 1 is equivalent to 1/100th of a millimeter. This equivalence applies in
CimView only when the screen is at 100% zoom.
The value of this property defaults to 0, which corresponds to a 1 pixel width
regardless of the graphical device (e.g display versus a printer).
2.
Click the
3.
4.
False (Default)
The label count is manually specified.
Select Count to specify how many ticks should appear. The default is 2.
5.
GFK-1260F
i.
ii.
Set UseAmbientFont to True. The ambient font for the CimEdit screen will
be used. The default is True.
Designing an XY Plot
6-15
Select the Mode under X-Item or Y-Item in which the axis limits will perform during
runtime.
Mode
apAxisAutoscaled
Low and high limits change to fit all the data values
of all the series that use the axis.
The increment used on the high limit is based on the
decimal base of the largest series data value.
The decrement used on the low limit is based on the
decimal base of the smallest series data value.
If the largest data value increments between 1 and 9,
the high limit increments in single digits because the
decimal base is 1.
When the value reaches 10, the limit increments in
double digits, 10, 20 ,30, etc. When the value reaches
100, the limit incrments in triple digits, 100, 200,
300, etc. The same principle works for the low limit.
apAxisFixed
apAxisScrolled
3.
4.
100
Low
0
If apAxisScrolled is selected, configure the Backward and Forward scroll buttons.
A. Click the
B. Specify whether or not to display the Full Backward Scroll button, e.g.
when the X-axis is in the Forward direction.
i.
Click the
ii.
Set Visible to True to display the button, False to hide the button.
C. Specify whether or not to display the Partial Backward Scroll button, e.g.
when the X-axis is in the Forward direction.
6-16
i.
Click the
ii.
Set Visible to True to display the button, False to hide the button.
GFK-1260F
e.g.
i.
Click the
ii.
Set Visible to True to display the button, False to hide the button.
iv. Set Visible to True to display the button, False to hide the button.
Step 8: (Optional) Add additional axes:
1.
2.
3.
5.
Click OK.
A next number up from the number of existing X or Y-axes appears under Item.
Example
You had one X-axis. You add a second. The first X-axis appears in the list under
Item as 0. The second will be listed as 1.
GFK-1260F
Designing an XY Plot
6-17
New X-axis
6.
Original X-axis
Expand the new axis and configure it using the same steps you used for the previous
axis.
Important: When you select Add, XY immediately adds an axis. It does not wait for you to
click the Apply button.
Step 9: Configure properties to prioritize an axis and identify it:
1.
Specify the Order of priority in which the axis will be addressed by the XY Plot. The
default is the lowest priority.
Example
The XY Plot has three axes. You add a fourth.
The fourth axis default order will be 3 (0, 1, 2, 3).
2.
3.
ii.
Either
a.
b.
Set UseAmbientFont to True. The ambient font for the CimEdit screen
will be used.
B. Specify the title content.
i.
Select Value.
ii.
Enter the text that you want to display. The default is X Axis under the X
and Y Axis under the Y.
C. Select True for Visible in the tree under Title to display the title. The default is
True.
4.
6-18
Select True for Visible (in the path under XItem or YItem) to display the axis. The
default is True.
GFK-1260F
Select Item.
2.
3.
2.
3.
Select Remove.
Important: When you select Remove All or Remove, XY Plot immediately makes the
removal. It does not wait for you to click the Apply button. Therefore, select those two
options very carefully. (If you saved the CimEdit screen before you accidentally remove an
item, close the CIMPLICITY XY Plot Control Properties dialog box and the CimEdit screen
without saving it. The screen will re-open with the last saved features, including the features
you removed.)
GFK-1260F
Designing an XY Plot
6-19
2.
Designing a Series
Following are some quick steps to customize every property for a series.
Step 1: Add additional series.
Step 2: Configure properties that identify the series.Step 3: (Optional) Remove series.
Step 4: Expand the tree under Series. (You can collapse whatever you expand.)
Step 5: Expand a selected series.
Step 6: Select the type of series.
Step 7: Configure a fill (brush) for a series.
Step 8: Configure the markers.
Step 9: Configure the line (pen).
Step 10: Configure the X and Y-axes for the series.
Step 11: Specify if a series values should be in the legend.
6-20
GFK-1260F
2.
3.
5.
6.
Click OK.
A next number up from the number of existing series appears under Item.
Example
You had one Series. You add a second. The first series appears in the list under Item
as 0. The second will be listed as 1.
Automatically displays the total number
of series
New series
7.
GFK-1260F
Original series
Expand the new series and configure it using the same steps you used for the
previous series.
Designing an XY Plot
6-21
2.
Select True for InLegend to have the series should appear in the legend. The default
is True.
3.
Select True for Visible (in the tree under the SeriesItem) to display the series. The
default is True.
Select Item.
2.
3.
2.
3.
Select Remove.
Important: When you select Remove All or Remove, XY Plot control immediately makes
the removal. It does not wait for you to click the Apply button. Therefore, select those two
options very carefully.
Step 4: Expand the tree under Series:
1.
6-22
GFK-1260F
Method 3
Double click Series.
The tree expands to display:
Count (Read only)
3.
Item
The properties appear in a tree under Item.
Use any of the methods you used for Series to expand Item. (Choose Expand from
the popup menu list, if you choose that method.)
Note: Follow any of the three methods when the tree is expanded to collapse the tree. The
popup menu displays as Collapse
.
Step 5: Expand a selected Series:
1.
2.
Use any of the three methods described in Step 1 to expand the axis tree and to
expand properties in the tree that have a
to their left. (Choose Expand from the
popup menu list, if you choose that method.)
Defines
apSeriesScatter
apSeriesStandard (Default)
apSeriesStep
2.
GFK-1260F
apBrushSolid
Solid color
apBrushHatch
Hatch (pattern)
Designing an XY Plot
6-23
4.
Select a HatchStyle for the brush if you selected apBrushHatch as the type.
apHatchBackwardDiagonal
apHatchCross
apHatchDiagonalCross
apHatchForwardDiagonal
apHatchHorizontal
apHatchVertical
2.
Displays a:
apMarkerCircle
Circle
apMarkerSquare
Square
apMarkerTriangle
Triangle
3.
Select True for Visible (in the tree under Markers) to make the markers for the series
visible.
4.
2.
Displays
apPenDash
apPenDashDot
apPenDashDotDot
apPenSolid (Default)
6-24
GFK-1260F
4.
2.
3.
Select the axis that you want to associate from the list of available axes. See the "XY
Series Properties" section in this chapter for procedures to configure an X or Y-axis.
2.
Set InLegend to True to display the series' values in the Series Legend; False to
omit the series from the legend.
Note: You specify the type of value to display under Legends in the CIMPLICITY
XY Plot Control Properties dialog box.
GFK-1260F
1.
2.
Enter, in the Count field, the number of X,Y points (represented by markers) that
you want to display.
3.
Expand X.
4.
Expand Item.
Designing an XY Plot
6-25
The number you entered in the DataCount field, displays in the X-Count field.
The list of X numbers (coordinates), for which you can enter values totals the Count
value.
5.
6.
6-26
GFK-1260F
Move data backward and display data that might no longer be on the chart
2.
Designing a Slider
Following are four quick steps to customize every property for a slider.
Step 1: Expand the tree under Sliders. (You can collapse whatever you expand.)
Step 2: Expand a selected Slider..
Step 3: Select the Type of Slider.
Step 4: Configure the line (pen) for a slider.
Step 5: Specify the sliders initial position and its visibility.
Step 6: Specify if a sliders values should be in the legend.
Step 7: (Optional) Add additional sliders.
Step 8: Configure properties to prioritize a slider and identify it.
Step 9: (Optional) Remove sliders.
GFK-1260F
Designing an XY Plot
6-27
Method 3
Double click X or Y.
When you use any method, the tree expands to display:
Count (Read only)
2.
Item
The properties appear in a tree under Item.
Use any of the methods you used for Sliders to expand Item. (Choose Expand from
the popup menu list, if you choose that method.)
2.
Use any of the three methods described in Step 1 to expand the axis tree and to
expand properties in the tree that have a
to their left. (Choose Expand from the
popup menu list, if you choose that method.)
Displays the:
apSliderVertical (Default)
6-28
GFK-1260F
apSliderHorizontal
2.
Displays
apPenDash
apPenDashDot
apPenDashDotDot
4.
apPenSolid (Default)
Select line Width for the slider line.
A value of 1 is equivalent to 1/100th of a millimeter. This equivalence applies in
CimView only when the screen is at 100% zoom.
The value of this property defaults to 0, which corresponds to a 1 pixel width
regardless of the graphical device (e.g display versus a printer).
Specify the slider's Position as a percent (0 to 100). This is the position the slider will
be at whenever the XY Plot is opened.
The designated percent indicates the position from left to right for a vertical slider;
bottom to top, for a horizontal slider.
2.
Select True for Visible (in the tree under the SlidersItem) to display the slider. The
default is True.
2.
Leave the InLegend default of True to display the slider's values in the Slider
Legend; set it to False to omit the slider from the legend.
Note: You specify the type of value to display under Legends in the CIMPLICITY
XY Plot Control Properties box.
GFK-1260F
Designing an XY Plot
6-29
2.
3.
5.
6.
Click OK.
A next number up from the number of existing series appears under Item.
Example
You had one slider. You add a second. The first slider appears in the list under Item
as 0. The second will be listed as 1.
Automatically displays the total number
of slider
New slider
7.
6-30
Original slider
Expand the new slider and configure it using the same steps you used for the
previous slider.
GFK-1260F
Specify the Order of priority in which the slider will be addressed by the XY Plot.
The default is the lowest priority.
Example
The XY Plot has three sliders. You add a fourth.
The fourth sliders default order will be 3 (0, 1, 2, 3).
2.
3.
Leave Visible as True to display the slider; select False to hide it.
Select Item.
2.
3.
2.
3.
Select Remove.
Important: When you select Remove All or Remove, XY Plot immediately makes the
removal. It does not wait for you to click the Apply button. Therefore, select those two
options very carefully.
GFK-1260F
Designing an XY Plot
6-31
2.
6-32
GFK-1260F
Method 2
A. Click the right mouse button.
B. Click the Expand popup menu.
Method 3
Double click Grid.
The tree expands to display the grids property options.
Note: Follow any of the three methods when the tree is expanded to collapse the tree. The
popup menu displays as Collapse.
.
Step 2: Design the line (pen) for a grid:
1.
2.
Click the
3.
Displays
apPenDash
apPenDashDot
apPenDashDotDot
5.
apPenSolid (Default)
Specify the line Width.
A value of 1 is equivalent to 1/100th of a millimeter. This equivalence applies in
CimView only when the screen is at 100% zoom.
The value of this property defaults to 0, which corresponds to a 1 pixel width
regardless of the graphical device (e.g display versus a printer).
GFK-1260F
Designing an XY Plot
6-33
2.
2.
6-34
GFK-1260F
.
Method 3
Double click Legends.
The tree expands to display the titles property options.
Note: Follow any of the three methods when the tree is expanded to collapse the tree. The
popup menu displays as Collapse.
.
Step 2: Make the legends visible:
1.
2.
Select True.
3.
Press Apply.
GFK-1260F
Designing an XY Plot
6-35
2.
Select one of the following to place the legend relative to the chart.
Location relative to the chart
apOrientationBottom (default)
Bottom
apOrientation Left
Left
apOrientationRight
Right
apOrientationTop
Top
2.
3.
4.
apBrushSolid
Solid color
apBrushHatch
Hatch (pattern)
D. Select a HatchStyle for the brush if you selected apBrushHatch as the type.
apHatchBackwardDiagonal
apHatchCross
apHatchDiagonalCross
apHatchForwardDiagonal
apHatchHorizontal
apHatchVertical
6-36
GFK-1260F
5.
Shows the
apLegendColor
Series color
apLegendSeriesName
Series name
apLegendSeriesValueAtSlider
apLegendSeriesValueAtIndex
Select True for ShowX to display the series X values; False to display the
series Y values.
ii.
Enter an Index value that contains the index to the series data value that
you want to display.
Example
If you enter 0 in the Index row, the column will display the first data value
(X or Y, depending on the value of ShowX.
F. Enter text that displays as the column header in the Header row. The text
normally describes the type of value the column is reporting.
G. Specify the column width.
Set AutoWidth to True to make the column width expand or contract to
accommodate the width of its values, or
Set AutoWidth to False and enter a value in the Width row.
A value of 1 is equivalent to 1/100th of a millimeter (when a CimView
screen is at 100% zoom).
H. Enter a number in the Order row that defines the order in which the column
should appear in the legend, from left to right. For example, 0 is the first column
at the left of the legend; 1 is to Column 0s right.
I.
GFK-1260F
ii.
Designing an XY Plot
6-37
J.
ii.
2.
3.
5.
i.
Click the Font button on the LegendSlider Font row and open the Font
dialog box to configure the font, or
ii.
ii.
6-38
Type
apBrushSolid
Solid color
apBrushHatch
Hatch (pattern)
GFK-1260F
D. Select a HatchStyle for the brush if you selected apBrushHatch as the type.
apHatchBackwardDiagonal
apHatchCross
apHatchDiagonalCross
apHatchForwardDiagonal
apHatchHorizontal
5.
apHatchVertical
Configure the legends columns for the XY Plots slider.
A. Expand Columns under LegendsSlider.
The number of columns currently in the header appears (grayed out) in the
Count row. You can add additional columns or delete existing ones.
B. Expand Item.
Each number that appears represents a column in the order that it displays, from
left to right, e.g. 0 represents the column that is furthest left.
C. Set Visible to True to make the column visible; False to hide it.
D. Specify the type of sliders value that appears in the legend. The options are:
Option
Shows the
apLegendName
Slider name
apLegendSliderValue
Value of a slider relative to an axis
E. Make specifications when apLegendSliderValue is selected.
Enter an Index value that specifies the axis you want to use. The index is the
position of the axis in the X or Y-axis collection. For a vertical slider the axis
F.
ii.
GFK-1260F
Designing an XY Plot
6-39
I.
ii.
6.
ii.
2.
6-40
GFK-1260F
.
Method 3
Double click Title.
The tree expands to display the titles property options.
Note: Follow any of the three methods when the tree is expanded to collapse the tree. The
popup menu displays as Collapse
.
Step 2: Specify an XY title content:
1.
2.
2.
Either
A. Click the Font Dialog Box button
and configure the font in the Font dialog
box. The font you configure will be used.
B. Set UseAmbientFont to True. The ambient font for the CimEdit screen will be
used. The default is True.
GFK-1260F
Designing an XY Plot
6-41
XY Plot Updates
When you make a change in an XY Plot, it automatically updates by default.
Turning of the automatic update stops a chart from being refreshed by your configuration.
However, other actions, such as moving the dialog box over the chart will invalidate the
current settings and cause the screen to refresh itself. This will update the chart to the most
current settings.
This feature is most useful if you are doing complicated scripting and want to minimize the
screen updates.
To specify an XY Plots update method:
6-42
1.
2.
Select AutoUpdate.
3.
False
GFK-1260F
Plotting XY Data
Open the CimEdit Properties dialog box for the XY Plot control object.
2.
3.
GFK-1260F
7-1
Example 2: Create a series through an object other than the XY Plot control
object:
Series name: Series 1 (displays in an XY Plot control object in a CimView screen)
Scripting purpose: Create a series through and object other than the XY Plot Control object
model
Procedure:
1.
Open the CimEdit Properties dialog box for the XY Plot control object.
2.
3.
4.
Open the CimEdit Properties dialog box for and object that is not an XY Plot control.
5.
6.
CimSeries is
Stores its two-dimensional data values in two vectors, X and Y, of fixed size.
CimPairData is
CimData is
CimPairData and CimData have properties and methods that allow you to perform various
operations on the data values. You can:
7-2
Insert one or more values either from the end of the vector or at a specific location
within the vector within the same operation.
GFK-1260F
Open the CimEdit Properties dialog box for the XY Plot control object.
2.
3.
GFK-1260F
Allows you to get and set individual data values within the vector.
Is the default property of CimData. It can be invoked without having to write its
name.
Returns a single variant type when retrieving data and expects a single variant type
when setting the data.
Plotting XY Data
7-3
This variant type can be a single value of any of the following Basic types that result
in a numeric value including:
Integer
Long
Single
Double
Decimal
Boolean
Byte
Variant
String
To invoke the Item property to retrieve data you can use either of the following two formats:
X = CimData.Item(n)
X = CimData(n)
where
n is the location of the data value you are retrieving.
To invoke the Item property to set data you can use either of the following two
formats:
CimData.Item(n) = X
CimData(n) = X
where
n is the location of the data value you are setting.
Scripting examples for setting individual data values include:
Example 1: Access individual data values from the series vectors:
Series name: Series 1
Script purpose: Set a point to the third Y data value
Procedure:
1.
Open the CimEdit Properties dialog box for the XY Plot control object.
2.
7-4
GFK-1260F
Example 2: Set individual data values from the series vectors to a particular
value:
Series name: Series 1
Script purpose: Set the fifth X data value to the value of a point
Procedure:
1.
Open the CimEdit Properties dialog box for the XY Plot control object.
2.
3.
Example 3: Set individual data values from the series vectors to unavailable:
Series name: Series 1
Script purpose: Set the fourth y data value to null, the fourth X data value to empty
Both operations result in the value being unavailable.
Procedure:
1.
Open the CimEdit Properties dialog box for the XY Plot control object.
2.
GFK-1260F
Allows you to insert one or more pairs of X and Y data values through the end of the
X and Y vectors. This is particularly useful if your series plots a continuous flow of
data. An example of continuous flow of data is a function curve such as cosine of an
incremental variable.
Plotting XY Data
7-5
Integer
Long
Single
Double
Decimal
Boolean
Byte
Variant
String
10
15
20
25
30
22
17
-7
22
41
35
40
45
50
59
37
21
25
30
35
40
45
50
22
41
59
37
21
The first four pairs of XY values have been removed from the series because the size of the X
and Y vectors is fixed.
Scripting examples for pushing single and array values include:
Example 1: Push one X and one Y value through the end of the series vectors
Example 2: Push arrays of X and Y values through the end of the series vectors
Example 1: Push one X and one Y value through the end of the series vectors
Series name: Series 1
Script purpose: Push an integer and a double value into Series 1
Procedure:
7-6
1.
Open the CimEdit Properties dialog box for the XY Plot control object.
2.
GFK-1260F
3.
Example 2: Push arrays of X and Y values through the end of the series vectors
Series name: Series 1
Script purpose: Create an array of variant values and an array of double values and push
them into Series 1
Procedure:
1.
Open the CimEdit Properties dialog box for the XY Plot control object.
2.
3.
GFK-1260F
Plotting XY Data
7-7
Array points
Option 2
Use the following format to push the values of two points using a combination of Get
and Value:
Point.Get
CimPairData.Push Point.Value, Point.Value
Option 2
Use the following format to push the values of two points using a combination of Get
and SafeArray.
Point.Get
CimPairData.Push Point.SafeArray, Point.SafeArray
Scripting examples for pushing values from single points and array points include:
Example 1: Push one X and one Y value through the end of a series vectors:
Series name: Series 1
Script purpose: Push the single values of two CIMPLICITY points into Series 1
Procedure:
7-8
1.
Open the CimEdit Properties dialog box for the XY Plot control object.
2.
GFK-1260F
3.
Example 2: Push arrays of X and Y values through the end of a series vectors
Series name: Series 1
Script purpose: Push the array values of two CIMPLICITY HMI points into Series 1
Procedure:
1.
Open the CimEdit Properties dialog box for the XY Plot control object.
2.
3.
GFK-1260F
Single values or
Plotting XY Data
7-9
The number of data values actually set is the smallest of either the:
Number of data values between the specified index and the end of the series vector.
Set expects
Integer
Long
Single
Double
Decimal
Boolean
Byte
Variant
String
The value must correspond to a valid location within the series X and Y vectors.
7-10
Integer
Long
Single
Double
Decimal
Boolean
Byte
Variant
String
GFK-1260F
10
15
20
25
30
22
17
-7
22
41
You set the following X and Y values starting at location 2 (index 1):
X
35
40
45
50
59
37
21
35
40
45
50
30
22
59
37
21
41
The XY values at locations 2 through 5 are updated with the new values.
Scripting examples for setting single and array values include:
Example 1: Set the fifth location in a series
Example 2: Create an array of variant values in a series
Example 1: Set the fifth location in a series:
Series name: Series 1
Scripting purpose: Set the fifth location (index 4) in Series 1. The X is set to an integer and
the Y to a double value.
Procedure:
1.
Open the CimEdit Properties dialog box for the XY Plot control object.
2.
3.
GFK-1260F
Plotting XY Data
7-11
Open the CimEdit Properties dialog box for the XY Plot control object.
2.
3.
7-12
For
Array points
GFK-1260F
Option 2
Use the following format to set the values of two points using a combination of Get and
Value:
Point.Get
CimPairData.Set Index Point.Value, Point.Value
Option 2
Use the following format to set the values of two points using a combination of Get and
SafeArray.
Point.Get
CimPairData.Set Index, Point.SafeArray, Point.SafeArray
Scripting examples for setting values from single points and array points include:
Example 1: Set the first location in a series:
Series name: Series 1
Scripting purpose: Set the first location (index 0) in Series 1. The values of two
CIMPLICITY points are used.
Procedure:
1.
Open the CimEdit Properties dialog box for the XY Plot control object.
2.
3.
GFK-1260F
Plotting XY Data
7-13
Example 2: Set a series with the array values of two CIMPLICITY HMI points:
Series name: Series 1
Scripting purpose: Set Series 1 with array values of two CIMPLICITY HMI points. The set
starts at the first location up to the smaller of either: the size of the array points or the number
of available locations in the series.
Procedure:
1.
Open the CimEdit Properties dialog box for the XY Plot control object.
2.
3.
7-14
GFK-1260F
2.
Make a few quick entries on the tabs of the XY Plot SmartObject dialog box. The
tabs let you configure the XY charts:
Series
Axes
Grid
When you complete your initial configuration, you can continue at any time.
GFK-1260F
Double click the XY Plot Control to re-open the XY Plot SmartObject dialog box.
Click the right mouse button to display the popup menu that leads you to the
CIMPLICITY XY Plot Control Properties dialog box. See the "Designing an XY
Plot" chapter in this manual for more information about the CIMPLICITY XY Plot
Control Properties dialog box.
8-1
2.
3.
Select XY Plot.
4.
8-2
GFK-1260F
Series
Axes
Grid
When you finish your initial configuration, you can easily modify or enhance the Plot Control
whenever you want.
GFK-1260F
8-3
Series data
Update criteria
X and Y-axis
assignments
Check the Visible box if you want the series to display on the XY Plot Control.
2.
When you click the Apply button the name will change in the Series box to reflect your
entry.
Step 3: Specify the data for the series:
1.
8-4
GFK-1260F
Click the Select a Point button to the right of the X Expression field.
ii.
iii. (Optional) Enhance the Point ID with an expression operator found in the
CimEdit.
Example
Point ID can be \\CIMPDEMO\DEV1550
2.
3.
On X expression update
On Y expression update
2.
3.
For a:
Standard (Default)
Step
Scatter
Select the line Style.
Solid (Default)
Dashed
Dotted
Dashed-Dotted
Dashed-DoubleDotted
GFK-1260F
8-5
4.
5.
Select the Width for the line and the Marker (dot) edge.
6.
Axis location
Show X Axes
Show Y Axes
8-6
GFK-1260F
2.
2.
Check the Visible check box to display the axis on the XY Plot.
3.
4.
Check the Visible Title check box to display the title you entered on the XY Plot.
5.
Enter a Lower and/or Upper limit if you want either to be different from the default
of 0 and 100.
6.
During Runtime
Fixed
Autoscale
7.
Scroll
Check the Ticks checkbox to display ticks on the axis being configured.
8.
2.
GFK-1260F
8-7
3.
Select the format in which the labels will display. The choices with default precision
entries are:
Format
Precision
Result
Integer (default)
NA
33
Fixed
33.33333
Scientific
33.33333e+001
Compact
33.333
Absolute Time
h:mm:ss:tt
7:00:33 PM
Relative Time
NA
0.5
Custom
%d
33
Check the Show Y Axis or Show X Axis button, whichever represents the axis
that still needs to be configured.
Axis0 displays in the Axis box.
Tip: Check the Show button that represents the axis you just configured. You will see that
the name in the Axis box has changed to the name you entered in the Name field for that
axis.
Step 6: (Optional) Add additional axes:
1.
A dialog box displays asking you whether you want to create an X or Y-axis.
2.
3.
8-8
Configure the new axis in the same manner that you configured the primary X and
Y-axes.
GFK-1260F
3.
GFK-1260F
8-9
Check the Show Grid check box to display the grid on the XY Plot Control.
3.
4.
SolidSelect the line width in the Width drop down menu if you choose this
option
Dashed
Dotted (default)
Dash Dotted
5.
8-10
GFK-1260F
Re-open the XY Plot SmartObject dialog box by double clicking the XY Plot
Control, or
2.
Open the .
A. Click the right mouse button over the XY Plot Control.
B. Select CIMPLICITY XY Plot Control Object from the popup menu.
C. Select Properties from the extended menu.
GFK-1260F
8-11
Plot 1
X and Y-axes: autoscaled
X initial: 0 to 1000000
Y initial: 0 to 1000
Series markers: None
Slider initial position: 75
Series pen: Solid, Standard, black, Width: 25
Plot 2
X-axis: Scrolled
Y-axis: autoscaled
X initial: 0 to 1000000
Y initial: 0 to 1000
Series markers: Square, navy blue, Width: 75
Slider initial position: 40
Series pen: None
A quick description of how to create each chart can clearly demonstrate how to use the XY
Plot Control dialog boxes in order to quickly achieve the display you want. The examples
were created to help you become familiar with the process. They include only a few of the
many configuration options available to you.
The Point IDs used in the example are connected to a local PLC. You can use any Point ID
that is active in your project.
Following are the steps followed to create:
Plot 1 and
Plot 2.
8-12
GFK-1260F
Plot 1
X and Y-axes: autoscaled
X initial: 0 to 1000000
Y initial: 0 to 1000
Series markers: None
Slider initial position: 75
Series pen: Solid, Standard, black, Width: 25
2.
Configure a Series.
A. Click Add to add a series to the chart.
B. Name the series. (The example name is DEV1550xDEV1900.)
C. Check Visible.
D. Click the Select a Point button in the X Expression field.
E. Select a Point ID. (The example is \\CIMPDEMO\DEV1550.)
F.
4.
5.
Upper
1000000
Check Autoscale for the scaling.
GFK-1260F
8-13
Upper
1000
G. Check Autoscale for the scaling.
6.
7.
8.
9.
Horizontal
10. Click OK.
4
4
The dialog box closes and an XY Plot Control appears on the CimEdit screen. You can
display Plot 1 in CimView or you can further enhance it.
Step 2: Enhance Plot 1 using the CIMPLICITY XY Plot Control Properties dialog
box:
1.
2.
3.
4.
5.
6.
Select Width.
G. Enter 25.
7.
Expand Title.
ii.
Select Font.
Expand X.
ii.
Expand Item
8-14
GFK-1260F
vi. Expand Y.
vii. Expand Item.
viii. Expand Title.
ix. Select Font.
x.
Click OK.
9.
Plot 2
X-axis: Scrolled
Y-axis: autoscaled
X initial: 0 to 1000000
Y initial: 0 to 1000
Series markers: Square, navy blue, Width: 75
Slider initial position: 40
Series pen: None
2.
Configure a Series.
A. Click Add to add a series to the Plot Control.
B. Name the series. (The example name is DEV1550xDEV1900.)
C. Check Visible.
D. Click the Select a Point button in the X Expression field.
E. Select a Point ID. (The example is \\CIMPDEMO\DEV1550.)
F.
GFK-1260F
8-15
4.
5.
Upper
1000000
H. Check Scrolling for the scaling.
6.
Upper
1000
G. Check Autoscale for the scaling.
7.
8.
9.
10. Make sure the Show Grid check box is clear. (Plot 2 does not display a grid.)
11. Click OK.
The dialog box closes and an XY Plot Control appears on the CimEdit screen.
12. Move Plot 2 underneath Plot 1.
13. Use CimEdits graphics features to align and resize the charts.
See the chapter "Applying Inanimate Visual Features" in the "CIMPLICITY HMI CimEdit
Operation Manual," GFK-1396, for detailed information about aligning and resizing objects
in CimEdit.
You can display Plot 2 in CimView or you can further enhance it.
8-16
GFK-1260F
2.
3.
4.
5.
6.
Select Type.
G. Select apMarkerSquare.
H. Select Width.
I.
Enter 75.
J.
Expand Pen.
K. Select Color.
L. Select the navy blue on the pen color palette.
7.
Expand Y.
G. Expand Item.
H. Expand Title.
I.
Select Font.
J.
K. Expand Ticks.
L. Select Font.
M. Select Arial, Regular 9 in the Font dialog box.
GFK-1260F
8.
Click OK.
9.
8-17
Index
A
Action
Invoke method 3-3
Add
A line 3-6
AddLoggedLine Method 3-6
AddLoggedPointLine Method 3-8
AddPointLine Method 3-10
Advanced
Configure chart properties 2-31
Allow Point Scrolling 2-32
Ambient Colors
Used for XY 6-10
apAxisAutoscaled
For an XY Plot axis 6-16
apAxisFixed
For an XY Plot axis 6-16
apAxisScrolled
For an XY Plot axis 6-16
apBrushHatch
For an XY series 6-23, 6-38
For an XY series legend 6-36
apBrushSolid
For an XY series 6-23, 6-38
For an XY series legend 6-36
apDirectionBackward
For XY 6-13
apDirectionForward
For XY 6-13
apHatchforwardDiagonal
For an XY series 6-24
apHatchHorizontal
For an XY series 6-24
apHatchVertical
For an XY series 6-24
apMarkerCircle
For XY Plot series 6-24
apMarkerSquare
For XY Plot series 6-24
GFK-1260F
apmarkerTriangle
For XY Plot series 6-24
apNumberAbsoluteTime
For an XY 6-13
apNumberCompact
For an XY 6-13
apNumberCustom
For an XY 6-13
Specified for an XY 6-14
ApNumberFixed
For an XY 6-13
apNumberInteger
For an XY 6-13
apNumberRelativeTime
For an XY 6-13
Specified for an XY 6-14
apNumberScientific
For an XY 6-13
Specified for an XY 6-14
apOrientationBottom
For XY 6-12
apOrientationLeft
For XY 6-12
apOrientationRight
For XY 6-12
apOrientationTop
For XY 6-12
Appearance
Of lines on a trend chart 2-6
apPenDash
for an XY Plot axis 6-15
For an XY grid line 6-33
For an XY slider 6-29
For XY series line 6-24, 8-5
apPenDashDot
For an XY Plot axis 6-15
For an XY grid line 6-33
For an XY slider 6-29
For XY series line 6-24, 8-5
apPenDashDotDot
for an XY Plot axis 6-15
For an XY grid line 6-33
For an XY slider 6-29
For XY series line 6-24, 8-5
appenSolid
For XY series line 6-24, 8-5
apPenSolid
For an XY Plot axis 6-15
For an XY grid line 6-33
For an XY slider 6-29
apSeriesScatter
For an XY 6-23
For an XY Plot 8-5
apSeriesStandard
For an XY 6-23
B
Background Color on a Chart 2-29
BackgroundColor
Designing for XY 6-9
Backward
Scroll buttons on an XY 6-16
BackwardScroll
For an XY Plot axis 6-16
BOOL
Valid range 3-5
Brush
For an XY series 6-23
BSTR
Valid range 3-5
Buttons
Backward and forward scroll for an XY 6-16
ii
C
Change Limits
And x-axis timing 2-22
Changing chart properties at run-time 1-5
Chart
Configure advanced properties 2-31
Configure properties 2-29
Properties 2-29
Chart Color 2-29
ChartColor
For XY 6-9
Choose
A font 2-41, 6-8
Color
Ambient for XY 6-10
And 2-7
And quick line configuration 2-6
And the y-axis 2-28
Background on a chart 2-29
Chart 2-29
Create custom 2-38, 6-6
For an XY series line 6-24
Foreground on a Chart 2-29
Modifying 2-40, 6-7
Of gridlines 2-35
Of XY grid line 6-33
Select a basic color 2-38, 6-5
Column ID
And CSV file lines 2-12
Logged line 2-9
Common Time Stamp
And CSV file lines 2-12
Format for CSV lines 2-13
Compression
For a line 2-18
Configure
Basic chart properties 2-29
Begin for axis 2-21
CSV file line 2-12
Detailed x-axis 2-24
Expression line 2-8
Logged expression line 2-10
Logged line 2-9
Reference file 2-15
X-axis timing 2-22
XY Smart Object Plot Control axes 8-6
XY Smart Object Plot Control series 8-3
Y-axis 2-25
Y-axis details 2-27
Configured X Axis
And mapping axes to lines 2-20
Configured Y Axis
And mapping axes to lines 2-20
Content
GFK-1260F
Of XY Title 6-41
Count
Horizontal lines on XY grid 6-34
Vertical lines on XY grid 6-34
Create
A series from the object model 7-1, 7-2
CSV file line 2-12
Expression line 2-8
Logged expression line 2-10
Logged line 2-9
New trend line 2-6
Quick trend line 2-5
Reference file 2-15
CSV File Line 2-12
And Common time stamp format 2-13
And unique time stamp format 2-13
Custom
Color 2-38, 6-6
Enable
Runtime actions 2-36
EnableOutstandingLoggedRequestStateEvent trend
method 3-35, 3-36, 3-37, 3-38
Entries
Advanced for invoking a method 3-4
Basic for invoking a method 3-3
Expansion
For a line 2-18
Export Reference File
And reference file line 2-15
Expression
Disable expression line scrolling 2-8
Line 2-8
Line and qualified points 2-8
Logged lines scrolling 2-10
Data
Flow on an XY 6-12
Format type for an XY 6-13
Location on an XY 6-12
Push one or more values 7-5
Setting individual values 7-3
Data Source
For logged line 3-7, 3-9
Datasource
Logged line 2-9
Default Lower Limit 2-26
Default Upper Limit 2-26
Define
A legends properties 2-33
DeleteTrendLine Method 3-11
Density
Of XY grid 6-34
Design
An XY Plot grid 6-32
An XY Plot title 6-41
Axes for an XY 6-11
Legend for an XY 6-35
Series for an XY 6-20
Slider for an XY 6-27
XY Plot overview 6-1
Details
X-axis configuration 2-24
Dialog Box
Edit method overview 3-4
Dialog Box Section
Invoke method 3-3
Disable
Expression line scrolling 2-8
Expression logged line scrolling 2-10
GFK-1260F
Index
F
File ID
And CSV file lines 2-12
Fill
For an XY series 6-23
Find
Series properties for an XY 6-20
XY Plot axes properties 6-11
XY Plot Slider properties 6-27
XY Plot title properties 6-40
XY grid properties 6-32
Flow
Data on an XY 6-12
Font
And the x-axis 2-24
And the y-axis 2-27
Choosing 2-41, 6-8
For an XY title 6-41
iii
G
Graphic Choices 2-38, 6-5
Grid
Density 6-34
Designing for an XY 6-32
Display 2-36
Line 6-33
Properties 2-35
Properties on an XY 6-32
Visible 6-34
Group Log Table 2-9
H
Hatch Style
For an XY slider legend 6-39
HatchStyle
For an XY series 6-24, 6-36
Hide
For a line 2-19
Horizontal
Slider for an XY 6-29
HorizontalCount
Lines on XY grid 6-34
I
Insert
Trend Control chart on a CimEdit Screen 2-1
XY Plot control in a CimEdit Screen 6-2
Inserting the chart object in CimEdit 2-1, 6-2
Integer
For an XY 6-13
Using in edit method dialog box 3-5
Invalid
Arguments 3-5
Invoke Method Action
Creating 3-3
For lines 3-6
Item 7-3
iv
J
Jump Scroll 2-30
Jump to Current Value 2-32
JumpToCurrentTime trend method 3-21
L
Labeled
For the x-axis 2-24
For the y-axis 2-28
Legend
Designing for an XY 6-35
Display the legend 2-34
Display the legend from the status popup 2-34
Properties 2-33
Legend Show All 2-32
Limits
For an XY Plot axis 6-16
Y-Axis 2-25
Line
Add a logged point line method 3-8
Add a point line method 3-10
Add logged method 3-6
Autoupdating method 3-12
Change the display style 2-18
Create 2-6
CSV file 2-12
Delete method 3-11
Design for an XY Plot axis 6-15
Display dialog box 2-18
Exression 2-8
For an XY grid 6-33
For an XY series 6-24
For an XY slider 6-29
Hide 2-19
Logged 2-9
Logged expression 2-10
Mapping axes to 2-19
Method for deleting 3-11
Methods for 3-6
Reference Line 2-14
Set display 3-13
Using logged and point data 3-8
Width for an XY Plot axis 6-15
LineID
For logged line 3-7
Lines properties, Trend 2-5
List
Trend methods 3-1, 3-2
Location
Of data on an XY 6-12
Logged
Expression line 2-10
Expression line scrolling 2-10
GFK-1260F
M
Map
Axis to line 2-19
Markers
For an XY series 6-24
Method
AddLoggedLine 3-6
AddLoggedPointLine 3-8
DeleteTrendLine 3-11
For adding a point line 3-10
SetLineAutoupdate 3-12
Method Result
For deleting a line 3-11
For logged line 3-7
For logged point line 3-9
For point line 3-11
For setting an automatic line update 3-13
Overview 3-5
Mode
For an XY Plot axis 6-16
Modify
A color 2-40, 6-7
New XY Plot control size 6-3
Multiple
Y-axes displayed 2-31
N
Name
For an XY series 6-22, 6-27
For XY Plot axis 6-18
For XY Plot slider 6-31
Trend control 3-3
New
Trend line 2-6
No Scroll
For the x-axis 2-24
Now Minus Days 2-23
Now Minus Time 2-23
Number
Format for an XY 6-13
Type defined for an XY 6-13
GFK-1260F
Index
Object Model
Create a series 7-1, 7-2
Definition 7-1
ODBC
Data source for logged line 3-7, 3-9
Text driver and reference file name 2-16
Open
Advanced dialog box for chart properties 2-31
Trend chart properties dialog box 2-4
XY Plot Control Properties dialog box 6-4
Order of Priority
Axis on an XY 6-18
Output Argument
In edit method dialog box 3-5
Overview
Configure XY Plot SmartObject 8-3
Designing an XY 6-1
Features for XY Plots 5-2
Plotting XY data 7-1
Trend control axis tab 2-21
Trend control line tab 2-5
Trend methods 3-1
XY Plot SmartObject 8-1
XY Plots 5-1
P
Pages Enabled at Runtime 2-37
Parameter
Passing via a point id 3-5
PauseUpdates trend method 3-23
Pen
Design for an XY Plot axix 6-15
For an XY grid 6-33
For an XY series 6-24
For an XY slider 6-29
Width for an XY Plot axis 6-15
Percent Configured
Y-axis 2-31
Place
XY Plot SmartObject 8-2
Plot XY Data
Overview 7-1
Point
Adding a line for 3-10
Data with logged line 3-8
Set value from 7-12
Valid range for type 3-5
Points
Qualified and expression lines 2-8
Position
Of XY slider 6-29
Prioritize
Axes on an XY 6-18
Priority
Selected y-axis limits options 2-26
Procedure
Adding a point line method 3-10
Basic for invoking a method 3-3, 3-4
Begin axis configuration 2-21
Change the display style of a line 2-18
Configure a logged expression line 2-10
Configure a logged line 2-9
Configure a reference line from a reference file 2-15
Configure an expression line 2-8
Configure basic chart properties 2-29
Configure CSV file line 2-12
Configure x-axis details 2-24
Configure y-axis limits 2-25
Create a custom color 2-38, 6-6
Detailed y-axis configuration 2-27
Disable expression line scrolling 2-8
Disable expression logged line scrolling 2-10
Display gridlines on a chart 2-35
Enable/disable properties dialog box tabs
for runtime 2-36
For adding a logged line method 3-6
For adding a logged point line method 3-8
For automatically updating a line method 3-12
For deleting a line method 3-11
Insert an XY Plot control in a CimEdit Screen 6-2
Insert aTrend Control chart on a CimEdit Screen 2-1
Modify a color 2-40, 6-7
Open advanced dialog box for chart properties 2-31
Quickly create a line 2-5
Resize a new XY Plot control 6-3
Select a basic color 2-38, 6-5
Specify a font for a trending text item 2-41
Specify a font for an XY Chart text item 6-8
Specify how lines appear on a trend chart 2-6
specify what axis will explain a trend line 2-19
Trend a single element in an array 2-37
Trend an entire array at a single instant in time 2-37
Properties
Configure advanced for a chart 2-31
Configured for a chart 2-29
Finding for an XY Plot series 6-20
Finding for an XY Plot slider 6-27
Finding for an XY grid 6-32
Finding for XY Plot axes 6-11
For a charts legend 2-33
For a grid 2-35
Grid on an XY 6-32
Of XY Plot title 6-40
Slider on XY 6-27
That identify an XY series 6-22, 6-27
XY axes on XY 6-11
vi
Push
One or more data values 7-5
Values from Points 7-8
Q
Qualified
Points and expression lines 2-8
Points and logged expression lines 2-11
Quick Lines
Creating 2-5
R
Ranges
Valid for each point types parameters 3-5
Reference File 2-15
Example 2-17
Reference Line 2-14
Relative Time
Specified for an XY 6-14
ResetZoom trend method 3-33
Resize
New Trend Control chart 2-2
New XY Plot control 6-3
Series vectors 7-3
Restrictions
Reference file name 2-16
Restrrictions
On SetLineAutoupdate method 3-12
Runtime Actions
And a reference file line 2-15
RuntimeActions
Enable or disable 2-36
S
Scatter
Series for an XY 6-23
Series for an XY Plot 8-5
Scroll
Buttons for an XY 6-16
Expression logged lines diaabled 2-10
Scroll Buttons
Visible on an XY 6-16
Scrolling 1-8
Disable for expression line 2-8
Disable for logged expression line 2-10
Disable for the x-axis 2-24
Scrolling behavior
Arrays 1-9
ScrollLines trend method 3-24
Select
A basic color 2-38, 6-5
GFK-1260F
Series
Axes 6-25
Configure with XY Plot SmartObject 8-3
Create data values 7-1
Design legend for 6-35
Designing for an XY 6-20
Fill on an XY 6-23
Finding properties for an XY 6-20
Identifying properties 6-22, 6-27
Markers 6-24
On an XY 6-20
Push one or more data values 7-5
Push value from point 7-8
Resize vectors 7-3
Type for an XY 6-23
Set
One or more data values 7-9
Values from points 7-12
SetGridState trend method 3-33
SetLegendState trend method 3-20
SetLineAutoupdate Method 3-12
SetLineAutoupdate trend method 3-12
SetLineDisplay Method 3-13
SetLineUseChartY trend method 3-31
SetLineVisible trend method 3-17
SetLineYAxis trend mehtod 3-28
Setpoint
Do setpoint in edit method dialog box 3-5
SetXDuration trend mehtod 3-25
SetXStartTime trend method 3-26
SetYAxisVisible trend method 3-30
Short
Valid range 3-5
Show Legend 2-33
Show Most Recent 2-23
Show Property Pages at Runtime 2-37
And a reference file line 2-15
Show Title 2-33
Single
Y-axis displayed 2-31
Single Element
Trended 2-37
Single Time Duration 2-32
Single X Axis 2-32
Single Y Axis 2-32
Size
Changing for a new XY Plot control 6-3
Slider
Design legends for 6-35
Designing for an XY 6-27
Finding properties for an XY 6-27
Line 6-29
Name 6-31
Position and visibility 6-29
Properties for an XY 6-27
GFK-1260F
Index
Type 6-28
Slider Grab Margin 2-32
SmartObject Plot Control
Configuring example 1 8-12
Configuring example 2 8-15
Smooth
For a line 2-19
Standard
Series for an XY 6-23
Series for an XY Plot 8-5
Start Date
And x-axis timing 2-23
Start Time 2-23
And x-axis timing 2-22
Status
Display the status bar 2-34
Status Line 2-33
Step
For a line 2-19
Series for an XY 6-23
Series for an XY Plot 8-5
Strip Chart 2-30
Style
Change for a line 2-18
Of gridlines 2-35
Of line for an XY Plot axis 6-15
Of XY grid line 6-33
Of XY series hatch fill 6-24, 6-36
Of XY series line 6-24
Of XY slider legend hatch fill 6-39
Specify for font 2-41, 6-8
T
Tab
Legend 2-33
Runtime actions 2-36
Trend control axis 2-21
Trend control line 2-5
Table ID
Logged line 2-9
Text
Choose a font 2-41, 6-8
Ticks
For the x-axis 2-24
For the y-axis 2-28
On an XY Plot axis 6-15
Time Stamp
Common format for CSV lines 2-13
Unique format for CSV lines 2-13
Timing
Configure for x-axis 2-22
vii
Title
Content 6-41
Designing for an XY 6-41
Finding XY Plot title properties 6-40
Font 6-41
For XY Plot axis 6-18
Properties on XY 6-40
Visible 6-42
Trend charts
Inserting in CimEdit 2-1, 6-2
Trend Control
Naming 3-3
Trend Line
Add a logged point line method 3-8
Add logged line method 3-6
Add point line 3-10
Autoupdating method 3-12
Delete 3-11
Set Display 3-13
Trend Method
Create invoke method action 3-3
Overview 3-1
Trend methods
EnableOutstandingLoggedRequestStateEvent method
3-35, 3-36, 3-37, 3-38
JumpToCurrentTime method 3-21
PauseUpdates method 3-23
ResetZoom method 3-33
ScrollLines method 3-24
SetGridState method 3-33
SetLegendState method 3-20
SetLineAutoupdate 3-12
SetLineUseChartY method 3-31
SetLineVisible 3-17
SetLineYAxis method 3-28
SetXDuration method 3-25
SetXStartTime 3-26
SetYAxisVisible 3-30
WriteReferenceFile method 3-18
Trend properties
Lines 2-5
Trending
Run-time actions, Changing chart properties at runtime 1-5
Run-time actions, Scrolling 1-8
Run-time actions, Zooming 1-6
Scrolling behavior, Arrays 1-9
Type
Of Series for an XY 6-23
Of XY Plot slider 6-28
V
Valid
Ranges for each point type 3-5
Value
Of XY title 6-41
Push for data 7-5
Push from points 7-8
Set from point 7-12
Setting for individual data 7-3
Vectors
Resize for series 7-3
Vertical
Slider for an XY 6-28
VerticalCount
Lines on XY grid 6-34
Visible
And the x-axis 2-24
Axis title on an XY 6-18
Grid on XY 6-34
Markers for XY series 6-24
Scroll buttons on an XY 6-17
XY series in legend 6-22, 6-27
XY title 6-42
W
Width
Change for a line 2-18
For XY series line 6-25
For XY series markers 6-24
Of an XY grid line 6-33
Of gridlines 2-35
Of line for an XY Plot axis 6-15
Of XY slider 6-29
WriteReferenceFile trend method 3-18
viii
GFK-1260F
X
X-axis
Designing for an XY 6-11
Finding properties for an XY 6-11
Prioritized on an XY 6-18
Properties on an XY 6-11
X-Axis
Configure timing 2-22
Detailed Configuration 2-24
XY Plot SmartObject
Configuring overview 8-3
Overview 8-1
Placing 8-2
XY Plots
Overview 5-1
Overview of features 5-2
Y
Y-axis
Designing for an XY 6-11
Finding properties for an XY 6-11
Prioritized on an XY 6-18
Properties on an XY 6-11
Y-Axis
Configuration 2-25
Configure limits 2-25
Detailed configuration 2-27
Display multiple 2-31
Display single 2-31
Percent configured 2-31
Priority of limits types 2-26
Z
Zooming 1-6
GFK-1260F
Index
ix