diff --git a/Services/LanScpiSocket.cs b/Services/LanScpiSocket.cs index a24132e..778333b 100644 --- a/Services/LanScpiSocket.cs +++ b/Services/LanScpiSocket.cs @@ -94,7 +94,7 @@ namespace ASTM_D7896_Tester.Services await SendCommandAsync($"VOLT:DC:RANG {DefaultVoltageRange}"); // 3. 设置积分时间 0.02PLC(最快速度) - await SendCommandAsync("VOLT:DC:NPLC 10"); + await SendCommandAsync("VOLT:DC:NPLC 0.02"); // 4. 关闭自动归零(提高速度) await SendCommandAsync("VOLT:DC:ZERO:AUTO OFF"); diff --git a/ViewModels/D7896ViewModel.cs b/ViewModels/D7896ViewModel.cs index ca055e2..aa8e5e9 100644 --- a/ViewModels/D7896ViewModel.cs +++ b/ViewModels/D7896ViewModel.cs @@ -88,7 +88,7 @@ public partial class D7896ViewModel : ObservableObject [ObservableProperty] private double _sampleDensity = 1000.0; // 新增,密度默认值1000 kg/m³(水) - int samples = 100; // 1秒 * 1000点/秒 + int samples = 800; // 1秒 * 1000点/秒 double heatingDuration = 0.8; // 加热时间 0.8 秒(需与您的加热脉冲宽度一致) double totalDuration = 1.6; // 总采样时间(加热 + 冷却) public D7896ViewModel()