Process Capability Performance Chart | Vision

Sepasoft MES Module Suite

Process Capability Performance Chart

A component that is used to analyze both Process Capability and Process Performance on the same chart.

Component Palette



Component Properties

Properties are provided that can be set to affect the operation and look of the component. They can be set through the Property Editor in the Designer or through scripting.

Example

Code
event.source.parent.getComponent('Process Capability Performance Chart').shadow = False



Chart

NameScriptingProperty TypeDescription
Enable Control Limit EditingenableControlLimitEditingbooleanIf true, allow users to change control limit values.
VerticalverticalbooleanThe orientation of the chart.
Chart Background ColorchartBackgroundColorThe color of the chart background.
Bar ColorbarColorColorThe color of the bars for the chart.
Bar SpacingbarSpacingFloat8Spacing between bar as a percentage of the bar width.
GradientgradientbooleanIf true, bars will be painted with a gradient 'shine'.
ShadowsshadowbooleanIf true, show shadows for bars.
Tick Label FonttickLabelFontFontThe font of the tick labels.
Tick Label ColortickLabelColorColorThe color of the tick labels.
Show CP Bell CurveshowCPBellCurvebooleanIf true, show the CP bell curve on the chart.
CP Bell Curve ColorcPBellCurveColorColorColor of the CP bell curve line.
Show PP Bell CurveshowPPBellCurvebooleanIf true, show the PP bell curve on the chart.
PP Bell Curve ColorpPBellCurveColorColorColor of the PP bell curve line.
Show CP LCLshowCPLCLbooleanIf true, show the Cp lower control limit on the chart.
CP LCL ColorcPLCLColorColorColor of the Cp lower control limit line.
Show CP UCLshowCPUCLbooleanIf true, show the Cp upper control limit on the chart.
CP UCL ColorcPUCLColorColorColor of the Cp upper control limit line.
Show PP LCLshowPPLCLbooleanIf true, show the Pp lower control limit on the chart.
PP LCL ColorpPLCLColorColorColor of the Pp lower control limit line.
Show PP UCLshowPPUCLbooleanIf true, show the Pp upper control limit on the chart.
PP UCL ColorpPUCLColorColorColor of the Pp upper control limit line.
Value Axis TitlevalueAxisTitleStringTitle to show for the value axis.
Frequency Axis TitlefrequencyAxisTitleStringTitle to show for the frequency axis.
Axis Title FontaxisTitleFontFontFont for both axis titles.
Axis Title ColoraxisTitleColorColorColor to display both axis titles.
Vertical Grid Line ColorvertGridLineColorColorThe color of vertical grid lines.
Show Vertical Grid LinesshowVertGridLinesbooleanIf true, show vertical grid lines on charts.
Horizontal Grid Line ColorhorzGridLineColorColorThe color of horizontal grid lines.
Show Horizontal Grid LinesshowHorzGridLinesbooleanIf true, show horizontal grid lines on charts.

Calculated Values

NameScriptingProperty TypeDescription
MeanmeanFloat8The mean value.
Cp Standard DeviationcPStdDevFloat8The Cp standard deviation value.
Cp lclcPLclFloat8The Cp lower control limit value.
Cp uclcPUclFloat8The Cp upper control limit value.
cpcpFloat8The cp value.
cpucpuFloat8The cpu value.
cplcplFloat8The cpl value.
cpkcpkFloat8The cpk value.
cpmcpmFloat8The cpm value.
crcrFloat8The cr value.
cpmcpmFloat8The cpm value.
Pp Standard DeviationpPStdDevFloat8The Pp standard deviation value.
Pp lclpPLclFloat8The Pp lower control limit value.
Pp uclpPUclFloat8The Pp upper control limit value.
ppppFloat8The pp value.
ppuppuFloat8The ppu value.
pplpplFloat8The ppl value.
ppkppkFloat8The ppk value.
prprFloat8The pr value.
ppmppmFloat8The ppm value.


Event Handlers

Event handlers provide the ability to add custom script when a user interacts with a component such as by clicking a mouse, selecting a menu item or when a component property changes.

mouse

mouseClicked

This event signifies a mouse click on the source component. A mouse click the combination of a mouse press and a mouse release, both of which must have occurred over the source component. Note that this event fires after the pressed and released events have fired.

PropertyDescription
.sourceThe component that fired this event.
.buttonThe code for the button that caused this event to fire.
.clickCountThe number of mouse clicks associated with this event.
.xThe x-coordinate (with respect to the source component) of this mouse event.
.yThe y-coordinate (with respect to the source component) of this mouse event.
.popupTriggerReturns True (1) if this mouse event is a popup trigger. What constitutes a popup trigger is operating system dependent, which is why this abstraction exists.
.altDownTrue (1) if the Alt key was held down during this event, false (0) otherwise.
.controlDownTrue (1) if the Ctrl key was held down during this event, false (0) otherwise.
.shiftDownTrue (1) if the Shift key was held down during this event, false (0) otherwise.

mouseEntered

This event fires when the mouse enters the space over the source component.

PropertyDescription
.sourceThe component that fired this event.
.buttonThe code for the button that caused this event to fire.
.clickCountThe number of mouse clicks associated with this event.
.xThe x-coordinate (with respect to the source component) of this mouse event.
.yThe y-coordinate (with respect to the source component) of this mouse event.
.popupTriggerReturns True (1) if this mouse event is a popup trigger. What constitutes a popup trigger is operating system dependent, which is why this abstraction exists.
.altDownTrue (1) if the Alt key was held down during this event, false (0) otherwise.
.controlDownTrue (1) if the Ctrl key was held down during this event, false (0) otherwise.
.shiftDownTrue (1) if the Shift key was held down during this event, false (0) otherwise.

