ProcUnit::ExecuteImageLogging

Execute image logging

int ExecuteImageLogging(
    TCHAR *directory,
    TCHAR *header
)

Parameters
*directory
Subdirectory name that saves logging image(character string)
*header
Head character of file name that saves logging image

Return Value
Returns 0 when the image logging is successfully executed.
Otherwise returns a non-zero value.

Description
Executes the image logging processing in measurement processing.
The subdirectory name that saves the file of the logging image is specified for argument directory.
The file of the logging image is saved under that the subdirectory name specified by rgument directory and the directory specified by the logging setting menu of the system.
When "Section by scene" or "Section by the total judge" is specified, the logging picture file saved under the section directory under the subdirectory.
When NULL is specified for argument directory, the subdirectory is not generated.
The maximum length of the subdirectory name character(numbers of characters except NULL in the terminal) specified by argument directory is 63 characters. The part that exceeds the maximum length at the character string is unavailable.
If there is "\" in the subdirectory name, the directory of a multistorey layer was able to be specified.
The prefix of the logging picture file is specified for argument header.
The file name of the saved logging picture file likes the following forms.
(prefix)2008-07-25_21-00-00-000.ifz
If NULL is specified for argument header, the prefix becomes none.
When the prefix is specified, argument header is as follows as the prefix is specified by the logging setting menu of the system.
(prefixA)(prefixB)2008-07-25_21-00-00-000.ifz
(prefixA):the prefix is specified by the argument header.
(prefixB):the prefix is specified by the logging setting menu of the system.

Example
   int Sample::MeasureProc(ProcUnit *ptrProcUnit)
    {

        // Execute image logging

        ptrProcUnit->ExecuteImageLogging(directory, header);
    }