Subsections


Input Node

The input node is capable of reading all kinds of dataformats supported by SciCraft. After typing or selecting a file, the filetype and a discription of the filtype will apear. The different variables contained in the file wil be readily available in the bottom half of the dialog. The input node funktions the same for all kinds of datafiles, except one; the textfiles. The reading of textfiles is described in 4.2.1, below.


Reading Textfiles

Since textfiles are so general, and can be used for so much in SciCraft, they are not limited to a specific format. Instead when filetype textfile is selected in the input node a button ''Set separators'' apears. Pressing this button gives you the dialog in figure 4.1.

Figure 4.1: Setting separators for reading a text file.
\begin{figure}\begin{center}
\includegraphics[scale=0.7]{separators.eps}\end{center}\end{figure}

This dialog allows you to choose how the file should be represented in SciCraft. Whether you want it to be a ''list of lines'', a matrix where each line is a row and each word placed in a columb, or just a list of words. The Module Diagram ''textreader.zmd'' is an example of this. In addition to choosing between commenly used separators the dialog in figure 4.1 allows you to define your own by selecting custom and typing into the, now activated, field.


SciCraft Development Team