diff --git a/LSL2/STPROC/PSN_SERVICES.txt b/LSL2/STPROC/PSN_SERVICES.txt index ce5aac5..03846c5 100644 --- a/LSL2/STPROC/PSN_SERVICES.txt +++ b/LSL2/STPROC/PSN_SERVICES.txt @@ -150,6 +150,14 @@ Service GetMetrologyRecipesAndPatterns(PSNo) end end Next Recipe + SurfScanRecipes = Xlate('PRS_STAGE', PRSStageKey, PRS_STAGE_SURFSCAN_RECIPE$, 'X') + If SurfScanRecipes NE '' then + for each SurfScanRecipe in SurfScanRecipes using @VM setting ssPos + Entry = SurfScanRecipe:@VM:'':@VM:'':@VM:'TENCOR' + RecipesAndPatterns = Entry + CurrIdx = CurrIdx + 1 + Next SurfScanRecipe + end Next PRSStageKey RecipesAndPatterns = SRP_Array('Clean', RecipesAndPatterns, 'TrimAndMakeUnique') diff --git a/LSL2/STPROC/TEST_PSN_SERVICES.txt b/LSL2/STPROC/TEST_PSN_SERVICES.txt index e884093..54c45e4 100644 --- a/LSL2/STPROC/TEST_PSN_SERVICES.txt +++ b/LSL2/STPROC/TEST_PSN_SERVICES.txt @@ -30,11 +30,11 @@ end test Test GetMetrologyRecipesAndPatternsWithValidPsnNoShouldReturnPrescribedValues Values = PSN_Services('GetMetrologyRecipesAndPatterns', 4609) - Assert DCount(Values, @FM) equals 5 + Assert DCount(Values, @FM) equals 9 Values = PSN_Services('GetMetrologyRecipesAndPatterns', 5159) - Assert DCount(Values, @FM) equals 4 + Assert DCount(Values, @FM) equals 7 Values = PSN_Services('GetMetrologyRecipesAndPatterns', 4830) - Assert DCount(Values, @FM) equals 5 + Assert DCount(Values, @FM) equals 9 end test