diff --git a/.vs/Testrong.User.Program/v17/.suo b/.vs/Testrong.User.Program/v17/.suo index 9038db4..6b6bfcf 100644 Binary files a/.vs/Testrong.User.Program/v17/.suo and b/.vs/Testrong.User.Program/v17/.suo differ diff --git a/Testrong.User.Program/UserProgram.cs b/Testrong.User.Program/UserProgram.cs index cc4dee4..14c41e8 100644 --- a/Testrong.User.Program/UserProgram.cs +++ b/Testrong.User.Program/UserProgram.cs @@ -1685,6 +1685,7 @@ namespace Testrong.User.Program 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++) @@ -1710,6 +1711,7 @@ namespace Testrong.User.Program { DelayHelper.Sleep(20); } + #region Actual Test for (int p = 0; p < SampliCount; p++) { @@ -1731,7 +1733,7 @@ namespace Testrong.User.Program ForceVoltage += VoltageStep; } #endregion - + PPMU.Force(PmuPinName, 0, PpmuMode.FVMV, PpmuIRange._2mA, VRange.Normal); #region File Writing @@ -1774,6 +1776,7 @@ namespace Testrong.User.Program #endregion + swdata.Flush(); swdata.Close(); Thread.Sleep(1000); @@ -1845,7 +1848,7 @@ namespace Testrong.User.Program ChannelFormat = Convert.ToString(ChannelNum); } Pmur.WriteLine($"ch {ChannelFormat} : {res:F3}"); - rInt[ChannelNum] = res; //Put R_Int into array + rInt[ChannelNum - 1] = res; //Put R_Int into array datassingle.Clear(); singlefile.Close(); } diff --git a/Testrong.User.Program/bin/x64/Debug/UserProgram.dll b/Testrong.User.Program/bin/x64/Debug/UserProgram.dll index aa5ad60..0e61058 100644 Binary files a/Testrong.User.Program/bin/x64/Debug/UserProgram.dll and b/Testrong.User.Program/bin/x64/Debug/UserProgram.dll differ diff --git a/Testrong.User.Program/bin/x64/Debug/UserProgram.pdb b/Testrong.User.Program/bin/x64/Debug/UserProgram.pdb index f2745ce..d4fd939 100644 Binary files a/Testrong.User.Program/bin/x64/Debug/UserProgram.pdb and b/Testrong.User.Program/bin/x64/Debug/UserProgram.pdb differ diff --git a/Testrong.User.Program/obj/x64/Debug/UserProgram.dll b/Testrong.User.Program/obj/x64/Debug/UserProgram.dll index aa5ad60..0e61058 100644 Binary files a/Testrong.User.Program/obj/x64/Debug/UserProgram.dll and b/Testrong.User.Program/obj/x64/Debug/UserProgram.dll differ diff --git a/Testrong.User.Program/obj/x64/Debug/UserProgram.pdb b/Testrong.User.Program/obj/x64/Debug/UserProgram.pdb index f2745ce..d4fd939 100644 Binary files a/Testrong.User.Program/obj/x64/Debug/UserProgram.pdb and b/Testrong.User.Program/obj/x64/Debug/UserProgram.pdb differ