Changed the column parameter from a null value to a 0 when trying to color a whole row.

This commit is contained in:
Infineon\Ouellette 2024-09-26 15:08:23 -07:00
parent bd0d378218
commit 9a161f02c8

View File

@ -374,6 +374,7 @@ Refresh:
* Line = MU Wafer *
*******************
IF (SlotList<Line, COL$MU_WAFER_ID> NE '') THEN
FormMUWaferThkResult = TRIM(SlotList<Line, COL$MU_WAFER_THK_RESULT>)
DatabaseMUWaferThkResult = WOMatRec<WO_MAT_MU_WAFER_THK_RESULT$, Line>
@ -403,8 +404,8 @@ Refresh:
IF NOT(Found) THEN
MUBoxResults<0, BoxIndex> = False$
stat = Send_Message(SlotCtrl, 'COLOR_BY_POS', '', Line, LTGREY$)
stat = Send_Message(SlotCtrl, 'COLOR_BY_POS', COL$MU_WAFER_THK_RESULT, Line, WHITE$)
stat = Send_Message(SlotCtrl, 'COLOR_BY_POS', 0, Line, LTGREY$)
stat = Send_Message(SlotCtrl, 'COLOR_BY_POS', COL$MU_WAFER_THK_RESULT, Line, WHITE$)
Set_Property(@WINDOW, '@MU_WAFER_THK_MISSING_REQ', 0)
END else
MUBoxResults<0, BoxIndex> = True$
@ -413,7 +414,7 @@ Refresh:
IF (FormMUWaferThkResult NE '') THEN
IF ((FormMUWaferThkResult < MetMin) OR (FormMUWaferThkResult > MetMax)) THEN
stat = Send_Message(SlotCtrl, 'COLOR_BY_POS', '', Line, RED$)
stat = Send_Message(SlotCtrl, 'COLOR_BY_POS', 0, Line, RED$)
Set_Property(@WINDOW, '@MU_WAFER_THK_RANGE_REQ', 0)
END
@ -424,7 +425,7 @@ Refresh:
IF (SlotList<LoopIndex,COL$MU_WAFER_ID> NE '') THEN
IF (BoxNumber = FIELD(SlotList<LoopIndex,COL$MU_WAFER_ID>,'.',1,2)) THEN
IF (LoopIndex = Line) OR (TRIM(SlotList<LoopIndex,COL$MU_WAFER_THK_RESULT>) = '') THEN
stat = Send_Message(SlotCtrl, 'COLOR_BY_POS', '', LoopIndex, MU_GREEN$)
stat = Send_Message(SlotCtrl, 'COLOR_BY_POS', 0, LoopIndex, MU_GREEN$)
stat = Send_Message(SlotCtrl, 'COLOR_BY_POS', COL$MU_WAFER_THK_RESULT, LoopIndex, WHITE$)
END
END
@ -439,15 +440,15 @@ Refresh:
* Line = Regular Wafer *
************************
IF (Line = TestSlot) THEN
stat = Send_Message(SlotCtrl, 'COLOR_BY_POS', '', Line, YELLOW$)
stat = Send_Message(SlotCtrl, 'COLOR_BY_POS', 0, Line, YELLOW$)
END ELSE
//JRO
FormMUWaferThkResult = TRIM(SlotList<Line, COL$MU_WAFER_THK_RESULT>)
IF FormMUWaferThkResult NE '' AND ((FormMUWaferThkResult < MetMin) OR (FormMUWaferThkResult > MetMax)) then
stat = Send_Message(SlotCtrl, 'COLOR_BY_POS', '', Line, RED$)
stat = Send_Message(SlotCtrl, 'COLOR_BY_POS', 0, Line, RED$)
Set_Property(@WINDOW, '@ADE_WAFER_THK_RANGE_REQ', 0)
end else
stat = Send_Message(SlotCtrl, 'COLOR_BY_POS', '', Line, WHITE$)
stat = Send_Message(SlotCtrl, 'COLOR_BY_POS', 0, Line, WHITE$)
end
END
END
@ -533,7 +534,7 @@ Refresh:
IF NOT(Found) THEN
MUBoxResults<0, BoxIndex> = False$
stat = Send_Message(SlotCtrl, 'COLOR_BY_POS', '', Line, LTGREY$)
stat = Send_Message(SlotCtrl, 'COLOR_BY_POS', 0, Line, LTGREY$)
stat = Send_Message(SlotCtrl, 'COLOR_BY_POS', COL$EPI_MU_WAFER_THK_RESULT, Line, WHITE$)
Set_Property(@WINDOW, '@MU_WAFER_THK_MISSING_REQ', 0)
END else
@ -543,7 +544,7 @@ Refresh:
IF (FormMUWaferThkResult NE '') THEN
IF ((FormMUWaferThkResult < MetMin) OR (FormMUWaferThkResult > MetMax)) THEN
stat = Send_Message(SlotCtrl, 'COLOR_BY_POS', '', Line, RED$)
stat = Send_Message(SlotCtrl, 'COLOR_BY_POS', 0, Line, RED$)
stat = Send_Message(SlotCtrl, 'COLOR_BY_POS', COL$EPI_MU_WAFER_THK_RESULT, Line, WHITE$)
Set_Property(@WINDOW, '@MU_WAFER_THK_RANGE_REQ', 0)
END
@ -555,7 +556,7 @@ Refresh:
IF (SlotList<LoopIndex,COL$EPI_MU_WFR_ID> NE '') THEN
IF (BoxNumber = FIELD(SlotList<LoopIndex,COL$EPI_MU_WFR_ID>,'.',1,2)) THEN
IF ((LoopIndex = Line) OR (TRIM(SlotList<LoopIndex,COL$EPI_MU_WAFER_THK_RESULT>) = '')) THEN
stat = Send_Message(SlotCtrl, 'COLOR_BY_POS', '', LoopIndex, MU_GREEN$)
stat = Send_Message(SlotCtrl, 'COLOR_BY_POS', 0, LoopIndex, MU_GREEN$)
stat = Send_Message(SlotCtrl, 'COLOR_BY_POS', COL$EPI_MU_WAFER_THK_RESULT, LoopIndex, WHITE$)
END
END
@ -570,15 +571,15 @@ Refresh:
* Line = Regular Wafer *
************************
IF (Line = TestSlot) THEN
stat = Send_Message(SlotCtrl, 'COLOR_BY_POS', '', Line, YELLOW$)
stat = Send_Message(SlotCtrl, 'COLOR_BY_POS', 0, Line, YELLOW$)
END ELSE
//JRO
FormMUWaferThkResult = TRIM(SlotList<Line, COL$MU_WAFER_THK_RESULT>)
IF FormMUWaferThkResult NE '' AND ((FormMUWaferThkResult < MetMin) OR (FormMUWaferThkResult > MetMax)) then
stat = Send_Message(SlotCtrl, 'COLOR_BY_POS', '', Line, RED$)
stat = Send_Message(SlotCtrl, 'COLOR_BY_POS', 0, Line, RED$)
Set_Property(@WINDOW, '@ADE_WAFER_THK_RANGE_REQ', 0)
end else
stat = Send_Message(SlotCtrl, 'COLOR_BY_POS', '', Line, WHITE$)
stat = Send_Message(SlotCtrl, 'COLOR_BY_POS', 0, Line, WHITE$)
end
END
END
@ -1131,3 +1132,4 @@ PubSaveClick:
RETURN