<< Click to Display Table of Contents > 

Client Control Interface Manual > Programming Examples > Correct UCF

Correct UCF
Previous pageReturn to chapter overviewNext page

The following examples shows how to correct an ucf file using sc_corr_table via CCI.

 

Correct ucf

 

// Select Fit2D correction algorithm

cci.ScSetLongValue( ( int ) ScComSAMLightClientCtrlValueTypes.scComSAMLightClientCtrlLongValueTypeCorrectionMode, ( int ) ScComSAMLightClientCtrlValueTypes.scComSAMLightClientCtrlCorrectionMode2dFit );

 

// Select Fit2D order, for example 3_Advanced

cci.ScSetLongValue( ( int ) ScComSAMLightClientCtrlValueTypes.scComSAMLightClientCtrlLongValueType2dFitType, 3 );

 

// Execute the correction with <SCAPS>\system\sc_calib_points.txt and apply the new correction file in SAMLight.

cci.ScExecCommand( ( int ) ScComSAMLightClientCtrlExecCommandConstants.scComSAMLightClientCtrlExecCommandCorrectSamLight );

Table 403: Correct ucf