mouseExited

This event fires when the mouse leaves the space over the source component.

PropertyDescription
.sourceThe component that fired this event.
.buttonThe code for the button that caused this event to fire.
.clickCountThe number of mouse clicks associated with this event.
.xThe x-coordinate (with respect to the source component) of this mouse event.
.yThe y-coordinate (with respect to the source component) of this mouse event.
.popupTriggerReturns True (1) if this mouse event is a popup trigger. What constitutes a popup trigger is operating system dependent, which is why this abstraction exists.
.altDownTrue (1) if the Alt key was held down during this event, false (0) otherwise.
.controlDownTrue (1) if the Ctrl key was held down during this event, false (0) otherwise.
.shiftDownTrue (1) if the Shift key was held down during this event, false (0) otherwise.

mousePressed

This event fires when a mouse button is pressed down on the source component.

PropertyDescription
.sourceThe component that fired this event.
.buttonThe code for the button that caused this event to fire.
.clickCountThe number of mouse clicks associated with this event.
.xThe x-coordinate (with respect to the source component) of this mouse event.
.yThe y-coordinate (with respect to the source component) of this mouse event.
.popupTriggerReturns True (1) if this mouse event is a popup trigger. What constitutes a popup trigger is operating system dependent, which is why this abstraction exists.
.altDownTrue (1) if the Alt key was held down during this event, false (0) otherwise.
.controlDownTrue (1) if the Ctrl key was held down during this event, false (0) otherwise.
.shiftDownTrue (1) if the Shift key was held down during this event, false (0) otherwise.

mouseReleased

This event fires when a mouse button is released, if that mouse button's press happened over this component.

PropertyDescription
.sourceThe component that fired this event.
.buttonThe code for the button that caused this event to fire.
.clickCountThe number of mouse clicks associated with this event.
.xThe x-coordinate (with respect to the source component) of this mouse event.
.yThe y-coordinate (with respect to the source component) of this mouse event.
.popupTriggerReturns True (1) if this mouse event is a popup trigger. What constitutes a popup trigger is operating system dependent, which is why this abstraction exists.
.altDownTrue (1) if the Alt key was held down during this event, false (0) otherwise.
.controlDownTrue (1) if the Ctrl key was held down during this event, false (0) otherwise.
.shiftDownTrue (1) if the Shift key was held down during this event, false (0) otherwise.

mouseMotion

mouseDragged

Fires when the mouse moves over a component after a button has been pushed.


PropertyDescription
.sourceThe component that fired this event.
.buttonThe code for the button that caused this event to fire.
.clickCountThe number of mouse clicks associated with this event.
.xThe x-coordinate (with respect to the source component) of this mouse event.
.yThe y-coordinate (with respect to the source component) of this mouse event.
.popupTriggerReturns True (1) if this mouse event is a popup trigger. What constitutes a popup trigger is operating system dependent, which is why this abstraction exists.
.altDownTrue (1) if the Alt key was held down during this event, false (0) otherwise.
.controlDownTrue (1) if the Ctrl key was held down during this event, false (0) otherwise.
.shiftDownTrue (1) if the Shift key was held down during this event, false (0) otherwise.

mouseMoved

Fires when the mouse moves over a component, but no buttons are pushed.

PropertyDescription
.sourceThe component that fired this event.
.buttonThe code for the button that caused this event to fire.
.clickCountThe number of mouse clicks associated with this event.
.xThe x-coordinate (with respect to the source component) of this mouse event.
.yThe y-coordinate (with respect to the source component) of this mouse event.
.popupTriggerReturns True (1) if this mouse event is a popup trigger. What constitutes a popup trigger is operating system dependent, which is why this abstraction exists.
.altDownTrue (1) if the Alt key was held down during this event, false (0) otherwise.
.controlDownTrue (1) if the Ctrl key was held down during this event, false (0) otherwise.
.shiftDownTrue (1) if the Shift key was held down during this event, false (0) otherwise.

propertyChange

propertyChange

Fires whenever a bindable property of the source component changes. This works for standard and custom (dynamic) properties.

PropertyDescription
.sourceThe component that fired this event.
.newValueThe new value that this property changed to.
.oldValueThe value that this property was before it changed. Note that not all components include an accurate oldValue in their events.
.propertyNameThe name of the property that changed. NOTE: Remember to always filter out these events for the property that you are looking for! Components often have many properties that change.




Extension Functions

This component does not have extension functions associated with it. 




Custom Methods

Custom methods allow you to add your own component functions to a component that can be called through scripting. This is a useful and clean method of re-using script that is specific to the component (say you want to update a visual aspect of the component in the same way whether a user clicks on the component or a window property value changes). See Component Custom Methods in the Ignition Help Manual for more information.




Customizers

This component does not have any custom properties.



Component Functions

This component provides the following function that can be called on it. If this component has been dropped onto the windows root container, the path and an example call would be event.source.parent.getComponent('Process Capability Performance Chart').showSetLimitPanel(chartName).

showSetLimitPanel(chartName)

  • Description

Causes the calculate and set control limit dialog to be shown.

  • Parameters

String chartName - Which chart to show the control limit dialog for. Available options are "Primary".

  • Return

Nothing

  • Scope

Client

Sepasoft MES Module Suite