File.
Delete the specified group’s name, and the group’s channels names string from the file.
DioFileGroupDelete (hFile, pszGroupName, pnStatus)
Name |
Type |
Comments |
hFile |
SHORT |
Session identifier: File handle is used when communicating with a file. The File handle session identifier is returned by calling DioFileOpen. |
pszGroupName |
PCSTR |
String specifying group name. |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
The function delete the specified group’s name, and the group’s channels names string from the file. If the string specifying group name does not exists the function retunes an error.
The following example deletes the group “Group1” and the group’s channels names string from the file:
SHORT hFile, nStatus;
DioFileGroupDelete (hFile, “Group1”, &nStatus);
DioFileOpen, DioFileClose, DioFileGroupGet , DioFileGroupGetChannelList , DioFileGroupGetName, DioFileGroupSet, DioGetErrorString