groupDelete()
Deletes a data point 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 data point group. The following error codes are available:
-
0 = OK, group was deleted without any failures
-
-1 = The user has no permission to delete a data point group
-
-2 = The name of the data point group could not be found
-
-8 = The group is used as filter
Description
Deletes a data point group and passes the error code via parameter.
Example
The data point group MyDpGroup will be deleted.
main()
{
int err;
groupDelete("MyDpGroup", err);
DebugN(err);
}
Assignment
Data point function
Availability
CTRL