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
Binary file not shown.
@@ -28,7 +28,7 @@
"RelativeDocumentMoniker": "Testrong.User.Program\\UserProgram.cs", "RelativeDocumentMoniker": "Testrong.User.Program\\UserProgram.cs",
"ToolTip": "D:\\WORK\\ManLin\\Verify\\UserProgram_time\\Testrong.User.Program\\UserProgram.cs", "ToolTip": "D:\\WORK\\ManLin\\Verify\\UserProgram_time\\Testrong.User.Program\\UserProgram.cs",
"RelativeToolTip": "Testrong.User.Program\\UserProgram.cs", "RelativeToolTip": "Testrong.User.Program\\UserProgram.cs",
"ViewState": "AgIAAG8KAAAAAAAAAAAUwHQKAABBAAAAAAAAAA==", "ViewState": "AgIAAJUDAAAAAAAAAAAiwLEDAAANAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-06-18T12:27:43.78Z", "WhenOpened": "2024-06-18T12:27:43.78Z",
"EditorCaption": "" "EditorCaption": ""
@@ -28,7 +28,7 @@
"RelativeDocumentMoniker": "Testrong.User.Program\\UserProgram.cs", "RelativeDocumentMoniker": "Testrong.User.Program\\UserProgram.cs",
"ToolTip": "D:\\WORK\\ManLin\\Verify\\UserProgram_time\\Testrong.User.Program\\UserProgram.cs", "ToolTip": "D:\\WORK\\ManLin\\Verify\\UserProgram_time\\Testrong.User.Program\\UserProgram.cs",
"RelativeToolTip": "Testrong.User.Program\\UserProgram.cs", "RelativeToolTip": "Testrong.User.Program\\UserProgram.cs",
"ViewState": "AgIAAJUDAAAAAAAAAAAiwLEDAAANAAAAAAAAAA==", "ViewState": "AgIAAK8DAAAAAAAAAAAkwLEDAAANAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-06-18T12:27:43.78Z", "WhenOpened": "2024-06-18T12:27:43.78Z",
"EditorCaption": "" "EditorCaption": ""
+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); double rload = GetRloadValue(dmm, 2000, 5);
string filetime = DateTime.Now.ToString("yyyy-MM-dd HH-mm-ss"); string filetime = DateTime.Now.ToString("yyyy-MM-dd HH-mm-ss");
#region The Test #region The Test
for (int loopk = 0; loopk < 256; loopk++) for (int loopk = 0; loopk < 256; loopk++)
{ {
#region Test Config #region Test Config
@@ -1744,7 +1745,7 @@ namespace Testrong.User.Program
type: "PMU", type: "PMU",
channel: ch, channel: ch,
mode: "FVMV", mode: "FVMV",
rload: "Hi-Z", rload: rload.ToString(),
extR: ExtBoard_Res, extR: ExtBoard_Res,
range: "2mA", range: "2mA",
ForceValue: ForceValue, ForceValue: ForceValue,
@@ -1772,7 +1773,7 @@ namespace Testrong.User.Program
} }
#endregion #endregion
swdata.Flush(); swdata.Flush();
swdata.Close(); swdata.Close();
Thread.Sleep(1000); Thread.Sleep(1000);
Binary file not shown.
Binary file not shown.
@@ -1 +1 @@
1c5e67c428e7ea9ad83db74e3225f3a6ee4bdaaf429227caea859a4df23e5fee d21702e1f0131c64a3bf3ae1e7990262e428a3f3
@@ -2475,3 +2475,56 @@ D:\LZ\00000zd\UserProgram_ReWorked\UserProgram_time\Testrong.User.Program\obj\x6
D:\LZ\00000zd\UserProgram_ReWorked\UserProgram_time\Testrong.User.Program\obj\x64\Debug\Testrong.User.Program.csproj.CopyComplete D:\LZ\00000zd\UserProgram_ReWorked\UserProgram_time\Testrong.User.Program\obj\x64\Debug\Testrong.User.Program.csproj.CopyComplete
D:\LZ\00000zd\UserProgram_ReWorked\UserProgram_time\Testrong.User.Program\obj\x64\Debug\UserProgram.dll D:\LZ\00000zd\UserProgram_ReWorked\UserProgram_time\Testrong.User.Program\obj\x64\Debug\UserProgram.dll
D:\LZ\00000zd\UserProgram_ReWorked\UserProgram_time\Testrong.User.Program\obj\x64\Debug\UserProgram.pdb D:\LZ\00000zd\UserProgram_ReWorked\UserProgram_time\Testrong.User.Program\obj\x64\Debug\UserProgram.pdb
F:\syy\UserProgram_time\Testrong.User.Program\bin\x64\Debug\UserProgram.xml
F:\syy\UserProgram_time\Testrong.User.Program\bin\x64\Debug\UserProgram.dll
F:\syy\UserProgram_time\Testrong.User.Program\bin\x64\Debug\UserProgram.pdb
F:\syy\UserProgram_time\Testrong.User.Program\bin\x64\Debug\Ivi.Visa.dll
F:\syy\UserProgram_time\Testrong.User.Program\bin\x64\Debug\NationalInstruments.Visa.dll
F:\syy\UserProgram_time\Testrong.User.Program\bin\x64\Debug\Testrong.Core.Common.dll
F:\syy\UserProgram_time\Testrong.User.Program\bin\x64\Debug\Testrong.Core.Communicate.dll
F:\syy\UserProgram_time\Testrong.User.Program\bin\x64\Debug\Testrong.Core.Model.dll
F:\syy\UserProgram_time\Testrong.User.Program\bin\x64\Debug\Testrong.Core.Primitives.dll
F:\syy\UserProgram_time\Testrong.User.Program\bin\x64\Debug\NLog.dll
F:\syy\UserProgram_time\Testrong.User.Program\bin\x64\Debug\DotNetty.Transport.dll
F:\syy\UserProgram_time\Testrong.User.Program\bin\x64\Debug\DotNetty.Buffers.dll
F:\syy\UserProgram_time\Testrong.User.Program\bin\x64\Debug\DotNetty.Codecs.dll
F:\syy\UserProgram_time\Testrong.User.Program\bin\x64\Debug\System.Threading.Tasks.Dataflow.dll
F:\syy\UserProgram_time\Testrong.User.Program\bin\x64\Debug\DotNetty.Common.dll
F:\syy\UserProgram_time\Testrong.User.Program\bin\x64\Debug\System.Buffers.dll
F:\syy\UserProgram_time\Testrong.User.Program\bin\x64\Debug\Testrong.Core.Globalization.dll
F:\syy\UserProgram_time\Testrong.User.Program\bin\x64\Debug\AutoMapper.dll
F:\syy\UserProgram_time\Testrong.User.Program\bin\x64\Debug\Microsoft.Bcl.HashCode.dll
F:\syy\UserProgram_time\Testrong.User.Program\bin\x64\Debug\Testrong.Core.Datalog.Interfaces.dll
F:\syy\UserProgram_time\Testrong.User.Program\bin\x64\Debug\Testrong.Core.Hardware.dll
F:\syy\UserProgram_time\Testrong.User.Program\bin\x64\Debug\MxFFTCalc.dll
F:\syy\UserProgram_time\Testrong.User.Program\bin\x64\Debug\MWArray.dll
F:\syy\UserProgram_time\Testrong.User.Program\bin\x64\Debug\MathNet.Numerics.dll
F:\syy\UserProgram_time\Testrong.User.Program\bin\x64\Debug\Testrong.Core.Gramar.dll
F:\syy\UserProgram_time\Testrong.User.Program\bin\x64\Debug\System.Threading.Tasks.Extensions.dll
F:\syy\UserProgram_time\Testrong.User.Program\bin\x64\Debug\System.Runtime.CompilerServices.Unsafe.dll
F:\syy\UserProgram_time\Testrong.User.Program\bin\x64\Debug\Microsoft.Extensions.Logging.Abstractions.dll
F:\syy\UserProgram_time\Testrong.User.Program\bin\x64\Debug\Microsoft.Extensions.Logging.dll
F:\syy\UserProgram_time\Testrong.User.Program\bin\x64\Debug\STDF.Library.dll
F:\syy\UserProgram_time\Testrong.User.Program\bin\x64\Debug\System.ValueTuple.dll
F:\syy\UserProgram_time\Testrong.User.Program\bin\x64\Debug\Antlr4.Runtime.Standard.dll
F:\syy\UserProgram_time\Testrong.User.Program\bin\x64\Debug\Microsoft.Extensions.DependencyInjection.Abstractions.dll
F:\syy\UserProgram_time\Testrong.User.Program\bin\x64\Debug\Microsoft.Extensions.Options.dll
F:\syy\UserProgram_time\Testrong.User.Program\bin\x64\Debug\Microsoft.Extensions.DependencyInjection.dll
F:\syy\UserProgram_time\Testrong.User.Program\bin\x64\Debug\Microsoft.Extensions.Primitives.dll
F:\syy\UserProgram_time\Testrong.User.Program\bin\x64\Debug\Microsoft.Bcl.AsyncInterfaces.dll
F:\syy\UserProgram_time\Testrong.User.Program\bin\x64\Debug\System.Memory.dll
F:\syy\UserProgram_time\Testrong.User.Program\bin\x64\Debug\System.Numerics.Vectors.dll
F:\syy\UserProgram_time\Testrong.User.Program\bin\x64\Debug\Testrong.Core.Model.xml
F:\syy\UserProgram_time\Testrong.User.Program\bin\x64\Debug\Testrong.Core.Primitives.xml
F:\syy\UserProgram_time\Testrong.User.Program\bin\x64\Debug\DotNetty.Transport.xml
F:\syy\UserProgram_time\Testrong.User.Program\bin\x64\Debug\DotNetty.Buffers.xml
F:\syy\UserProgram_time\Testrong.User.Program\bin\x64\Debug\DotNetty.Codecs.xml
F:\syy\UserProgram_time\Testrong.User.Program\bin\x64\Debug\System.Threading.Tasks.Dataflow.xml
F:\syy\UserProgram_time\Testrong.User.Program\bin\x64\Debug\DotNetty.Common.xml
F:\syy\UserProgram_time\Testrong.User.Program\bin\x64\Debug\AutoMapper.xml
F:\syy\UserProgram_time\Testrong.User.Program\bin\x64\Debug\STDF.Library.xml
F:\syy\UserProgram_time\Testrong.User.Program\obj\x64\Debug\Testrong.User.Program.csproj.AssemblyReference.cache
F:\syy\UserProgram_time\Testrong.User.Program\obj\x64\Debug\Testrong.User.Program.csproj.CoreCompileInputs.cache
F:\syy\UserProgram_time\Testrong.User.Program\obj\x64\Debug\Testrong.User.Program.csproj.CopyComplete
F:\syy\UserProgram_time\Testrong.User.Program\obj\x64\Debug\UserProgram.dll
F:\syy\UserProgram_time\Testrong.User.Program\obj\x64\Debug\UserProgram.pdb
Binary file not shown.
Binary file not shown.