This commit is contained in:
@@ -94,7 +94,7 @@ namespace ASTM_D7896_Tester.Services
|
|||||||
await SendCommandAsync($"VOLT:DC:RANG {DefaultVoltageRange}");
|
await SendCommandAsync($"VOLT:DC:RANG {DefaultVoltageRange}");
|
||||||
|
|
||||||
// 3. 设置积分时间 0.02PLC(最快速度)
|
// 3. 设置积分时间 0.02PLC(最快速度)
|
||||||
await SendCommandAsync("VOLT:DC:NPLC 10");
|
await SendCommandAsync("VOLT:DC:NPLC 0.02");
|
||||||
|
|
||||||
// 4. 关闭自动归零(提高速度)
|
// 4. 关闭自动归零(提高速度)
|
||||||
await SendCommandAsync("VOLT:DC:ZERO:AUTO OFF");
|
await SendCommandAsync("VOLT:DC:ZERO:AUTO OFF");
|
||||||
|
|||||||
@@ -88,7 +88,7 @@ public partial class D7896ViewModel : ObservableObject
|
|||||||
|
|
||||||
|
|
||||||
[ObservableProperty] private double _sampleDensity = 1000.0; // 新增,密度默认值1000 kg/m³(水)
|
[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 heatingDuration = 0.8; // 加热时间 0.8 秒(需与您的加热脉冲宽度一致)
|
||||||
double totalDuration = 1.6; // 总采样时间(加热 + 冷却)
|
double totalDuration = 1.6; // 总采样时间(加热 + 冷却)
|
||||||
public D7896ViewModel()
|
public D7896ViewModel()
|
||||||
|
|||||||
Reference in New Issue
Block a user