IperlHead : Opto data correctly saved in case of test repetitions (iPerlSpecial), ver. 2.18.1208

This commit is contained in:
Milan Hanajik
2019-05-03 12:14:52 +02:00
parent 04547306d0
commit 5936efcad2
6 changed files with 18 additions and 16 deletions
@@ -560,9 +560,10 @@ namespace TBF.BenchControl.TestMethods.iPerlCommunication.iPerlHead
///
if (testInfos != null)
{
string fullTestName = Results.Utils.GetTestName(testName, testRepeats, repetitionNr);
foreach (var ti in testInfos)
{
if ((ti.PruefungsNrOpto != 0) && (ti.TestName == testName))
if ((ti.PruefungsNrOpto != 0) && (ti.TestName == fullTestName))
{
optoDataLogFileName = string.Format("{0}_{1}_{2}_{3}.txt",
(ConfigStruct != null) ? ConfigStruct.GetPcbNrString() : "UnknownPcbNr",