From c36cf5fedcf2cfbf13424d55b6371c3df7444251 Mon Sep 17 00:00:00 2001 From: "Infineon\\StieberD" Date: Thu, 30 Jan 2025 15:20:34 -0700 Subject: [PATCH] fixed a bug preventing UNLOAD LW_RHO QA Met from being signed and dispositioned --- LSL2/STPROC/COMM_QA_MET_RESULT.txt | 5 ++--- LSL2/STPROC/COMM_RDS.txt | 6 +----- LSL2/STPROC/WO_MAT_QA_ACTIONS.txt | 32 +++++++++++++++++++++++++++--- 3 files changed, 32 insertions(+), 11 deletions(-) diff --git a/LSL2/STPROC/COMM_QA_MET_RESULT.txt b/LSL2/STPROC/COMM_QA_MET_RESULT.txt index 09728aa..5f5e9a3 100644 --- a/LSL2/STPROC/COMM_QA_MET_RESULT.txt +++ b/LSL2/STPROC/COMM_QA_MET_RESULT.txt @@ -947,7 +947,7 @@ Sign: If (MetTest _EQC 'CRES') AND (OrigMetResult NE MetResult) then Post_Metrology_Manual_Data_Entry_Log(@USER4, 'HgCRes', RDSNo : ' / ' : WONo : '*' : CassNo) end - + IF (SignatureReady = True$) THEN Valid = Dialog_Box( 'QUOTE_SIG_PWD_ENTRY', @WINDOW, @USER4:@VM:XLATE( 'LSL_USERS', @USER4, LSL_USERS_PASSWORD$, 'X' ) ) @@ -967,7 +967,7 @@ Sign: WOMatQAResult = WOMatQAResults<0, vPos> If WOMatQAResult NE '' then // Attempt to sign the metrology test - If WOMatQAStage EQ 'QA' or WOMatQAStage EQ 'MO_QA' then + If ( (WOMatQAStage EQ 'QA') or (WOMatQAStage EQ 'MO_QA') or (WOMatQAStage EQ 'UNLOAD' and MetTest EQ 'LW_RHO') ) then WOMatQASlot = WOMatQASlots<0, vPos> SigReady = Signature_Services('QAMetSigReady', RDSNo, WOMatQAStage, WOMatQASlot, WONo:'*':CassNo) If SigReady then @@ -1132,4 +1132,3 @@ PubSaveClick: RETURN - diff --git a/LSL2/STPROC/COMM_RDS.txt b/LSL2/STPROC/COMM_RDS.txt index 305d157..b8f3cc4 100644 --- a/LSL2/STPROC/COMM_RDS.txt +++ b/LSL2/STPROC/COMM_RDS.txt @@ -647,7 +647,7 @@ Refresh: SpecRecipe = PRSStageRec end NoError = True$ - + If (MetList EQ '') then Color = YELLOW$ stat = Send_Message(CtrlName, 'COLOR_BY_POS', COL$UL_MET_RESULT, Line, Color) @@ -2918,7 +2918,3 @@ RefreshWaferCounterData: return - - - - diff --git a/LSL2/STPROC/WO_MAT_QA_ACTIONS.txt b/LSL2/STPROC/WO_MAT_QA_ACTIONS.txt index 8217203..d844620 100644 --- a/LSL2/STPROC/WO_MAT_QA_ACTIONS.txt +++ b/LSL2/STPROC/WO_MAT_QA_ACTIONS.txt @@ -219,7 +219,7 @@ WRITE_RECORD_PRE: Record = '' ActionFlow = ACTION_STOP$ - Case FinalQA EQ True$ + Case FinalQA EQ True$ // User is attempting to modify this row. Set the FS104 error and log the event. OrigFileError = 104 : @FM : 'FQA has already been signed. WO_MAT_QA record cannot be updated!' @@ -500,8 +500,35 @@ WRITE_RECORD_PRE: Post_Metrology_Manual_Data_Entry_Log(@USER4, 'HgCRes', RDSNo : ' / ' : WorkOrderNo : '*' : CassNo) end + Case ( (Profile EQ '1LW_RHO') and (Stage EQ 'UNLOAD') ) + + ThisOutOfSpec = False$ + FailReason = '' + + ThisSig = Sigs<1, ProfileIndex> + ThisSigDTM = SigDTMS<1, ProfileIndex> + ThisSpecMin = SpecMin<1, ProfileIndex> + ThisSpecMax = SpecMax<1, ProfileIndex> + ThisResult = Result<1, ProfileIndex> + ThisSpecTest = SpecProfiles<1, ProfileIndex> + + If ( (ThisResult LT ThisSpecMin) or (ThisResult GT ThisSpecMax) ) then + ThisOutOfSpec = True$ + FailReason = 'RHO is out of bounds.' + end + + If ThisOutOfSpec EQ False$ then + If (ThisSig EQ '') or (ThisSigDTM EQ '') then + ThisOutOfSpec = True$ + FailReason = Stage:' ':ThisSpecTest:' product measurement test has not been signed.' + end + end + + OutOfSpec<1, ProfileIndex> = ThisOutOfSpec + FailReasons<1, ProfileIndex> = FailReason + Case Otherwise$ - // This profile & stage do not currently have any validation code associated with them. + // This profile & stage do not currently have any specific validation code associated with them. // Ensure 'out of spec' flag and 'fail reason' field for this profile are clear. OutOfSpec<1, ProfileIndex> = False$ FailReasons<1, ProfileIndex> = '' @@ -578,4 +605,3 @@ Restore_System_Variables: @FILE.ERROR = OrigFileError return -