function CEL_ExpressionResolved(Source, EventID, cqg_expression, cqg_error, varargin)

try
    % Informing about expression resolving and calculating correlation.
    disp('Expression resolved.');
    disp('Calculating correlation:');
    SyncAndCalcCorr(cqg_expression);
catch
    CEL_ShutDown;
    disp('An error occurred in CEL_ExpressionResolved.m file.');
end