| Author |
Topic  |
|
|
lucio_marianna
Germany
Posts |
Posted - 01/26/2006 : 09:21:39 AM
|
Origin Version (Select Help-->About Origin): 7.5 Operating System: XP
Hi, something of strange appening...Now my program (*.OGS) write a wks with a column in which there are all stars (***). If I want to cancel it, origin decides to close itself .....I realize this after a compilation of a c program ....(no inerent with my procedure....). Perhaps now my program calls somethings of new.... or some impostation are changed? i dont know.... Ive also crated a new program (I restore the old version that i have saved and that worked...)...nothing. Are there enough elements to identify my problems?
mary |
|
|
lucio_marianna
Germany
Posts |
Posted - 01/26/2006 : 11:51:18 AM
|
I have seen that in my program after many operations (import ASCII plot interpolation estrpolation...) I create a worksheet, and the system gives automatically the number 32, how is it possible?? I see that if I create externally of my procedure a Worksheet the progressive number is 2.... Where does Origin keep the progressive number?
Marianna
|
 |
|
|
Mike Buess
USA
3037 Posts |
Posted - 01/26/2006 : 5:35:48 PM
|
Hi Marianna,quote: Now my program (*.OGS) write a wks with a column in which there are all stars.(***).
If you see ### rather than *** it just means the numbers are too long to fit in the cells. Select a cell to reveal the number. If that's not what you mean then it is impossible to know what is happening without seeing your scripts. Also need to see those scripts to explain your other problems.quote: I create a worksheet, and the system gives automatically the number 32
Where does the number 32 appear... script window, worksheet cell or someplace else? What do you mean by progressive number?
If your problems only occur after working in the same Origin project for a long time then it's possible that you are accumulating many temporary datasets that use up memory and resources. Open the script window and enter list -s to list all datasets in the project. Most datasets that are not attached to existing worksheets are junk that should be deleted with del datasetName. In fact, you should examine your scripts to determine where they are created and then delete them in the scripts when they are no longer required...
tmp = data(1,npt); // create temporary dataset named tmp // do something with it del tmp; // delete it when done
Mike Buess Origin WebRing Member |
 |
|
|
lucio_marianna
Germany
Posts |
Posted - 01/27/2006 : 03:53:23 AM
|
Thank you very much for your interest! 
Infact I've seen that all my problems are linked with the memory...I've accumulated many temporary datasets; also I see tha my procedure creates or recalls a file TEMP.OTP that store and presents again the old data (more or less....). I make now a "great opera of deleting"!
Marianna
|
 |
|
|
Mike Buess
USA
3037 Posts |
Posted - 01/27/2006 : 3:06:19 PM
|
Hi Marianna,
It might be too late to shorten this opera but del -as will delete all datasets that are not in a worksheet and not used in a graph. Sorry I didn't mention that earlier. 
Mike Buess Origin WebRing Member |
 |
|
| |
Topic  |
|