Overview | All Modules | Tutorial | User's Guide | Programming Guide

COVISE Online Documentation


Module category: IO



WriteASC

WriteASC generates an ASCII file containing the information of a Covise object (accepted types are specified in the list of types of the unique input port, see below). You may use this file by way of report or in case you wish to analyse the data with your own tools.

WriteASC.png

It has been tested on SGI and Linux platforms.

Parameters

Name Type Description
path Browser Path of the file
new Boolean If set to TRUE, it creates a new file and eventually destroys the contents of an already existing file; otherwise the new information is appended to the file.
verbose Boolean If set to TRUE, you dump a complete information of the object; otherwise only a summary is created.

Input Ports

Name Type Description
requireddataIn UnstructuredGrid
UniformGrid
Unstructured_2D_Data
Points
Float
Float
Vec3
Vec3
Unstructured_T3D_Data
Polygons
Lines
IntArr
RGBA_Colors
Text
ColorMap
Unstructured_V3D_Colors
Unstructured_V3D_Normals
Object for which we want to create a report file.

Output Ports

This module has no output ports.

Examples

Figure: covise/net/examples/WriteASC.net
WriteASC_map.png

In this map two WriteASC modules are used to generate reports of data objects constructed by other modules. The first one writes a file for the Unstructured_2D_Data object created by Histogram .

The first lines of this file (/usr/tmp/data2D.asc) is shown below:

 
----------------------------------------------------------------------
Object name: 'Histogram_1_OUT_007'
Type string: 'USTSTD':
Attributes
            COMMANDS AUTOSCALE
SETS SYMBOL 16
SETS LINESTYLE 0
 
Scalar 2D USG Data, 91 Elements


      0:       -0.551373       36.000000
      1:       -0.539119       26.000000
      2:       -0.526866       34.000000
      3:       -0.514613       22.000000
      4:       -0.502360       38.000000
      5:       -0.490107       26.000000
      6:       -0.477853       12.000000
      7:       -0.465600       46.000000                                     
      ..................................
      ..................................
      ..................................


Authors: Martin Aumüller, Ruth Lang, Daniela Rainer, Jürgen Schulze-Döbold, Andreas Werner, Peter Wolf, Uwe Wössner
Copyright © 1993-2022 HLRS, 2004-2014 RRZK, 2005-2014 Visenso
COVISE Version 2021.12