fixed a bug preventing UNLOAD LW_RHO QA Met from being signed and dispositioned

This commit is contained in:
Infineon\StieberD
2025-01-30 15:20:34 -07:00
parent 0da14ae4ae
commit c36cf5fedc
3 changed files with 32 additions and 11 deletions

View File

@ -947,7 +947,7 @@ Sign:
If (MetTest _EQC 'CRES') AND (OrigMetResult NE MetResult) then If (MetTest _EQC 'CRES') AND (OrigMetResult NE MetResult) then
Post_Metrology_Manual_Data_Entry_Log(@USER4, 'HgCRes', RDSNo : ' / ' : WONo : '*' : CassNo) Post_Metrology_Manual_Data_Entry_Log(@USER4, 'HgCRes', RDSNo : ' / ' : WONo : '*' : CassNo)
end end
IF (SignatureReady = True$) THEN IF (SignatureReady = True$) THEN
Valid = Dialog_Box( 'QUOTE_SIG_PWD_ENTRY', @WINDOW, @USER4:@VM:XLATE( 'LSL_USERS', @USER4, LSL_USERS_PASSWORD$, 'X' ) ) 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> WOMatQAResult = WOMatQAResults<0, vPos>
If WOMatQAResult NE '' then If WOMatQAResult NE '' then
// Attempt to sign the metrology test // 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> WOMatQASlot = WOMatQASlots<0, vPos>
SigReady = Signature_Services('QAMetSigReady', RDSNo, WOMatQAStage, WOMatQASlot, WONo:'*':CassNo) SigReady = Signature_Services('QAMetSigReady', RDSNo, WOMatQAStage, WOMatQASlot, WONo:'*':CassNo)
If SigReady then If SigReady then
@ -1132,4 +1132,3 @@ PubSaveClick:
RETURN RETURN

View File

@ -647,7 +647,7 @@ Refresh:
SpecRecipe = PRSStageRec<PRS_STAGE_MET_RECIPE$, vPos> SpecRecipe = PRSStageRec<PRS_STAGE_MET_RECIPE$, vPos>
end end
NoError = True$ NoError = True$
If (MetList<Line,COL$UL_MET_RESULT> EQ '') then If (MetList<Line,COL$UL_MET_RESULT> EQ '') then
Color = YELLOW$ Color = YELLOW$
stat = Send_Message(CtrlName, 'COLOR_BY_POS', COL$UL_MET_RESULT, Line, Color) stat = Send_Message(CtrlName, 'COLOR_BY_POS', COL$UL_MET_RESULT, Line, Color)
@ -2918,7 +2918,3 @@ RefreshWaferCounterData:
return return

View File

@ -219,7 +219,7 @@ WRITE_RECORD_PRE:
Record = '' Record = ''
ActionFlow = ACTION_STOP$ 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. // 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!' 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) Post_Metrology_Manual_Data_Entry_Log(@USER4, 'HgCRes', RDSNo : ' / ' : WorkOrderNo : '*' : CassNo)
end 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$ 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. // Ensure 'out of spec' flag and 'fail reason' field for this profile are clear.
OutOfSpec<1, ProfileIndex> = False$ OutOfSpec<1, ProfileIndex> = False$
FailReasons<1, ProfileIndex> = '' FailReasons<1, ProfileIndex> = ''
@ -578,4 +605,3 @@ Restore_System_Variables:
@FILE.ERROR = OrigFileError @FILE.ERROR = OrigFileError
return return