- addGlobal()
Creates a variable and makes it into a manager-wide variable.
- beep()
Issues a beep.
- callFunction()
Calls a specific function. The parameters of the called function are passed as parameters in callFunction().
- createComObject()
Creates a COM object (also without user interface (not ActiveX)).
- createQRCodeFile()
Creates a QR code file.
- checkCrypt()
Compares a plain text with an encrypted hash value and checks if the text matches the decrypted value of the hash.
- crypt()
Encrypts the transferred text.
- dataHost()
Returns the host name the Data Manager is running on.
- Debug()
Evaluates any Control expressions and writes the result to stderr.
- DebugFN()
Evaluates any number of control expressions, if a specific debug flag is set and writes the result to stderr, followed by a new line.
- DebugFTN()
Evaluates any number of control expressions, if a specific debug flag is set and writes the result with a time stamp to stderr followed by a new line.
- DebugN()
Evaluates any Control expressions and writes the result to stderr, followed by a new line.
- DebugTN()
Like the function DebugN(), but with a time stamp.
- delay()
Delays the next program step.
- dollarSubstitute()
The function replaces dollar parameters in an expression with the parameters.
- enableSound()
Switches the sound of a wave file during runtime (see Configuration file).
- evalScript()
Allows to execute a script during runtime and to write the return value of the script in retVal.
- eventHost()
Returns the host name the event manager is running on.
- execScript()
Allows to execute a script during runtime. Use this function for void main-functions (without return value).
- getClipboardText()
Returns the clipboard text as plain text, or an empty string if the clipboard does not contain any text.
- getenv()
Reads the value from an environment variable.
- getGlobals()
The function queries existing global variables.
- getGlobalType()
The function queries the type of the specified global variables.
- getHostByAddr()
Returns the host name for a given IP address.
- getHostByName()
Returns the IP address for a given host name.
- getHostname()
Returns the name of the current host as a string.
- getLicenseOption()
The function getLicenseOption() allows you to query the current license and obtain a license from a license container.
- getScreenSize()
Reads the current size of the given screens in pixel.
- getStackTrace()
Returns a dynamic string with the stack trace (call stack) from this position of the code.
- getSystemId()
Returns the system ID.
- getSystemName()
Returns the name of the system.
- getSystemNames()
Returns a list of all the system names and system IDs known to the own system.
- getType()
Query of the data type of any Control expression.
- getTypeName()
Returns the data type of any Control expression as string.
- getUiFunctionList()
Returns all UI functions that can be used in WinCC OA scripts.
- getUiStyle()
Returns the available display styles of windows and buttons dependent on the actually used style.
- globalExists()
This function queries whether a specific global variable exists.
- HOOK_aes_acknowledgeTableFunction()
The system executes the function when you acknowledge an alert in the alert screen. Implement the function in a CONTROL library.
- HOOK_ep_acknowledgeTableFunction()
The system executes the function when you acknowledge a table (when you use the
simple configuration). Implement the function in a CONTROL library.
- html_ref()
This function loads a reference into an HTML reference. The parameters will be replaced.
- httpConnect()
Registers a CTRL function as a Web resource
- httpDisconnect()
Remove a registered Web-Resource
- httpParseDate()
Allows parsing an RFC-2616 conform date string, e.g. from header "If-Modified-Since".
- httpServer()
Installs and activates an HTTP server.
- httpSetMaxAge()
Defines the time in seconds how long files should be cached by the client.
- httpSetMaxContentLength()
Sets the maximum length of a POST request.
- isAckable()
The CTRLLib.ctl function is called before an acknowledgment with a simple configuration (see
Acknowledge).
- isEvConnOpen()
Returns the status of the connection to the Event Manager.
- isFunctionDefined()
Returns whether a specific function exists or not.
- isMobileDevice()
This function queries if the device from which the function is called is a mobile device or not.
- isTableAckable()
This libCTRL.ctl function is called before an acknowledgment of a table, when this has been realized with simple configuration. The function helps to customize a project.
- makeNativePath()
Converts a file path into a operating system specific file format.
- makeUnixPath()
Converts a path to a Unix "/" path.
- msc_movePanel()
You can use the function to move a panel to an arbitrary screen.
- msc_createFav()
This function should be implemented if you close a user interface and want to save the last screen configuration.
- msc_FavMenu()
This function opens a popup menu with all favourites of the current user.
- msc_moveToNextScreen()
You can use the function to move a panel to the next screen.
- msc_moveToPrevScreen()
You can use the function to move a panel to the previous screen.
- myDisplayName()
Returns the display the user is currently using.
- myUiDpName()
Returns the name of the user interface datapoint.
- numberMatch()
Checks whether a number falls into a particular range.
- OPCEnumQuery()
Function for browsing registered OPC servers. This function is used for the simple OPC client configuration.
- rand()
Calculates a sequence of integer pseudo random numbers.
- releaseComObject()
Releases the COM object.
- removeDoneCB()
The function prevents the calculation of unwanted data in datapoint functions and statistical functions.
- removeGlobal()
Deletes the manager-wide global CTRL variable name.
- scriptInfo()
Returns information for the given source code.
- seGetCursorPos()
Returns the current cursor position in the script editor.
- seGetLine()
Returns the code text from a specific line number in the script editor.
- seInsertLine()
Inserts a new line with the corresponding line number and a specific text into the script editor.
- seRemoveLine()
Removes a specific code line in the script editor.
- seSetCursorPos()
Sets the cursor on a specific position in the script editor.
- seSetLine()
Inserts a text in a specific line in the script editor. If a text already exists in this line, it will be replaced.
- seSetLines()
Inserts multiple lines of text in the selected lines in the script editor. The text already in the lines will be replaced.
- setClipboardText()
Copies a specific text to the clipboard as plain text.
- setTrace()
Changes the trace level of the current thread.
- snmpMIBBrowserGetAdditionalInfos()
Returns the additional information for the specified OIDs of a MIB file.
- snmpMIBBrowserGetHierarchyNames()
Returns subordinated OIDs and item names of a passed start OID.
- srand()
Defines the initial value for the function rand().
- startSound()
Plays a WAV file.
- std_help()
The function displays any page of the Online Help, an arbitrary HTML page in the browser or an arbitrary text/pdf file on the computer resp. on a computer in the network.
- stopSound()
Stops the playback of a WAV file.
- system()
Runs a system shell command.
- useValueArchive()
- useQueryRDBDirect()
The function checks if RDB (Oracle) is used for queries.
- useRDBArchive()
The function useRDBArchive() checks if
RDB archives are used for the archiving in a project.
- useRDBGroups()
The function useRDBGroups() checks if RDB groups are used for archiving.
- userDefFunc()
Calls C++ functions.
- usesTouchScreen()
Query if the UI is currently using touch-input mode or mouse mode..