From 18f17f1d77279650c12f039f843f7209ee2a9e1e Mon Sep 17 00:00:00 2001 From: Chase Tucker Date: Mon, 22 Sep 2025 09:06:42 -0700 Subject: [PATCH] Add surf scan recipes to PSN JSON --- LSL2/STPROC/PSN_SERVICES.txt | 8 ++++++++ LSL2/STPROC/TEST_PSN_SERVICES.txt | 6 +++--- 2 files changed, 11 insertions(+), 3 deletions(-) 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