The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 LabTalk Forum
 Compile....
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

lucio_marianna

Germany
Posts

Posted - 01/26/2006 :  09:21:39 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

Mike Buess

USA
3037 Posts

Posted - 01/26/2006 :  5:35:48 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

lucio_marianna

Germany
Posts

Posted - 01/27/2006 :  03:53:23 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

Mike Buess

USA
3037 Posts

Posted - 01/27/2006 :  3:06:19 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000