2026-06-05 13:44:39 +09:00

92 lines
5.2 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AuroraPowerMeter.Coherent
{
public partial class PowerMeterPowerMax
{
// Common
public const string CMD_RESET = "*RST";
public const string CMD_IDENTIFICATION = "*IDN?";
// System options
public const string CMD_CHECK_SYS_STATUS = "SYSTem:STATus?";
public const string CMD_CHECK_SYS_TEMP = "SYSTem:INFormation:TEMPerature?";
public const string CMD_RESET_SYS_SYNC = "SYSTem:SYNC";
public const string CMD_CHECK_SYS_SYNC = "SYSTem:SYNC?";
public const string CMD_RESTORE_SYS_FACTORY_SETTING = "SYSTem:RESTore";
public const string CMD_SELECT_SYS_HANDSHAKING = "SYSTem:COMMunicate:HANDshaking";
public const string CMD_CHECK_SYS_HANDSHAKING = "SYSTem:COMMunicate:HANDshaking?";
// Error reporting
public const string CMD_CHECK_NUM_ERROR = "SYSTem:ERRor:COUNt?";
public const string CMD_CHECK_NEXT_ERROR = "SYSTem:ERRor:NEXT?";
public const string CMD_CHECK_ALL_ERROR = "SYSTem:ERRor:ALL?";
public const string CMD_CLEAR_ERROR = "SYSTem:ERRor:CLEar";
// Measurement setup and control
public const string CMD_SELECT_MEASUREMENT_MODE = "CONFigure:MEASure";
public const string CMD_CHECK_MEASUREMENT_MODE = "CONFigure:MEASure?";
public const string CMD_SET_SPEEDUP_STATE = "CONFigure:SPEedup";
public const string CMD_CHECK_SPEEDUP_STATE = "CONFigure:SPEedup?";
public const string CMD_SET_WAVELENGTH = "CONFigure:WAVElength";
public const string CMD_CHECK_WAVELENGTH = "CONFigure:WAVElength?";
public const string CMD_SET_GAIN_COMPENSATION = "CONFigure:GAIN:COMPensation";
public const string CMD_CHECK_GAIN_COMPENSATION = "CONFigure:GAIN:COMPensation?";
public const string CMD_SET_FACTOR = "CONFigure:GAIN:FACTor";
public const string CMD_CHECK_FACTOR = "CONFigure:GAIN:FACTor?";
public const string CMD_SET_ZERO = "CONFigure:ZERO";
public const string CMD_SELECT_ACCURACY_MODE = "CONFigure:AMODe";
public const string CMD_SELECT_PTJ_MODE = "TRIGger:PTJ:LEVel";
public const string CMD_CHECK_PTJ_MODE = "TRIGger:PTJ:LEVel?";
// Measurement data record item select and format
public const string CMD_SELECT_ITEM = "CONFigure:ITEMselect";
// Measurement data record reading
public const string CMD_READ = "READ?";
// Sensor information
public const string CMD_CHECK_SERIAL_NUM = "SYSTem:INFormation:SNUMber?";
public const string CMD_CHECK_PART_NUM = "SYSTem:INFormation:PNUMber?";
public const string CMD_CHECK_MODEL = "SYSTem:INFormation:MODel?";
public const string CMD_CHECK_CAL_DATE = "SYSTem:INFormation:CDATe?";
public const string CMD_CHECK_MANUFACTURING_DATE = "SYSTem:INFormation:MDATe?";
public const string CMD_CHECK_TYPE = "SYSTem:INFormation:TYPE?";
public const string CMD_CHECK_DIAMETER = "SYSTem:INFormation:DIAMeter?";
public const string CMD_CHECK_DEFAULT_WAVELENGTH = "SYSTem:INFormation:WAVElength?";
// Legacy laser PAD/SSIM interface
public const string CMD_LIST_COMMAND = "h";
//public const string CMD_RESET = "*rst"; // Common 중복
public const string CMD_CHECK_HW_DESCRIPTION = "*ind";
public const string CMD_CHECK_FW_VERSION = "v?";
public const string CMD_CHECK_PROTOCOL_VERSION = "vp?";
//public const string CMD_CHECK_SERIAL_NUM = "msn?"; // Sensor information 중복
//public const string CMD_CHECK_CAL_DATE = "mcal?"; // Sensor information 중복
//public const string CMD_CHECK_MANUFACTURING_DATE = "mfg"; // Sensor information 중복
public const string CMD_CHECK_SENSOR_FAMILY = "df?";
//public const string CMD_CHECK_DIAMETER = "app"; // Sensor information 중복
public const string CMD_CHECK_MIN_RANGE = "rmi";
public const string CMD_CHECK_MAX_RANGE = "rmx";
//public const string CMD_CHECK_SPEEDUP_STATE = "spd?"; // Measurement setup and control 중복
//public const string CMD_SET_SPEEDUP_STATE = "spd"; // Measurement setup and control 중복
//public const string CMD_CHECK_DEFAULT_WAVELENGTH = "wl?"; // Sensor information 중복
//public const string CMD_CHECK_WAVELENGTH = "wv?"; // Measurement setup and control 중복
//public const string CMD_SET_WAVELENGTH = "wv"; // Measurement setup and control 중복
//public const string CMD_CHECK_POWER = "pw?"; // CMD_READ 와 중복 (간소: 오직 파워[W]만 읽음)
public const string CMD_CHECK_BEAM_POSITION = "pos";
public const string CMD_CHECK_THERMISTOR_ADC_VAL = "tmp";
//public const string CMD_ENABLE_STREAMING = "dst"; // Data streaming transmission interface gating 중복
//public const string CMD_DISABLE_STREAMING = "dsp"; // Data streaming transmission interface gating 중복
// Data streaming transmission interface gating
public const string CMD_ENABLE_STREAMING = "INITiate";
public const string CMD_DISABLE_STREAMING = "ABORt";
}
}