Stored SPC Selector | Vision

Sepasoft MES Module Suite

Stored SPC Selector

A component that allows creating, recalling and saving SPC selections in the SPC Selector component. This component will automatically use the available SPC Selector in the container. Keep in mind that whenever a new sample definition is created, the new stored SPC settings items will be created with the default values. This being said, additional stored SPC settings items can be created each with different filters, attribute, control limits and signals.

Stored SPC Selector

By clicking on the  link, a menu with the option to create new, save, delete and rename SPC settings will popup. 

To add a new saved SPC settings item, click on New menu item, enter a name, select a sample definition and click OK. This will create a default SPC Settings item. Now the user can select filters, attribute, control limits and signals that will be saved and can easily be selected at a later time.

New Stored SPC Settings


Warning

The 3.0 Stored SPC Selector behaves differently from 2.0.  In 3.0 it doesn't create a "default chart".  The user must create one themselves.

Old Qual_Store_SPC table containing Store SPC settings is now replaced by the MESAnalysisSettings.

Store SPC settings are upgraded to the MESAnalysisSettings type


Component Palette

To rename a stored SPC Settings item, select an item and click on the Rename menu item, enter a new name and click OK


 Rename Stored SPC Settings


To delete a stored SPC Settings item, select an item and click on Delete menu item, and select Yes to the confirmation message.

If changes to a stored SPC settings values have been made and the user selects a different stored SPC Settings, they will be prompted to save the changes. Alternatively, the changes can be saved by clicking on the Save menu item.



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('Stored SPC Selector').showMenu = True

Appearance

NameScriptingProperty TypeDescription
Show DisabledshowDisabledBooleanIf true, include disabled definitions.
Show MenushowMenuBooleanDisplay the menu for the selector.
Menu Top PositionmenuTopPosInt4The top position of the menu.
Menu Left PositionmenuLeftPosInt4The left position of the menu.
Menu ImagemenuImagePathStringImage to show for the menu.


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.

menu

userMenuItemClicked

This event fires when the menu item is clicked, or if the user selects the menu item using the keyboard and presses the Enter key. It can also occur if an access key or shortcut key is pressed that is associated with the MenuItem.

PropertyDescription
.sourceThe component that fired this event.
.menuItemNameName of the user menu item that triggered the event.
.nodeNameName of the node. This is the same as the name of the MES object that is associated with the node.
.objectTypeName of the MES object type that is associated with the node.
.uuidUUID of the MES object that is associated to the node.
.lotUUIDUUID of the material lot.
.lotNameName of the material lot.
.lotSequenceThe sequence number associated with the material lot.
.lotUseThe lot use type of the material.
.beginDateTimeDate and Time at which the event was triggered.
.materialUUIDUUID of the material.
.materialNameName of the material.
.lotEquipmentUUIDUUID of the equipment lot.
.lotEquipmentNameName of the equipment lot.
.segmentUUIDUUID of the segment.
.segmentNameName of the segment.
.segmentEquipmentUUIDUUID of the segment equipment.
.segmentEquipmentNameName of the segment equipment.

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.

settings

selected

Is fired when a different SPC Settings item is selected menu item is selected.

PropertyDescription
.sourceThe component that fired this event.
.settingsName

The name of the newly selected SPC Settings item.

.settings

The SPCSettings object that contains the filter, attribute, control limit and signal selections.

.prevNameThe previous name of the SPC Settings item.

created

PropertyDescription
.sourceThe component that fired this event.
.settingsNameThe name of the newly selected SPC Settings item.
.settingsThe SPCSettings object that contains the filter, attribute, control limit and signal selections.
.prevNameThe previous name of the SPC Settings item.

deleted

PropertyDescription
.sourceThe component that fired this event.
.settingsNameThe name of the newly selected SPC Settings item.
.settingsThe SPCSettings object that contains the filter, attribute, control limit and signal selections.
.prevNameThe previous name of the SPC Settings item.

renamed

PropertyDescription
.sourceThe component that fired this event.
.settingsNameThe name of the newly selected SPC Settings item.
.settingsThe SPCSettings object that contains the filter, attribute, control limit and signal selections.
.prevNameThe previous name of the SPC Settings item.




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 does not have functions associated with it.

Sepasoft MES Module Suite