From f143b3e60c98e1f2f6ddd25bcc0e0debc905036f Mon Sep 17 00:00:00 2001 From: "Infineon\\Ouellette" Date: Wed, 20 Nov 2024 07:36:05 -0700 Subject: [PATCH] Added switch to be able to turn on/off feature. --- LSL2/STPROC/RDS_EVENTS.txt | 29 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/LSL2/STPROC/RDS_EVENTS.txt b/LSL2/STPROC/RDS_EVENTS.txt index 14d5548..cfbd741 100644 --- a/LSL2/STPROC/RDS_EVENTS.txt +++ b/LSL2/STPROC/RDS_EVENTS.txt @@ -349,20 +349,25 @@ Event PUB_SIGN.CLICK() Response = Dialog_Box('NDW_VERIFY_USER', @WINDOW, initParams) Valid = Response<1> If (Valid EQ True$) then - UsingTestWafers = Msg(@Window, '', 'YESNO', '', 'Log Test Wafer Usage':@FM:'Are any test wafers loaded?') - If UsingTestWafers then - TWLogResult = Dialog_Box('NDW_LOG_TEST_WAFER_USAGE', @Window, RDSNo : @VM : 'STANDARD' : @VM : 'REACTOR' : @VM : Reactor) - If TWLogResult then - QA_Services('SignLoadStage', RDSNo, @USER4, WfrQty, LLSide) - end else - ContinueLoad = Msg(@Window, '', 'YESNO', '', 'Continue?':@FM:'Test wafer logging was cancelled. Do you wish to continue signing?') - If ContinueLoad then + if XLATE('APP_INFO', 'NEW_TW_SYSTEM_ACTIVE_SWITCH', 1, 'X') EQ True$ then + UsingTestWafers = Msg(@Window, '', 'YESNO', '', 'Log Test Wafer Usage':@FM:'Are any test wafers loaded?') + If UsingTestWafers then + TWLogResult = Dialog_Box('NDW_LOG_TEST_WAFER_USAGE', @Window, RDSNo : @VM : 'STANDARD' : @VM : 'REACTOR' : @VM : Reactor) + If TWLogResult then QA_Services('SignLoadStage', RDSNo, @USER4, WfrQty, LLSide) + end else + ContinueLoad = Msg(@Window, '', 'YESNO', '', 'Continue?':@FM:'Test wafer logging was cancelled. Do you wish to continue signing?') + If ContinueLoad then + QA_Services('SignLoadStage', RDSNo, @USER4, WfrQty, LLSide) + end end - end - end else - QA_Services('SignLoadStage', RDSNo, @USER4, WfrQty, LLSide) - end + end else + QA_Services('SignLoadStage', RDSNo, @USER4, WfrQty, LLSide) + end + end else + QA_Services('SignLoadStage', RDSNo, @USER4, WfrQty, LLSide) + end + end end else UsingTestWafers = Msg(@Window, '', 'YESNO', '', 'Log Test Wafer Usage':@FM:'Are any test wafers loaded?')