CIBC:Documentation:SCIRun:Reference:SCIRun:ReadString
From NCRR Biomedical Software Development, Engineering, and Dissemination Wiki
Contents |
ReadString
Information
- Package: SCIRun
- Catagory: DataIO
- Author(s): Jeroen Stinstra
- Status: Supported in latest version
- Version: 3.0
Description
Summary
This module reads a string from file.
Detailed Description
This module reads a string from file. A string is in essence a text file and this module imports a text file as a string. The default extension used by SCIRun for text files is .txt, although any file containing ASCII text can be read by this module.
This module has one input port through which the user can define the name of the file that needs to be read. If this port is connected to a string dataflow object, this name is used instead the one entered in the GUI.
This module has two output ports: the first port contains the bundle that was read and the second port contains a copy of the filename. Hence if one wants to annotate the results, this filename can be displayed using the ShowString module.
Frequently Asked Questions
- Is there a native SCIRun string format like there is for fields?
- Yes, there is but it only used for embedding strings into other objects. As a string only contains text, the preferred way of exporting/importing a string is just writing/reading a text file.
Known Bugs
Recent Changes
Go back to Documentation:SCIRun:Reference:SCIRun
