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

@ -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

View File

@ -2918,7 +2918,3 @@ RefreshWaferCounterData:
return

View File

@ -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