Directory

Variable name

Description

sPath

Data type: STRING(255)

Path of the last successfully specified source directory

xPathSet

Data type – BOOL

  • TRUE – the last attempt to set the source directory was successful. The path of the source directory is now in stOut.stDirectory.sPath.

asFileName

Data type – ARRAY OF STRING(255)

File names of 20 files found in the source directory during the last successful retrieval as a result of a rising edge at
stIn.stDirectory.xGetFileNames. The file names may not exceed 255 characters in length. If uiFileNamesBlockOffset = 0, the file names of the first 20 files are transferred; if the value is 1, the file names of files 21 to 40 are transferred, etc. INFORMATION: It may take several seconds to receive all file names.

uiFileNamesBlockOffset

Data type – UINT

Offset of the block of 20 retrieved file names

uiFileNamesStartIndex

Data type – UINT

Index of the file in the source directory from which the file names are displayed.

uiFileNamesEndIndex

Data type – UINT

Index of the file in the source directory up to which the file names are displayed.

xFileNamesReceived

Data type – BOOL

  • TRUE – the last attempt to retrieve the file names from the source directory was successful. The file names can now be found in the asFileNames variable. INFORMATION: It may take several seconds to receive all file names.