Directory
Optionally, it is possible to specify a source directory and read out the file names of the files present in this directory (e.g. for display in a visualization system).
Variable name | Description |
---|---|
sPath | Data type: STRING(80) |
Absolute path of the source directory in which the file to be imported is searched for or the file names can be retrieved on request. If the source directory is specified, it is sufficient to specify the file name in the source directory in stProcess.sFileName. | |
xSetPath | Data type – BOOL |
With a rising edge, the source directory is set to the value in sPath. | |
xGetFileNames | Data type – BOOL |
With a rising edge, retrieve the file names of the first 20 files from the source directory. If the retrieval of the file names from the source directory is triggered before it has been set, an attempt is made to specify this source directory. If the parameterization of the source directory has been changed in the meantime by | |
uiFileNamesBlockOffset | Data type – UINT |
Offset for retrieving the file names. One increment of the offset jumps 20 file names forward (e.g. 0 = 1 – 20, 1 = 21 – 40, 2 = 41 – 60, 3 = 61 – 80) |