51 lines
2.2 KiB
C#
51 lines
2.2 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace AuroraLaser.Coherent.Compact
|
|
{
|
|
partial class LaserCompactMiniSerialConn
|
|
{
|
|
// Sti: Set laser power; set current 인걸 보면, power 는 전류를 의미..??
|
|
// 조건: only active if laser device is in mode Wrmc = 0
|
|
// 단위: 0.1 [%], 범위: [0, 1000]
|
|
public const string CMD_SetLaserPower = "Sti"; // Set Laser Power: + 파워숫자
|
|
public const string CMD_GetInternalSetPower = "Rdk"; // Read out value of internal set power
|
|
|
|
public const string CMD_GetSerialNumber = "Rdn"; // Read out serial number
|
|
|
|
public const string CMD_SetPowerOff = "Stp0"; // Set PowerOn: Off
|
|
public const string CMD_SetPowerOn = "Stp1"; // Set PowerOn: On
|
|
|
|
// Set terminal emulation (VT100 mode)
|
|
public const string CMD_SetVT100ModeOff = "Wrv0"; // VT100 mode off
|
|
public const string CMD_SetVT100ModeOn = "Wrv1"; // VT100 mode on
|
|
|
|
// Define source for laser control
|
|
public const string CMD_SourceForLaserControlByInternal = "Wrml0"; // Internal (USB)
|
|
public const string CMD_SourceForLaserControlByExternal = "Wrml1"; // Externla (Interface)
|
|
|
|
// Define source for presetting the laser current
|
|
public const string CMD_SourceForPresettingLaserCurrentByInternal = "Wrmc0"; // Internal (USB)
|
|
public const string CMD_SourceForPresettingLaserCurrentByExternal = "Wrmc1"; // External (Interface)
|
|
|
|
// Read out laser mode
|
|
public const string CMD_GetLaserMode = "Rdm"; // Read out laser mode
|
|
|
|
// Reset Error Internal
|
|
// precondition: Wrml = 0 (Source for laser control : 0 = internal)
|
|
public const string CMD_ResetError = "Str"; // Reset error internal
|
|
|
|
// Read out error register
|
|
public const string CMD_GetErrorRegister = "Rde"; // Read out error register
|
|
|
|
// Read out status register
|
|
public const string CMD_GetStatusRegister = "Rdx"; // Read out status laser
|
|
|
|
// Read out current value of temperature of laser diode
|
|
public const string CMD_GetTemperature = "Rdh"; // Read out laser diode temperature
|
|
}
|
|
}
|