Visu_FbFileListProvider (FB)

FUNCTION_BLOCK Visu_FbFileListProvider IMPLEMENTS IFileListProvider

This function block searches in a file system and provides a string list with all files from a specific directory with a specific search filter. An instance of this function block can be used in the following way: - Method Initialize has to be called before using the instance, e.g. in an input action,

where also the dialog FileOpenSave will be opened later.

  • The 2 methods GetSelectedFileName and GetSelectedDirectory can be used after closing the dialog FileOpenSave (typically in a function called from an input action “On Dialog closed”) to retrieve the selected file name and the selected folder