ReadFName allows you to read in a file containing a list of one or more file names. By specifying the value of "Index" you may control which file name is output on the "Selected File Name" output port.
The format of the file must be: a first line containing an integer value, N, say, followed by N lines, each containing one file name.
This module may be used, for example, to loop through a list of file names for purposes of animation.
Port: Input File
Type: Text
The name of the file from which the file names are to be read.
Port: Index
Type: Slider
The index of the file name which is to be extracted.
If the index is greater than the number of file names currently available, then the file names are used cyclically.
Port: Selected File Name
Type: Text
The index of the file name which is to be extracted.
If the index is greater than the number of file names currently available, then the file names are used cyclically.