Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »


 
Stops an active expression log previously defined by an edmiDefineExpressionsLog operation and started by an edmiStartExpressionsLog operation.
The expression log will log (trace) the execution in the EDMexpressVM using the filters specified in the last edmiDefineExpressionsLog operation.
Related functions: edmiDefineExpressionsLog , edmiStartExpressionsLog , edmiCloseExpressionsLog
Header:
#include "sdai.h"
Prototype:
EdmiError edmiStopExpressionsLog(void);
Arguments:
None.
Returns:
A completion code of datatype EdmiError is the returned function value. The completion code has the following values:
Completion code = 0 : Operation successfully performed.
Completion code != 0: Error in operation. Completion code is an EDMinterface error code. Use edmiGetErrorText to get the error text corresponding to the error code.
EXAMPLE
EdmiError rstat;
...
If (rstat = edmiDefineExpressionsLog (
"Man2MaleAdult, Woman2FemaleAdult, Child2BoyOrGirl", 
"Child2BoyOrGirl, 200 – 550, 1100 – 1290", 
"/usr/hkd/tmp/expressions.log", 
0, 
"/usr/hkd/tmp/user_output.text", 
FULL_LOG | LOG_TO_FILE | USER_OUTPUT_TO_FILE)) {  
/* Error in operation */  
printf("\nError in edmiDefineExpressionsLog: %s", 
edmiGetErrorText(rstat)); 
goto error; 
}
...
edmiStartExpressionsLog();
. . .
edmiStopExpressionsLog();
. . .
edmiStartExpressionsLog();
. . .
edmiCloseExpressionsLog();
. . .

  • No labels