| T O P I C R E V I E W |
| bigfootnj |
Posted - 06/22/2004 : 6:48:43 PM I have encountered a strange occurance in Origin 7.0. I can run my LabTalk programs successfully only once. On the second attempt of the exact same program, a command error occurs. I have to close Origin and then open it again. This has happened with several different programs, even when all the open windows were closed between runs. Is there some command needed to free up memory or global variable names? What might cause this? |
| 4 L A T E S T R E P L I E S (Newest First) |
| bigfootnj |
Posted - 06/23/2004 : 12:46:26 PM Thanks! That fixed it! |
| Mike Buess |
Posted - 06/23/2004 : 12:23:52 PM quote: Does the -c command hide and not delete a worksheet?
No, there's a separate command (win -ch) for that. Although you've closed the worksheet window with win -c Temp its datasets Temp_A, Temp_B, etc still remain. (You can confirm that by entering "list s" in the script window.) This will interfere with your next win -t command. To close a worksheet and its datasets used win -cd...
win -cd Temp;
Mike Buess Origin WebRing Member |
| bigfootnj |
Posted - 06/23/2004 : 11:45:05 AM I have found that some sections that fail to run access a specific worksheet name. For example, a program that contains:
window -t wks template Temp6; ... window -c Temp;
wil not run the second time, even though the window has been closed. Does the -c command hide and not delete a worksheet?
|
| easwar |
Posted - 06/22/2004 : 8:59:40 PM Hello,
When you say program, I presume you are refering to script (.OGS) files (or sections in OGS files)? Does this occur with any OGS file? Or does it occur only in certain type of files where you are doing the same type of computation?
Could you post more details, such as one typical code segment that fails?
Easwar OriginLab
|