38.9.4.26 Delete CF Card File (Type)
Deletes specified files in CF Card. Files to be deleted are
limited to the file type specified in the"pDeleteFileType".
Function Name
INT WINAPI
EasyFileDeleteCard(LPCSTR sNodeName, LPCSTR pDeleteFileType, WORD
wDeleteFileNo);
Argument
sNodeName: The
station name is fixed as #WinGP.
pDeleteFileType:
Delete File Types in CF Card (see Special Item)
wDeleteFileNo: File
Numbers of Files to Delete on the CF Card
Return value (NULL)
Normal End: 0
Problem: Error code
Special Item
When this function is called to the files that do not exist, the
operation ends normally without resulting an error.
The supported file types are as follows. You can only read items
stored in the defined CF Card folder.
Data Class
|
File Type
|
Folder
|
Recipe (Filing Data)
|
ZF or F
|
FILE
|
Recipe (CSV Data)
|
ZR
|
FILE
|
Image Screen
|
ZI or I
|
DATA
|
Sound Data
|
ZO or O
|
DATA
|
GP-PRO/PB III for Windows Line Chart data
(compatible)
|
ZT
|
TREND
|
GP-PRO/PB III for Windows Sampled data
(compatible)
|
ZS
|
TREND
|
Alarm1
|
Z1 or ZA
|
ALARM
|
Alarm2
|
Z2 or ZH
|
ALARM
|
Alarm3
|
Z3 or ZG
|
ALARM
|
Alarm4 to 8
|
Z4 to Z8
|
ALARM
|
GP-PRO/PB III for Windows Logging data
(compatible)
|
ZL
|
LOG
|
Capture data
|
CP
|
CAPTURE
|
Sampling Group 1 to 64 data
|
ZS1 to ZS64
|
SAMP01 to SAMP64
|
|