<< Click to Display Table of Contents > IPG |
The following tab is available, if an IPG laser is configured. It can be found via Mark → Edit... → IPG. The following commands can be set via CCI:
|
---|
☒ Set ☒ Get |
|||
---|---|---|---|
DLL Function |
int CCI_Return = ScSetDoubleValue(int Value_Type, double Pulse_Length) double Pulse_Length = ScGetDoubleValue(int Value_Type) |
||
ASCII Function |
int CCI_Return = ScCciSetDoubleValue(int Value_Type, double Pulse_Length) double Pulse_Length = ScCciGetDoubleValue(int Value_Type) |
||
Description |
Set or get the optical pulse length. |
||
Value_Type |
Type: int |
ID: |
|
Location: ScComSAMLightClientCtrlValueTypes |
|||
scComSAMLightClientCtrlDoubleValueTypeIPGPulseLength |
123 |
||
Pulse_Length |
Type: double |
Unit: [ns] |
|
IPG pulse length 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 optical pulse length to 8.0 ns:
int CCI_Return = cci.ScSetDoubleValue( ( int )ScComSAMLightClientCtrlValueTypes.scComSAMLightClientCtrlDoubleValueTypeIPGPulseLength, 8.0 ); |
|||
C# Example: Get the current optical pulse length: |
Table 83: IPG Pulse Length
☐ Set ☒ Get |
|||
---|---|---|---|
DLL Function |
int EMON_State = ScGetLongValue(int Value_Type) |
||
ASCII Function |
int EMON_State = ScCciGetLongValue(int Value_Type) |
||
Description |
Get last known state of the RS-232 command EMON which SAMLight received from the laser. |
||
Value_Type |
Type: int |
ID: |
|
Location: ScComSAMLightClientCtrlValueTypes |
|||
scComSAMLightClientCtrlLongValueTypeEmonState |
153 |
||
EMON_State |
Type: int |
Unit: |
|
Last known state of EMON: •0 = EMON is off. •1 = EMON is on. |
|||
CCI_Return |
Type: int |
||
CCI return number, see error list. |
|||
Notes |
•This command is only available for specific laser types. |
||
C# Example: Get
int EMON_State = cci.ScGetLongValue( ( int )ScComSAMLightClientCtrlValueTypes.scComSAMLightClientCtrlLongValueTypeEmonState ); |
Table 84: IPG EMON State