Hi, I have a problem with the size of the script. I've just created very big script in labtalk. It is work only in pieces. I didn't know that the script window was limited. The script stop working when it went to final line.I figured out that If I couldn't make it works as it should be I divided it for small parts and used something like that: run c:\folder\second part.ogs. I thought it would help to resolve my problem but unfortunately it didn't work. The problem isn't a path. I don't know what's going on. Script crashed anyway. The Script works only separately. How to make it work?
As your script gets large, you should move them to external OGS files saved in your User Files Folder. These are text files broken into sections with [SectionName] much like INI files. You can call a section of an OGS with run.section(FileName, SectionName); If the section exists in the same file, you can omit FileName: run.section(,SectionName); An external OGS has the added advantage of being loadable in Code Builder along with ability to add break points and debug.