<< Click to Display Table of Contents > 

Client Control Interface Manual > Global Settings > Extras

Extras
Previous pageReturn to chapter overviewNext page

The following parameters for Improved Beam Compensation can be found and only be set in SAMLight at Settings → System → Extras.

•Grayscale PixelMap Mode

•Improved Beam Compensation

 

Grayscale PixelMap Mode
 

☒ Set

☒ Get

DLL Function

int CCI_Return = ScSetLongValue(int Value_Type, int PixelMap_Mode)

int PixelMap_Mode = ScGetLongValue(int Value_Type)

ASCII Function

-

Description

Set or get the status of the SAMLight Improved Beam Compensation.

Value_Type

Type: int

ID:

Location: ScComSAMLightClientCtrlValueTypes

scComSAMLightClientCtrlLongValueTypePixelMapType

150

PixelMap_Mode

Type: int

Unit: none

•0: Dynamic Grayscale Map disabled

•1: Dynamic Grayscale Map enabled, linear interpolation

•2: Dynamic Grayscale Map enabled, cubic interpolation

•3: Dynamic Grayscale Map enabled, hermite interpolation

CCI_Return

Type: int

CCI return number, see error list.

Notes

-

C# Example: Enable Dynamic Grayscale Map and set interpolation to linear:
 
int CCI_Return = cci.ScSetLongValue( ( int )ScComSAMLightClientCtrlValueTypes.scComSAMLightClientCtrlLongValueTypePixelMapType, 1 );

C# Example: Check Grayscale PixelMap Mode

 

int PixelMap_Mode = cci.ScGetLongValue( ( int )ScComSAMLightClientCtrlValueTypes.scComSAMLightClientCtrlLongValueTypePixelMapType );

Table 67: Grayscale PixelMap Mode

Improved Beam Compensation
 

☒ Set

☒ Get

DLL Function

int CCI_Return = ScSetLongValue(int Value_Type, int Improved_Beam_Compensation)

int Improved_Beam_Compensation = ScGetLongValue(int Value_Type)

ASCII Function

-

Description

Set or get the status of the SAMLight Improved Beam Compensation.

Value_Type

Type: int

ID:

Location: ScComSAMLightClientCtrlValueTypes

scComSAMLightClientCtrlLongValueTypeEnableImprovedBeamCompensation

137

Improved_Beam_

Compensation

Type: int

Unit: none

•0: Disable Improved Beam Compensation

•1: Enable Improved Beam Compensation

CCI_Return

Type: int

CCI return number, see error list.

Notes

-

C# Example: Enable Improved Beam Compensation:
 
int CCI_Return = cci.ScSetLongValue( ( int )ScComSAMLightClientCtrlValueTypes.scComSAMLightClientCtrlLongValueTypeEnableImprovedBeamCompensation, 0 );

C# Example: Check if Improved Beam Compensation is enabled:

 

int Mode = cci.ScGetLongValue( ( int )ScComSAMLightClientCtrlValueTypes.scComSAMLightClientCtrlLongValueTypeEnableImprovedBeamCompensation );

Table 68: Improved Beam Compensation