<< Click to Display Table of Contents > Correction Settings |
![]() ![]() ![]() |
The following parameters can be found in SAMLight at Settings → System → Optic → Advanced → Correction Settings .
☒ Set ☒ Get |
|||
---|---|---|---|
DLL Function |
int CCI_Return = ScSetDoubleValue(int Value_Type, double Parameter) double Parameter = ScGetDoubleValue(int Value_Type) |
||
ASCII Function |
int CCI_Return = ScCciSetDoubleValue(int Value_Type, double Parameter) double Parameter = ScCciGetDoubleValue(int Value_Type) |
||
Description |
Set or get the state of the tilt compensation activation (only available for USC-3 cards). |
||
ValueType |
Type: int |
ID: |
|
Location: ScComSAMLightClientCtrlValueTypes |
|||
scComSAMLightClientCtrlDoubleValueTypeTiltCompensationEnabled |
196625 |
||
This constant is used to set or get the state of the enable checkbox of the tilt compensation. |
|||
Parameter |
Type: int |
Unit: depends on constant |
|
•0: Disable •1: Enable |
|||
CCI_Return |
Type: int |
||
CCI return number, see error list. |
|||
Notes |
- |
||
C# Example: Get tilt compensation enable state:
int CCI_Return = cci.ScGetDoubleValue( (int)ScComSAMLightClientCtrlValueTypes.scComSAMLightClientCtrlDoubleValueTypeTiltCompensationEnabled); |
|||
C# Example: Activate the tilt compensation: int Parameter = cci.ScSetDoubleValue( (int)ScComSAMLightClientCtrlValueTypes.scComSAMLightClientCtrlDoubleValueTypeTiltCompensationEnabled, 1); |
Table 56: Enable Tilt Compensation
☒ Set ☒ Get |
|||
---|---|---|---|
DLL Function |
int CCI_Return = ScSetDoubleValue(int Value_Type, double Value) double Value = ScGetDoubleValue(int Value_Type) |
||
ASCII Function |
int CCI_Return = ScCciSetDoubleValue(int Value_Type, double Value) double Value = ScCciGetDoubleValue(int Value_Type) |
||
Description |
Set or get values of the tilt compensation (for USC-3 only). |
||
ValueType |
Type: int |
ID: |
|
Location: ScComSAMLightClientCtrlValueTypes |
|||
scComSAMLightClientCtrlDoubleValueTypeTiltCompensationXOffset |
196626 |
||
This constant is used to set or get the offset in x for the tilt compensation. [mm]* |
|||
scComSAMLightClientCtrlDoubleValueTypeTiltCompensationYOffset |
196626 |
||
This constant is used to set or get the offset in y for the tilt compensation. [mm]* |
|||
scComSAMLightClientCtrlDoubleValueTypeTiltCompensationZOffset |
196626 |
||
This constant is used to set or get the offset in z for the tilt compensation. [mm]* |
|||
Value |
Type: int |
Unit: depends on constant |
|
Set or get the required value of the desired offset. |
|||
CCI_Return |
Type: int |
||
CCI return number, see error list. |
|||
Notes |
•The default unit is mm, but the user can select a different unit. •The z offset needs to be >0, 0 is not allowed. |
||
C# Example: Get tilt compensation x offset:
int CCI_Return = cci.ScGetDoubleValue( (int)ScComSAMLightClientCtrlValueTypes.scComSAMLightClientCtrlDoubleValueTypeTiltCompensationXOffset); |
|||
C# Example: Set tilt compensation x offset to 5: int Value = cci.ScSetDoubleValue( (int)ScComSAMLightClientCtrlValueTypes.scComSAMLightClientCtrlDoubleValueTypeTiltCompensationXOffset, 5); |
Table 57: Tilt Compensation Offsets (USC-3)