- alertConnect()
Registers the function work() to be called, with resulting alerts.
- dpSetUnit()
Sets the unit of a DP element.
- alertDisconnect()
Unregisters the function work() from call when changes are made to the values.
- dpSetWait()
Assigns datapoint attributes and waits for an answer from the event manager.
- alertGetPeriod()
Reads the values of the specified alert attributes of the datapoint elements for which alerts were triggered.
- dpTypeChange()
The function changes datapoint types.
- delay()
Delays the next program step.
- dpTypeCreate()
The function creates a new datapoint type.
- dpConnect()
Calls a callback function whenever the passed datapoint values/attributes change.
- dpTypeDelete()
The function deletes an existing datapoint type.
- dpCreate()
Creates a datapoint.
- dpWaitForValue()
The function waits for a certain time (timeout) for a value change that fulfills the condition and returns the values of the different or same datapoints via the parameter returnValues.
- dpDelete()
Deletes a datapoint.
- evalScript()
Allows to execute a script during runtime and to write the return value of the script in retVal.
- dpDisconnect()
The function unregisters function work().
- execScript()
Allows to execute a script during runtime. Use this function for void main-functions (without return value).
- dpGet()
Reads values of datapoint attributes in variables.
- dpGetAsynch()
Reads values of datapoint attributes at a particular source time and writes them to variables.
- dpGetPeriod()
The function queries DP attributes over a specified period of time.
- dpNames()
Returns all the datapoint names or datapoint element names that match a pattern. The datapoint structures are written to the array in alphabetical order.
- dpQuery()
Retrieves attribute values with the help of SQL statements.
- getCurrentDomainName()
- dpQueryConnectAll()
The function dpQueryConnectAll subscribes to attributes of configs from multiple Data Point Elements, which meet a certain query condition. When a subscribed attribute changes, a callback function (“work” function) is executed. The event manager will always send all subscribed elements, even if only one changes. Therefore update messages will always contain all subscribed elements.
- getWindowsEvents()
The function returns the Windows events. The events under Windows are split into three different log types.
- dpQueryConnectSingle()
The function dpQueryConnectSingle subscribes to attributes of configs from multiple Datapoint Elements, which meet a certain query condition. When a subscribed attribute changes, a callback function (“work” function) is executed. The Event Manager will send every single change separately, so update messages will normally contain only one element. If however several of the subscribed attributes are changed together within one message (i.e. in one dpSet() function call), then these will be all be forwarded in one message to the subscribing work function. Additionally, the execution of the work function can be delayed with the optional parameter blockingTime to accumulate more changes, increasing performance.
- OPCEnumQuery()
Function for browsing registered OPC servers. This function is used for the simple OPC client configuration.
- dpQueryDisconnect()
Can be used to unregister work functions registered via dpQueryConnectAll() or dpQueryConnectSingle()
- system()
Runs a system shell command.
- dpSetAlias()
The function dpSetAlias() sets the alias for the specified datapoint element.
- tcpOpen()
Opens the connection to a TCP/IP server socket.
- dpSetComment()
- tcpRead()
Reads the data of a defined socket, which was opened with tcpOpen().
- dpSetDescription()
Sets a comment for the datapoint element dp.
- verifyOSUser()
The function returns TRUE (in the &result parameter) if the user with the defined user name exists, the account of the user is not locked or disabled and the specified password is correct. The default user is the current operating system user.
- dpSetFormat()
Sets the format of a DP element.
- v24Read()
Reads from the interface.
- removeSymbol()
The function is used to delete panel references.
- dpSetTimedWait()
Assigns values and a source time to the original attributes that can be changed by the user or to the attribute "_corr.._value".
- errorDialog()
Displays an error dialog.
- scriptEditor()
Starts the Script Editor and writes the entered script to a variable.
- popupMenu()
Activating a context-sensitive menu by means of right-clicking.
- colorEditor()
Opens the color editor and writes the names of the color to colstr.
- popupMenuXY()
Opens a pop-up menu in a specific position.
- fillSelector()
Opens the filling pattern selector and writes the selection to a variable.
- openDialog()
Opens a dialog for simple configuration.
- lineSelector()
Opens the line type selector and writes a line type selected there to a variable.
- printRootPanel()
Prints a particular root panel.
- fontSelector()
Opens the font type selector and writes the selection to a variable.
- printPanel()
Prints a panel.
- dpSelector()
Opens the datapoint selector and writes the selected datapoint address to
s. See
DP-Selector - printTable()
This function prints a table.
- langEditor()
Opens a language editor (langEditor)
- getConfirmDps()
Returns an array with the datapoints of a panel to be acknowledged.
- panelSelector()
Opens the file selection dialog and writes the selected file name to a variable.
- moduleAddDockModule()
Adds a new dock module to a GEDI or VISION module or to the Script Editor.
- folderSelector()
Opens the folder selector dialog and writes the name of the selected folder to the string variable "path".
- fileSelector()
Opens a file selection dialog and returns the name of the selected file.
- textEditor()
Opens the text editor as a main window (not modally).