Read_Text_Grid (Rd_Txt_Grid)
Synopsis
Reads in grid-oriented text, often the result of exporting a spreadsheet
Input Port
Parameters
Output Port
Description
Read_Text_Grid (the Network Editor name is shortened to Rd_Txt_Grid), reads in grid oriented text into a uniform field. The data files are often the result of exporting a spreadsheet or database into a text format. The reader will attempt to the structure (number of rows and columns)of the data by looking at the data file. Each row of data is assumed to end with a line termination character. The columns are assumed to be separated by the column separator character, often a tab, space, or comma. If the data type is "from file" the reader will look at the file to guess between integer and double (floating point).
Other than the column and row headers, the file is treated as a uniform grid of numerical data. If you need to customize the actions of the reader on a column-by-column basis or some of the data are character strings, then use Read_Text_columns (Rd_Txt_Columns in the Network Editor) instead.
Input
Parameters
A toggle that causes the module to treat the first line (after skipping the number of lines specified by the skip lines parameter) as a header that contains column names. The default is OFF.
A toggle that causes the module to treat the first row (after skipping the number of lines specified by the skip rows parameter) as a header that contains row names. The default is OFF.
A choice of characters to use as column separators. The allowed values are "space", "tab", ",", ";", ":", and "user". If you select "user", the value specified for the user separator parameter is treated as the column separator.
Radio box items that specify the type of the output data for the field's node data. The allowed values are byte, short, int, float, double, and string.
Output Port
Example
File
See also related modules