Support Board
Date/Time: Tue, 16 Dec 2025 04:41:26 +0000
Post From: Study won't exit?
| [2025-04-20 18:15:52] |
| LTSys2 - Posts: 29 |
|
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; } } |
