setMaxContourObjects – sets the maximum number of objects of a contour (ring buffer)
Syntax: ReturnValue = CallCWMethod
(GraphVarName, "
setMaxContourObjects
", Val‐
ue)
ReturnValue = CallCWMethod
(GraphVarName, "
setMaxContourObjects
", Val‐
ue, ContourName)
Description: Using this function, you can define the size of a contour ring buffer. If the number
of objects added to the contour exceeds this limit, then the oldest object is de‐
leted.
Parameter: GraphVarName Name of the display variable which contains a SlEs‐
GraphCustomWidget
Return Value Error code (bool): TRUE = successful
Value Maximum number of graphic objects (uint)
ContourName Name of the contour (QString).
If a contour is not specified, then the call automatically
refers to the currently selected contour.
Note
This function automatically refreshes the display.
addContour – add contour
Syntax: ReturnValue = CallCWMethod
(GraphVarName, "
addContour
", ContourName)
ReturnValue = CallCWMethod
(GraphVarName, "
addContour
", ContourName,
Selected)
ReturnValue = CallCWMethod
(GraphVarName, "
addContour
", ContourName,
Selected, AssignedY2)
Description: Using this function, you can define a new contour.
Optionally, you can assign the contour to the coordinate system of the second
Y axis (right).
Parameter: GraphVarName Name of the display variable which contains a SlEs‐
GraphCustomWidget
Return Value Error code (bool): TRUE = successful
ContourName Name of the contour (QString).
If a contour is not specified, then the call automatically
refers to the currently selected contour.
Selected Contour should be selected (bool): TRUE or FALSE
AssignedY2 Contour should be assigned to the second Y axis (right)
(bool): TRUE or FALSE
showContour – shows a contour
Syntax: ReturnValue = CallCWMethod
(GraphVarName, "
showContour
")
ReturnValue = CallCWMethod
(GraphVarName, "
showContour
", ContourName)
Description: This function makes a contour visible.
Graphic and logic elements
7.5 SIEsGraphCustomWidget
SINUMERIK Integrate Run MyScreens (BE2)
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1 233