ReadTextFile¶
Purpose¶
Simple scriptOnly module that will read the content of a text file into a string.
Path variables like $(NETWORK) will be expanded and are available in the appropriately named field.
If autoUpdate is true the file contends will be loaded directly and not require to press update.
If autoClear is true, an empty filename entry will clear the content string similar to what happens when trying to load an invalid file name.
Usage¶
Just select some text file.
Tips¶
Try to avoid opening large binary files with this module.
Windows¶
Default Panel¶
Parameter Fields¶
Field Index¶
|
|
|
|
|
|
|
Visible Fields¶
File Name¶
- name: fileName, type: String¶
File name possibly containing variable like $(NETWORK)
Expanded File Name¶
- name: expandedFileName, type: String, persistent: no¶
The expanded filename.
File Content¶
- name: fileContent, type: String¶
The contents of that file.
Update¶
- name: update, type: Trigger¶
Update string from file.
Auto¶
- name: autoUpdate, type: Bool, default: TRUE¶
Auto-update string from file whenever the file name changes.
AutoClear¶
- name: autoClear, type: Bool, default: FALSE¶
Print Debug Information¶
- name: debugInformation, type: Bool, default: TRUE¶
If enabled, debug information used in scripting is printed to MeVisLab debug console.