connectedShapes()
Sets graphics objects where the function dpConnect() is active to a particular color for a certain time. All graphics objects that are connected to DPs are therefore displayed.
Synopsis
int connectedShapes(string module, string panel)
Parameter
Parameter | explanation /display |
module | name of the module |
panel | name of the panel |
Return Value
In the event of an error -1
Errors
Missing arguments
Description
Sets graphics objects where the function dpConnect() is active to a particular color for a certain time. The function also works with invisible graphics objects (visible = FALSE). color and duration [ms] of the color change must be defined in the config file. Default values are red, and 2 [s]
[ui]
connectedShapesColor = "[20,30,40]"
connectedShapesTimeOut = 3000
Example
main() { connectedShapes(myModuleName(), myPanelName()); //shows objects that are connected } |
Assignment
Graphics functions
Availability
UI