示波器兼容
This commit is contained in:
@@ -53,6 +53,28 @@ namespace DeviceCommand.Devices
|
||||
// SCPI 指令结束符 (消息终止符需使用 LF)
|
||||
private const string ScpiDelimiter = "\n";
|
||||
|
||||
#region 兼容旧 MSO44B 枚举(供 ACP 测试项反序列化)
|
||||
|
||||
public enum AcquireMode { Sample = 0, PeakDetect = 1, HiRes = 2, Average = 3, Envelope = 4 }
|
||||
public enum BandwidthLimit { Full = 0, BW20MHz = 1 }
|
||||
public enum Channel { Channel1 = 1, Channel2 = 2, Channel3 = 3, Channel4 = 4 }
|
||||
public enum CouplingMode { DC = 0, AC = 1, GND = 2 }
|
||||
public enum MeasurementType
|
||||
{
|
||||
Amplitude = 1, Frequency = 2, Mean = 3, PK2PK = 4,
|
||||
Maximum = 5, Minimum = 6, RMS = 7, Overshoot = 8,
|
||||
Undershoot = 9, PositiveOvershoot = 10, NegativeOvershoot = 11,
|
||||
RiseTime = 12, FallTime = 13, DutyCycle = 14,
|
||||
Period = 15, Phase = 16, Delay = 17,
|
||||
BurstWidth = 18, SlewRateRising = 19, SlewRateFalling = 20,
|
||||
High = 21
|
||||
}
|
||||
public enum StopAfter { Sequence = 0, RunStop = 1 }
|
||||
public enum TriggerMode { Auto = 0, Normal = 1 }
|
||||
public enum TriggerSlope { Rising = 0, Falling = 1 }
|
||||
|
||||
#endregion
|
||||
|
||||
public TektronixMSO(TcpConfig config) : base(config)
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user