Support Board
Date/Time: Wed, 30 Apr 2025 11:00:16 +0000
Post From: Study won't exit?
[2025-04-20 18:15:52] |
LTSys2 - Posts: 25 |
For some reason my study won't exit when it hits the section of code with the disconnected message. It just keeps printing that message on a loop. Any ideas? TIA SCSFExport scsf_MainFunction(SCStudyInterfaceRef sc) { if(sc.SetDefaults) { // default settings return; } if(sc.IsFullRecalculation) return; if(sc.Input[0].GetYesNo() == false || sc.LastCallToFunction) { sc.AddMessageToLog("INFO disconnected", 0); return; } } |