Purpose

The module CurveImport loads curve data files saved with the PrintCurve module.

In addition, the curve style can be changed.

Windows

Default Panel

../../../Modules/ML/MLCurveUtils/mhelp/Images/Screenshots/CurveImport._default.png

Output Fields

outCurve

name: outCurve, type: MLBase

Parameter Fields

Field Index

Clear: Trigger Skip Lines: Integer
Comment Indent Length: Integer Update: Trigger
Curve Style: Integer Use comment lines as titles: Bool
Curve Table: String Use decimal comma: Bool
Filename: String  
Load: Trigger  
Parser Mode: Enum  
Separator: String  

Visible Fields

Parser Mode

name: parserMode, type: Enum, default: One value per row

Defines the mode for the table parser.

Values:

Title Name
One value per row One value per row
CSV Mode CSV Mode

Curve Table

name: curveTable, type: String

Sets a string defining the curve by x/y-value pairs.

Curve Style

name: style, type: Integer, default: 1

Sets the style of the curve.

Filename

name: filename, type: String

Sets a filename to load a curve definition from file.

Load

name: load, type: Trigger

If pressed, the specified curve file is loaded.

Clear

name: clear, type: Trigger

If pressed, the module's output is cleared.

Update

name: update, type: Trigger

If pressed, the module computes anew.

Skip Lines

name: numberOfHeaderLines, type: Integer, default: 0

Sets the number of header lines to skip.

Lines starting with a # are considered a comment and do not need to be skipped.

Use decimal comma

name: usesDescimalComma, type: Bool, default: FALSE

If checked, a comma is used for decimal numbers (instead of a point).

Separator

name: rowSeperator, type: String, default: ;

Sets a data pair separator for the parser mode CSV mode.

Use comment lines as titles

name: parseCommentsAsCurveTitles, type: Bool, default: FALSE

If checked, comment lines will be used as curve titles.

Comment Indent Length

name: commentIndentLength, type: Integer, default: 2, minimum: 0

Sets the number of characters to be cut off from comment lines.