CSOLoad

MLModule
genre CSOPersistence
status stable
author Olaf Konrad
package MeVisLab/Standard
dll MLCSOModules
definition MLCSOModules.def
see also CSOManager, CSOSave, LocalCSOLoad
keywords CSO, contour

Purpose

The module CSOLoad loads a CSOList with all its parameters.

Usage

Enter the path to the file that is to be loaded into the File Name field. If Auto load is enabled, the file is instantly loaded, otherwise press Load.

If the file name does not end with .cso, this ending is added to the file name automatically.

Details

The CSOList is saved with all its properties as a plain ASCII-file or in a binary file format. The CSOLoad module automatically detects whether the file is in plain ASCII or in a binary format. The file can be dragged on the File Name field or just onto the module in a MeVisLab network. Alternatively, the file can just be dragged onto a MeVisLab network directly; in this case, a CSOLoad module with the according file name set is generated.

In the status field, the loading status and eventual error messages are displayed. On the module's automatic panel, there is a Boolean that reflects the loading status, too (named loadSuccess).

If a file has the ending .cso and is dragged onto a MeVisLab network, a CSOLoad module is created which automatically loads the dropped file.

Windows

Default Panel

../../../Modules/ML/MLCSOModules/mhelp/Images/Screenshots/CSOLoad._default.png

Output Fields

outCSOList

name: outCSOList, type: MLBase

The loaded CSOList.

Parameter Fields

Field Index

Auto load: Bool
done: Trigger
File Name: String
isProcessing: Bool
Load: Trigger
loadSuccess: Bool
Status: String
updateMode: Enum

Visible Fields

Auto load

name: autoApply, type: Bool, default: FALSE

If checked, the file is loaded if the file name was entered.

Load

name: apply, type: Trigger

If pressed, the specified file is loaded.

File Name

name: fileName, type: String

Sets the file name of the file that is to be loaded. Note that a file can be dragged onto this field for an automatic filling of the path and filename.

If the file does not end in .cso, this ending is automatically added.

Status

name: status, type: String, default: Ready.

Shows the status of the module and the loading process.

Hidden Fields

updateMode

name: updateMode, type: Enum, default: Off

Values:

Title Name
Off Off
Auto Update AutoUpdate

isProcessing

name: isProcessing, type: Bool, default: FALSE

done

name: done, type: Trigger

loadSuccess

name: loadSuccess, type: Bool, default: FALSE