<< Click to Display Table of Contents > 

Client Control Interface Manual > Global Settings > Optic > Advanced > MOTF hardware settings

MOTF hardware settings
Previous pageReturn to chapter overviewNext page

Enable MOTF

MOTF Start Delay

USC-1 MOTF

USC-2/3 MOTF

 

Enable MOTF
 

Set

Get

DLL Function

int CCI_Return = ScSetLongValue(int Value_Type, int Enable)

int Enable = ScGetLongValue(int Value_Type)

ASCII Function

int CCI_Return = ScCciSetLongValue(int Value_Type, int Enable)

int Enable = ScCciGetLongValue(int Value_Type)

Description

Allows you to enable or disable the checkbox for marking on the fly settings in Settings/Optic/Advanced.

Value_Type

Type: int

Location: ScComSAMLightClientCtrlValueTypes

scComSAMLightClientCtrlLongValueTypeEnableMotf

91

Enable

Type: int

Unit: none

0: Disable

1: Enable

CCI_Return

Type: int

CCI return number, see error list.

Notes

-

C# Example: Enable MOTF:

 

int CCI_Return = cci.ScSetLongValue( ( int )ScComSAMLightClientCtrlValueTypes.scComSAMLightClientCtrlLongValueTypeEnableMotf, 1 );

C# Example: Check state of the flag:

 

int Enable = cci.ScGetLongValue( ( int )ScComSAMLightClientCtrlValueTypes.scComSAMLightClientCtrlLongValueTypeJobExecutionDelay);

Table 52: Enable MOTF

MOTF Start Delay
 

Set

Get

DLL Function

int CCI_Return = ScSetDoubleValue(int Value_Type, double Start_Delay)

double Start_Delay = ScGetDoubleValue(int Value_Type)

ASCII Function

int CCI_Return = ScCciSetDoubleValue(int Value_Type, double Start_Delay)

double Start_Delay = ScCciGetDoubleValue(int Value_Type)

Description

Set or get the MOTF trigger delay for RTC cards.

Value_Type

Type: int

ID:

Location: ScComSAMLightClientCtrlValueTypes

scComSAMLightClientCtrlDoubleValueTypeMOFExtStartDelay

65

Start_Delay

Type: int

Unit: [µs]

Set or get the trigger delay for RTC cards.

CCI_Return

Type: int

CCI return number, see error list.

Notes

Only useable for RTC cards.

C# Example: Set delay to 200µs:

 
int CCI_Return = cci.ScSetDoubleValue( (int)ScComSAMLightClientCtrlValueTypes.scComSAMLightClientCtrlDoubleValueTypeMOFExtStartDelay, 200.0 );

C# Example: Get delay:
 

double Start_Delay = cci.ScGetDoubleValue( (int)ScComSAMLightClientCtrlValueTypes.scComSAMLightClientCtrlDoubleValueTypeMOFExtStartDelay );

Table 53: MOTF Start Delay

USC-1 MOTF
 

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 different primary head parameters.

ValueType

Type: int

ID:

Location: ScComSAMLightClientCtrlValueTypes

scComSAMLightClientCtrlDoubleValueTypeUsc1MotfCh0Multiplier

65539

This constant is used to set or get the multiplier value for channel 0. [mm]*

scComSAMLightClientCtrlDoubleValueTypeUsc1MotfCh1Multiplier

65540

This constant is used to set or get the multiplier value for channel 1. [mm]*

scComSAMLightClientCtrlDoubleValueTypeUsc1MotfSimulate

65638

Set or get the flag simulation. 0 - Disable, 1 - Enable

scComSAMLightClientCtrlDoubleValueTypeUsc1MotfUseYChannel

65640

Set or get the flag Use Y Channel. 0 - Disable, 1 - Enable

scComSAMLightClientCtrlDoubleValueTypeUsc1MotfInvertOffset

65661

Set or get the flag invert offset. 0 - Disable, 1 - Enable

Parameter

Type: int

Unit: depends on constant

Set or get the required parameter.

CCI_Return

Type: int

CCI return number, see error list.

Notes

The default unit is mm, but the user can select a different unit.

C# Example: Enable channel 0 simulation mode:

 

int CCI_Return = cci.ScSetDoubleValue( (int)ScComSAMLightClientCtrlValueTypes.scComSAMLightClientCtrlDoubleValueTypeUsc2MotfCh0Simulate, 1 );

C# Example: Get channel 0 simulation state:
 
double Parameter = cci.ScGetDoubleValue( (int)ScComSAMLightClientCtrlValueTypes.scComSAMLightClientCtrlDoubleValueTypeUsc2MotfCh0Simulate );

Table 54: USC-1 MOTF

USC-2/3 MOTF
 

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 different primary head parameters.

Value_Type

Type: int

ID:

Location: ScComSAMLightClientCtrlValueTypes

scComSAMLightClientCtrlDoubleValueTypeUsc2MotfCh0Enable

65662

Enable channel 0 MOTF.

scComSAMLightClientCtrlDoubleValueTypeUsc2MotfCh1Enable

65663

Enable channel 1 MOTF.

scComSAMLightClientCtrlDoubleValueTypeUsc2MotfCh0Simulate

65664

Enable simulation mode for channel 0.

scComSAMLightClientCtrlDoubleValueTypeUsc2MotfCh1Simulate

65665

Enable simulation mode for channel 1.

scComSAMLightClientCtrlDoubleValueTypeUsc2MotfCh0SwapAB

65666

This constant is used to set or get SwapAB for channel 0.

scComSAMLightClientCtrlDoubleValueTypeUsc2MotfCh1SwapAB

65667

This constant is used to set or get SwapAB for channel 1.

scComSAMLightClientCtrlDoubleValueTypeUsc2MotfCh0Mode

65668

This constant is used to set or get the Mode for channel 0.

0: X.

1: Y.

2: Rotation.

scComSAMLightClientCtrlDoubleValueTypeUsc2MotfCh1Mode

65669

This constant is used to set or get the Mode for channel 1.

0: X.

1: Y.

2: Rotation.

scComSAMLightClientCtrlDoubleValueTypeUsc2MotfCh0Multiplier

65670

This constant is used to set or get the multiplier value for channel 0. [mm]*

scComSAMLightClientCtrlDoubleValueTypeUsc2MotfCh1Multiplier

65671

This constant is used to set or get the multiplier value for channel 1. [mm]*

scComSAMLightClientCtrlDoubleValueTypeUsc2MotfCh0Counter

65718

Get the MOTF channel 0 counter. (get-only)

scComSAMLightClientCtrlDoubleValueTypeUsc2MotfCh1Counter

65719

Get the MOTF channel 1 counter. (get-only)

Parameter

Type: int

Unit: depends on Constant

Set or get the required parameter.

CCI_Return

Type: int

CCI return number, see error list.

Notes

The default unit is mm, but the user can select a different unit.

C# Example: Enable simulation mode:

 

int CCI_Return = cci.ScSetDoubleValue( (int)ScComSAMLightClientCtrlValueTypes.scComSAMLightClientCtrlDoubleValueTypeUsc2MotfCh0Enable, 1 );

C# Example: Get flag simulation:
 
double Parameter = cci.ScGetDoubleValue( (int)ScComSAMLightClientCtrlValueTypes.scComSAMLightClientCtrlDoubleValueTypeUsc2MotfCh0Enable );

Table 55: USC-2/3 MOTF