38.9.4.24 Delete CF card file (optionally define file name)

Deletes specified files in CF Card. You can optionally define the file to delete.

Function Name

INT WINAPI EasyFileDeleteInCfCard(LPCSTR sNodeName, LPCSTR sFolderName, LPCSTR sFileName) ;

Argument

sNodeName: The station name is fixed as #WinGP.

sFolderName: Folder name of file on the CF card file to delete (Maximum 32 single-byte characters).

sFileName: File name in the maximum 8.3 string format to delete from the CF card.

Return value (NULL)

Normal End: 0

Problem: Error code

Special Item

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