Hi, I use Logic 2 to record data from long-term tests (using Python API) . For the tests I need to reconfigure the capture settings several times. In order to change the settings, I need to start and stop the capture. Since this must be in a loop, the Software opens a new session tab and stops recording at some point because too many sessions are open (similar to this problem: Reset of Session number (automation script)?).
Closing the session and restarting it for every new setting is not an option because setup time takes too long. Also python does not accept the syntax when using with automation.Manager.launch() as manager:
because it requires line indent which collides with the if/else indent. A solution would be disable new session tabs or close them or use another way to launch the software which does not require line indent. Is there any way to solve this issue? Any help is appreciated!