<< Click to Display Table of Contents > 

Client Control Interface Manual > Pen Settings > Scanner

Scanner
Previous pageReturn to chapter overviewNext page

The following functions can be found under Mark Edit... Scanner:

Pen Enable Flags, see Pen Settings

oWobble

Pen Scanner Parameters

Variable Jump Delay

Wobble Parameters: Frequency and Amplitude

 

Pen Scanner Parameters
 

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 various pen scanner parameters.

Value_Type

Type: int

ID:

Location: ScComSAMLightClientCtrlValueTypes

scComSAMLightClientCtrlDoubleValueTypeJumpSpeed

5

Jump speed. [mm/s*]

scComSAMLightClientCtrlDoubleValueTypeJumpDelay

7

Jump Delay. [μs]

scComSAMLightClientCtrlDoubleValueTypeMarkDelay

8

Mark Delay. [μs]

scComSAMLightClientCtrlDoubleValueTypePolyDelay

9

Poly Delay. [μs]

scComSAMLightClientCtrlDoubleValueTypeLaserOnDelay

10

Laser On Delay. [μs]

scComSAMLightClientCtrlDoubleValueTypeLaserOffDelay

11

Laser Off Delay. [μs]

Parameter

Type: double

Unit: depends on constant

The corresponding value.

CCI_Return

Type: int

CCI return number, see error list.

Notes

The pen number has to be set by ScSetPen.

C# Example: Set the jump speed to 5000.0 mm/s:
 

int CCI_Return = cci.ScSetDoubleValue( ( int )ScComSAMLightClientCtrlValueTypes.scComSAMLightClientCtrlDoubleValueTypeJumpSpeed, 5000.0 );

C# Example: Get the current jump speed:
 

double Jump_Speed = cci.ScGetDoubleValue( ( int )ScComSAMLightClientCtrlValueTypes.scComSAMLightClientCtrlDoubleValueTypeJumpSpeed );

Table 93: Pen Scanner Parameters

Variable Jump Delay

 

Set

Get

DLL Function

int CCI_Return = ScSetLongValue(int Value_Type, int Parameter)

int Parameter = ScGetLongValue(int Value_Type)

ASCII Function

int CCI_Return = ScCciSetLongValue(int Value_Type, int Parameter)

int Parameter = ScCciGetLongValue(int Value_Type)

Description

Set Variable Jump Delay Parameters

Value_Type

Type: int

ID:

Location: ScComSAMLightClientCtrlValueTypes

scComSAMLightClientCtrlLongValueTypeEnableVarJumpDelay

160

Enables Variable Jump Delay in the pen settings.

scComSAMLightClientCtrlLongValueTypeVarJumpDelayLengthLimit

161

Jump Length Limit [Bit].

scComSAMLightClientCtrlLongValueTypeVarJumpDelayMin

162

Min. Jump Delay [10µs].

Parameter

Type: int

Unit: depends on constant

The corresponding value.

CCI_Return

Type: int

CCI return number, see error list.

Notes

A pen has to be selected first.

If deactivated, the global settings in the card tab are applied.

C# Example: Activate the Variable Jump Delay.
 

cci.ScSetLongValue( ( int )ScComSAMLightClientCtrlValueTypes.scComSAMLightClientCtrlLongValueTypeEnableVarJumpDelay, 1 );

Table 94: Variable Jump Delay

Wobble Parameters

 

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 wobble parameters.

Value_Type

Type: int

ID:

Location: ScComSAMLightClientCtrlValueTypes

scComSAMLightClientCtrlDoubleValueTypeWobbleFrequency

54

Wobble Frequency. [Hz]

scComSAMLightClientCtrlDoubleValueTypeWobbleAmplitude

55

Wobble Amplitude. [mm]

Parameter

Type: double

Unit: depends on constant

The corresponding value.

CCI_Return

Type: int

CCI return number, see error list.

Notes

For wobble to work, you need to enable it first.

The pen number has to be set by ScSetPen.

C# Example: Set the wobble amplitude to 0.5 mm:
 

int CCI_Return = cci.ScSetDoubleValue( ( int )ScComSAMLightClientCtrlValueTypes.scComSAMLightClientCtrlDoubleValueTypeWobbleAmplitude, 0.5 );

C# Example: Get the current wobble amplitude:
 

double Wobble_Amplitude = cci.ScGetDoubleValue( ( int )ScComSAMLightClientCtrlValueTypes.scComSAMLightClientCtrlDoubleValueTypeWobbleAmplitude );

Table 95: Wobble Parameters