Reloads the currently open data file. The name and path of the data file is taken from the meta information. Thus this function might fail if the data has been imported but not yet saved as an Epina ImageLab file.
If the parameter FeedBack is TRUE a visual feedback of the loading progress is provided. Please note that unless the script progress bar is already visible you have to make it visible before calling Revert, otherwise the feedback will not be displayed. You can activate the script progress bar by calling the function ScriptBar(0).
The function returns the following error codes:
0 ... everything is OK
Please note that the data is not loaded if any error occurs except for error -7 (missing CRC). In this case the data is completely loaded (error -7 may occur with older .ilab files which do not contain the CRC checksum).
-1 ... the meta file contains a wrong or undefined content type
-2 ... the metadata contains an invalid property id
-3 ... invalid date time format in the metadata
-4 ... cannot revert other than .ilab data
-5 ... the metadata and the data cube do not match
-6 ... the corresponding data file (.cube) is missing
-7 ... the CRC checksum is missing
-8 ... not enough memory, cannot load raw data(1)