Fix a bug of wrong RLoad in Rint_FVMV_2mA_Post()

This commit is contained in:
testrong
2025-03-26 10:10:45 +08:00
parent c1e240aaaf
commit 9ddb8d4cc5
12 changed files with 61 additions and 7 deletions
+5 -4
View File
@@ -1681,11 +1681,12 @@ namespace Testrong.User.Program
extCaliHandle.SetPpmuExternalCalibration(extConnStr, extPort, 1, ExternalCalibrationMode.Channel, 1, ExtCaliVI.V, ExtCaliLoad.RC_RL7, 0);
extCaliHandle.SetPpmuExternalCalibration(extConnStr, extPort, 1, ExternalCalibrationMode.Channel, 1, ExtCaliVI.V, ExtCaliLoad.RC_RL7, 0); //1kΩ
double rload = GetRloadValue(dmm, 2000, 5);
string filetime = DateTime.Now.ToString("yyyy-MM-dd HH-mm-ss");
#region The Test
for (int loopk = 0; loopk < 256; loopk++)
{
#region Test Config
@@ -1744,7 +1745,7 @@ namespace Testrong.User.Program
type: "PMU",
channel: ch,
mode: "FVMV",
rload: "Hi-Z",
rload: rload.ToString(),
extR: ExtBoard_Res,
range: "2mA",
ForceValue: ForceValue,
@@ -1772,7 +1773,7 @@ namespace Testrong.User.Program
}
#endregion
swdata.Flush();
swdata.Close();
Thread.Sleep(1000);