groupDelete()
Deletes a datapoint group.
Synopsis
void groupDelete(string group, int &iError);
Parameters
| Parameter | Description |
|---|---|
| group | Language dependent name of the group |
| iError |
Return value. Error code (see below). |
Return value
Error code for the function call.
Error
The return value of the iError parameter indicates whether an error occurred during the deletion of the datapoint group. The following error codes are available:
-
0 = OK, group was deleted without any failures
-
-1 = The user has no permission to delete a datapoint group
-
-2 = The name of the datapoint group could not be found
-
-8 = The group is used as filter
Description
Deletes a datapoint group and passes the error code via parameter.
Example
The datapoint group MyDpGroup will be deleted.
main()
{
int err;
groupDelete("MyDpGroup", err);
DebugN(err);
}
Assignment
Datapoint function
Availability
CTRL
